-rw-r--r-- | libkcal/calendar.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libkcal/calendar.h b/libkcal/calendar.h index fbc40ad..5845f44 100644 --- a/libkcal/calendar.h +++ b/libkcal/calendar.h | |||
@@ -26,6 +26,6 @@ | |||
26 | #include <qstring.h> | 26 | #include <qstring.h> |
27 | #include <qdatetime.h> | 27 | #include <qdatetime.h> |
28 | #include <qptrlist.h> | 28 | #include <q3ptrlist.h> |
29 | #include <qdict.h> | 29 | #include <q3dict.h> |
30 | 30 | ||
31 | #include "customproperties.h" | 31 | #include "customproperties.h" |
@@ -89,5 +89,5 @@ public: | |||
89 | */ | 89 | */ |
90 | virtual void save() = 0; | 90 | virtual void save() = 0; |
91 | virtual QPtrList<Event> getExternLastSyncEvents() = 0; | 91 | virtual Q3PtrList<Event> getExternLastSyncEvents() = 0; |
92 | virtual void removeSyncInfo( QString syncProfile) = 0; | 92 | virtual void removeSyncInfo( QString syncProfile) = 0; |
93 | virtual bool isSaving() { return false; } | 93 | virtual bool isSaving() { return false; } |
@@ -156,10 +156,10 @@ public: | |||
156 | Return filtered list of all incidences of this calendar. | 156 | Return filtered list of all incidences of this calendar. |
157 | */ | 157 | */ |
158 | virtual QPtrList<Incidence> incidences(); | 158 | virtual Q3PtrList<Incidence> incidences(); |
159 | 159 | ||
160 | /** | 160 | /** |
161 | Return unfiltered list of all incidences of this calendar. | 161 | Return unfiltered list of all incidences of this calendar. |
162 | */ | 162 | */ |
163 | virtual QPtrList<Incidence> rawIncidences(); | 163 | virtual Q3PtrList<Incidence> rawIncidences(); |
164 | 164 | ||
165 | /** | 165 | /** |
@@ -186,10 +186,10 @@ public: | |||
186 | The calendar filter is applied. | 186 | The calendar filter is applied. |
187 | */ | 187 | */ |
188 | QPtrList<Event> events( const QDate &date, bool sorted = false); | 188 | Q3PtrList<Event> events( const QDate &date, bool sorted = false); |
189 | /** | 189 | /** |
190 | Get events, which occur on the given date. | 190 | Get events, which occur on the given date. |
191 | The calendar filter is applied. | 191 | The calendar filter is applied. |
192 | */ | 192 | */ |
193 | QPtrList<Event> events( const QDateTime &qdt ); | 193 | Q3PtrList<Event> events( const QDateTime &qdt ); |
194 | /** | 194 | /** |
195 | Get events in a range of dates. If inclusive is set to true, only events | 195 | Get events in a range of dates. If inclusive is set to true, only events |
@@ -197,14 +197,14 @@ public: | |||
197 | The calendar filter is applied. | 197 | The calendar filter is applied. |
198 | */ | 198 | */ |
199 | QPtrList<Event> events( const QDate &start, const QDate &end, | 199 | Q3PtrList<Event> events( const QDate &start, const QDate &end, |
200 | bool inclusive = false); | 200 | bool inclusive = false); |
201 | /** | 201 | /** |
202 | Return filtered list of all events in calendar. | 202 | Return filtered list of all events in calendar. |
203 | */ | 203 | */ |
204 | virtual QPtrList<Event> events(); | 204 | virtual Q3PtrList<Event> events(); |
205 | /** | 205 | /** |
206 | Return unfiltered list of all events in calendar. | 206 | Return unfiltered list of all events in calendar. |
207 | */ | 207 | */ |
208 | virtual QPtrList<Event> rawEvents() = 0; | 208 | virtual Q3PtrList<Event> rawEvents() = 0; |
209 | 209 | ||
210 | /** | 210 | /** |
@@ -223,5 +223,5 @@ public: | |||
223 | Return filterd list of todos. | 223 | Return filterd list of todos. |
224 | */ | 224 | */ |
225 | virtual QPtrList<Todo> todos(); | 225 | virtual Q3PtrList<Todo> todos(); |
226 | /** | 226 | /** |
227 | Searches todolist for an event with this unique string identifier, | 227 | Searches todolist for an event with this unique string identifier, |
@@ -233,9 +233,9 @@ public: | |||
233 | Returns list of todos due on the specified date. | 233 | Returns list of todos due on the specified date. |
234 | */ | 234 | */ |
235 | virtual QPtrList<Todo> todos( const QDate &date ) = 0; | 235 | virtual Q3PtrList<Todo> todos( const QDate &date ) = 0; |
236 | /** | 236 | /** |
237 | Return unfiltered list of todos. | 237 | Return unfiltered list of todos. |
238 | */ | 238 | */ |
239 | virtual QPtrList<Todo> rawTodos() = 0; | 239 | virtual Q3PtrList<Todo> rawTodos() = 0; |
240 | 240 | ||
241 | /** | 241 | /** |
@@ -249,5 +249,5 @@ public: | |||
249 | */ | 249 | */ |
250 | virtual Journal *journal( const QDate & ) = 0; | 250 | virtual Journal *journal( const QDate & ) = 0; |
251 | virtual QPtrList<Journal> journals4Date( const QDate & ) = 0; | 251 | virtual Q3PtrList<Journal> journals4Date( const QDate & ) = 0; |
252 | /** | 252 | /** |
253 | Return Journal with given UID. | 253 | Return Journal with given UID. |
@@ -257,5 +257,5 @@ public: | |||
257 | Return list of all Journal entries. | 257 | Return list of all Journal entries. |
258 | */ | 258 | */ |
259 | virtual QPtrList<Journal> journals() = 0; | 259 | virtual Q3PtrList<Journal> journals() = 0; |
260 | 260 | ||
261 | /** | 261 | /** |
@@ -336,9 +336,9 @@ public: | |||
336 | Get unfiltered events, which occur on the given date. | 336 | Get unfiltered events, which occur on the given date. |
337 | */ | 337 | */ |
338 | virtual QPtrList<Event> rawEventsForDate( const QDateTime &qdt ) = 0; | 338 | virtual Q3PtrList<Event> rawEventsForDate( const QDateTime &qdt ) = 0; |
339 | /** | 339 | /** |
340 | Get unfiltered events, which occur on the given date. | 340 | Get unfiltered events, which occur on the given date. |
341 | */ | 341 | */ |
342 | virtual QPtrList<Event> rawEventsForDate( const QDate &date, | 342 | virtual Q3PtrList<Event> rawEventsForDate( const QDate &date, |
343 | bool sorted = false ) = 0; | 343 | bool sorted = false ) = 0; |
344 | /** | 344 | /** |
@@ -346,5 +346,5 @@ public: | |||
346 | are returned, which are completely included in the range. | 346 | are returned, which are completely included in the range. |
347 | */ | 347 | */ |
348 | virtual QPtrList<Event> rawEvents( const QDate &start, const QDate &end, | 348 | virtual Q3PtrList<Event> rawEvents( const QDate &start, const QDate &end, |
349 | bool inclusive = false ) = 0; | 349 | bool inclusive = false ) = 0; |
350 | 350 | ||
@@ -377,6 +377,6 @@ private: | |||
377 | 377 | ||
378 | // This list is used to put together related todos | 378 | // This list is used to put together related todos |
379 | QDict<Incidence> mOrphans; | 379 | Q3Dict<Incidence> mOrphans; |
380 | QDict<Incidence> mOrphanUids; | 380 | Q3Dict<Incidence> mOrphanUids; |
381 | }; | 381 | }; |
382 | 382 | ||