akonadi
itemdeletejob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_ITEMDELETEJOB_H
00021 #define AKONADI_ITEMDELETEJOB_H
00022
00023 #include "akonadi_export.h"
00024
00025 #include <akonadi/item.h>
00026 #include <akonadi/job.h>
00027
00028 namespace Akonadi {
00029
00030 class Collection;
00031 class ItemDeleteJobPrivate;
00032
00062 class AKONADI_EXPORT ItemDeleteJob : public Job
00063 {
00064 Q_OBJECT
00065
00066 public:
00076 explicit ItemDeleteJob( const Item &item, QObject *parent = 0 );
00077
00088 explicit ItemDeleteJob( const Item::List &items, QObject *parent = 0 );
00089
00101 explicit ItemDeleteJob( const Collection &collection, QObject *parent = 0 );
00102
00106 ~ItemDeleteJob();
00107
00108 protected:
00109 virtual void doStart();
00110
00111 private:
00112
00113 Q_DECLARE_PRIVATE( ItemDeleteJob )
00114 Q_PRIVATE_SLOT( d_func(), void selectResult( KJob* ) )
00115
00116 };
00117
00118 }
00119
00120 #endif