akonadi
itemmovejob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_ITEMMOVEJOB_H
00021 #define AKONADI_ITEMMOVEJOB_H
00022
00023 #include <akonadi/job.h>
00024
00025
00026 namespace Akonadi {
00027
00028 class Collection;
00029 class Item;
00030 class ItemMoveJobPrivate;
00031
00049 class AKONADI_EXPORT ItemMoveJob : public Job
00050 {
00051 Q_OBJECT
00052
00053 public:
00061 ItemMoveJob( const Item &item, const Collection &target, QObject *parent = 0 );
00062
00070 ItemMoveJob( const QList<Item> &items, const Collection &target, QObject *parent = 0 );
00071
00075 ~ItemMoveJob();
00076
00077 protected:
00078 void doStart();
00079
00080 private:
00081 Q_DECLARE_PRIVATE( ItemMoveJob )
00082 template <typename T, typename MoveJob> friend class MoveJobImpl;
00083 };
00084
00085 }
00086
00087 #endif