akonadi
collectionstatisticsjob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_COLLECTIONSTATISTICSJOB_H
00021 #define AKONADI_COLLECTIONSTATISTICSJOB_H
00022
00023 #include "akonadi_export.h"
00024
00025 #include <akonadi/job.h>
00026
00027 namespace Akonadi {
00028
00029 class Collection;
00030 class CollectionStatistics;
00031 class CollectionStatisticsJobPrivate;
00032
00054 class AKONADI_EXPORT CollectionStatisticsJob : public Job
00055 {
00056 Q_OBJECT
00057
00058 public:
00065 explicit CollectionStatisticsJob( const Collection &collection, QObject *parent = 0 );
00066
00070 virtual ~CollectionStatisticsJob();
00071
00075 CollectionStatistics statistics() const;
00076
00081 Collection collection() const;
00082
00083 protected:
00084 virtual void doStart();
00085 virtual void doHandleResponse( const QByteArray &tag, const QByteArray &data );
00086
00087 private:
00088 Q_DECLARE_PRIVATE( CollectionStatisticsJob )
00089 };
00090
00091 }
00092
00093 #endif