00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_COLLECTIONCREATEJOB_H
00021 #define AKONADI_COLLECTIONCREATEJOB_H
00022
00023 #include <akonadi/job.h>
00024
00025 namespace Akonadi {
00026
00027 class Collection;
00028 class CollectionCreateJobPrivate;
00029
00052 class AKONADI_EXPORT CollectionCreateJob : public Job
00053 {
00054 Q_OBJECT
00055 public:
00065 explicit CollectionCreateJob( const Collection &collection, QObject *parent = 0 );
00066
00070 virtual ~CollectionCreateJob();
00071
00075 Collection collection() const;
00076
00077 protected:
00078 virtual void doStart();
00079 virtual void doHandleResponse( const QByteArray &tag, const QByteArray &data );
00080
00081 private:
00082 Q_DECLARE_PRIVATE( CollectionCreateJob )
00083 };
00084
00085 }
00086
00087 #endif