Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifdef MKCAL_TRACKER_SUPPORT
00024
00035 #ifndef MKCAL_TRACKERFORMAT_H
00036 #define MKCAL_TRACKERFORMAT_H
00037
00038 #include "mkcal_export.h"
00039 #include "extendedstorage.h"
00040
00041 #include <incidence.h>
00042
00043 #include <QtCore/QHash>
00044
00045 class QDBusInterface;
00046
00047 namespace mKCal {
00048
00049 class TrackerStorage;
00050
00059 class MKCAL_EXPORT TrackerFormat : public QObject
00060 {
00061 Q_OBJECT
00062
00063 public:
00071 TrackerFormat( TrackerStorage *storage, QDBusInterface *tracker,
00072 bool synchronuousMode = false );
00073
00077 virtual ~TrackerFormat();
00078
00082 void cancel();
00083
00091 bool modifyComponents( QHash<KCalCore::Incidence::Ptr,QString> *list, DBOperation dbop );
00092
00100 bool modifyComponent( const KCalCore::Incidence::Ptr &incidence,
00101 const QString ¬ebook, DBOperation dbop );
00102
00116 bool selectComponents( QHash<KCalCore::Incidence::Ptr,QString> *list,
00117 const QDate &start, const QDate &end,
00118 DBOperation dbop, const KDateTime &after,
00119 const QString ¬ebook, const QString &uid,
00120 const KCalCore::Incidence::Ptr &incidence );
00121
00122 private:
00123
00124 Q_DISABLE_COPY( TrackerFormat )
00125 class Private;
00126 Private *const d;
00127
00128 };
00129
00130 }
00131
00132 #endif
00133
00134 #endif