akonadi
itemcopyjob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_ITEMCOPYJOB_H
00021 #define AKONADI_ITEMCOPYJOB_H
00022
00023 #include <akonadi/item.h>
00024 #include <akonadi/job.h>
00025
00026 namespace Akonadi {
00027
00028 class Collection;
00029 class ItemCopyJobPrivate;
00030
00054 class AKONADI_EXPORT ItemCopyJob : public Job
00055 {
00056 Q_OBJECT
00057
00058 public:
00066 ItemCopyJob( const Item &item, const Collection &target, QObject *parent = 0 );
00067
00075 ItemCopyJob( const Item::List &items, const Collection &target, QObject *parent = 0 );
00076
00080 ~ItemCopyJob();
00081
00082 protected:
00083 void doStart();
00084
00085 private:
00086 Q_DECLARE_PRIVATE( ItemCopyJob )
00087 };
00088
00089 }
00090
00091 #endif