equal
deleted
inserted
replaced
19 #define AGENDAUTIL_H |
19 #define AGENDAUTIL_H |
20 |
20 |
21 // System includes |
21 // System includes |
22 #include <QObject> |
22 #include <QObject> |
23 #include <QList> |
23 #include <QList> |
|
24 #include <QDateTime> |
24 |
25 |
25 // User includes |
26 // User includes |
26 #include "agendaentry.h" |
27 #include "agendaentry.h" |
27 #include "agendainterfacedefines.h" |
28 #include "agendainterfacedefines.h" |
28 |
29 |
29 // Forward declarations |
30 // Forward declarations |
30 class QDateTime; |
|
31 class AgendaUtilPrivate; |
31 class AgendaUtilPrivate; |
32 |
32 |
33 class XQCALENDAR_EXPORT AgendaUtil : public QObject |
33 class XQCALENDAR_EXPORT AgendaUtil : public QObject |
34 { |
34 { |
35 Q_OBJECT |
35 Q_OBJECT |
70 }; |
70 }; |
71 |
71 |
72 AgendaUtil(QObject* parent = 0); |
72 AgendaUtil(QObject* parent = 0); |
73 ~AgendaUtil(); |
73 ~AgendaUtil(); |
74 |
74 |
75 ulong store(AgendaEntry &entry, AgendaUtil::RecurrenceRange range = ThisAndAll); |
75 ulong store(AgendaEntry &entry, AgendaUtil::RecurrenceRange range = ThisAndAll, |
|
76 QDateTime instanceOriginalDateTime = QDateTime()); |
76 ulong cloneEntry(const AgendaEntry& entry, AgendaEntry::Type type); |
77 ulong cloneEntry(const AgendaEntry& entry, AgendaEntry::Type type); |
77 bool deleteEntry(ulong id); |
78 bool deleteEntry(ulong id); |
78 void deleteRepeatedEntry( |
79 void deleteRepeatedEntry( |
79 AgendaEntry& entry, AgendaUtil::RecurrenceRange range); |
80 AgendaEntry& entry, AgendaUtil::RecurrenceRange range); |
80 QList<ulong> entryIds( |
81 QList<ulong> entryIds( |