104 void clearRepeatingProperties(AgendaEntry& entry); |
104 void clearRepeatingProperties(AgendaEntry& entry); |
105 void getPreviousInstanceTimes(AgendaEntry& entry, QDateTime& startTime, |
105 void getPreviousInstanceTimes(AgendaEntry& entry, QDateTime& startTime, |
106 QDateTime& endTime); |
106 QDateTime& endTime); |
107 void getNextInstanceTimes(AgendaEntry& entry, QDateTime& startTime, |
107 void getNextInstanceTimes(AgendaEntry& entry, QDateTime& startTime, |
108 QDateTime& endTime); |
108 QDateTime& endTime); |
109 |
109 void markDatesWithEvents(QDateTime rangeStart, QDateTime rangeEnd, |
|
110 AgendaUtil::FilterFlags filter, QList<QDate>& dates); |
|
111 bool areNoEntriesInCalendar(); |
110 static QDateTime minTime(); |
112 static QDateTime minTime(); |
111 static QDateTime maxTime(); |
113 static QDateTime maxTime(); |
|
114 |
|
115 static bool isWorkdaysRepeatingEntry(const AgendaRepeatRule& repeatRule); |
112 |
116 |
113 static bool isWorkdaysRepeatingEntry(const AgendaRepeatRule& repeatRule); |
|
114 |
|
115 Q_SIGNALS: |
117 Q_SIGNALS: |
116 void entriesChanged(QList<ulong> ids); |
118 void entriesChanged(QList<ulong> ids); |
117 void entryAdded(ulong id); |
119 void entryAdded(ulong id); |
118 void entryDeleted(ulong id); |
120 void entryDeleted(ulong id); |
119 void entryUpdated(ulong id); |
121 void entryUpdated(ulong id); |
120 void entriesDeleted(int status); |
122 void entriesDeleted(int status); |
|
123 void entryViewCreationCompleted(int status); |
|
124 void instanceViewCreationCompleted(int status); |
121 |
125 |
122 private: |
126 private: |
123 friend class AgendaUtilPrivate; |
127 friend class AgendaUtilPrivate; |
124 AgendaUtilPrivate* d; |
128 AgendaUtilPrivate* d; |
125 }; |
129 }; |