00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_ITEMCREATEJOB_H
00021 #define AKONADI_ITEMCREATEJOB_H
00022
00023 #include <akonadi/job.h>
00024
00025 namespace Akonadi {
00026
00027 class Collection;
00028 class Item;
00029 class ItemCreateJobPrivate;
00030
00073 class AKONADI_EXPORT ItemCreateJob : public Job
00074 {
00075 Q_OBJECT
00076
00077 public:
00086 ItemCreateJob( const Item &item, const Collection &collection, QObject *parent = 0 );
00087
00091 ~ItemCreateJob();
00092
00096 Item item() const;
00097
00098 protected:
00099 virtual void doStart();
00100 virtual void doHandleResponse( const QByteArray &tag, const QByteArray &data );
00101
00102 private:
00103 Q_DECLARE_PRIVATE( ItemCreateJob )
00104 };
00105
00106 }
00107
00108 #endif