akonadi
collectionselectjob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_COLLECTIONSELECTJOB_H
00021 #define AKONADI_COLLECTIONSELECTJOB_H
00022
00023 #include <akonadi/collection.h>
00024 #include <akonadi/job.h>
00025
00026 namespace Akonadi {
00027
00028 class CollectionSelectJobPrivate;
00029
00034 class AKONADI_EXPORT CollectionSelectJob : public Job
00035 {
00036 Q_OBJECT
00037 public:
00043 explicit CollectionSelectJob( const Collection &collection, QObject *parent = 0 );
00044
00048 virtual ~CollectionSelectJob();
00049
00053 void setRetrieveStatus( bool status );
00054
00058 int unseen() const;
00059
00060 protected:
00061 void doStart();
00062 void doHandleResponse( const QByteArray &tag, const QByteArray &data );
00063
00064 private:
00065 Q_DECLARE_PRIVATE( CollectionSelectJob )
00066 };
00067
00068 }
00069
00070 #endif