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
00060 class AKONADI_EXPORT ItemCopyJob : public Job
00061 {
00062 Q_OBJECT
00063
00064 public:
00072 ItemCopyJob( const Item &item, const Collection &target, QObject *parent = 0 );
00073
00081 ItemCopyJob( const Item::List &items, const Collection &target, QObject *parent = 0 );
00082
00086 ~ItemCopyJob();
00087
00088 protected:
00089 void doStart();
00090
00091 private:
00092 Q_DECLARE_PRIVATE( ItemCopyJob )
00093 };
00094
00095 }
00096
00097 #endif