author | zautrix <zautrix> | 2005-08-19 12:08:05 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-19 12:08:05 (UTC) |
commit | 9014049779be6cfec02d73e19596439f0f4f9bed (patch) (unidiff) | |
tree | 3983282e83183cc15dd615ba4ac5a800da21efe0 /libkcal/incidence.h | |
parent | 81891a49afc2f7cd89db4e2770c3b7831644428d (diff) | |
download | kdepimpi-9014049779be6cfec02d73e19596439f0f4f9bed.zip kdepimpi-9014049779be6cfec02d73e19596439f0f4f9bed.tar.gz kdepimpi-9014049779be6cfec02d73e19596439f0f4f9bed.tar.bz2 |
list sort fix
-rw-r--r-- | libkcal/incidence.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libkcal/incidence.h b/libkcal/incidence.h index eef9e64..dc49640 100644 --- a/libkcal/incidence.h +++ b/libkcal/incidence.h | |||
@@ -266,45 +266,47 @@ class Incidence : public IncidenceBase | |||
266 | /** sets the event's hasStartDate value. */ | 266 | /** sets the event's hasStartDate value. */ |
267 | void setHasStartDate(bool f); | 267 | void setHasStartDate(bool f); |
268 | QDateTime getNextOccurence( const QDateTime& dt, bool* yes ) const; | 268 | QDateTime getNextOccurence( const QDateTime& dt, bool* yes ) const; |
269 | bool cancelled() const; | 269 | bool cancelled() const; |
270 | void setCancelled( bool b ); | 270 | void setCancelled( bool b ); |
271 | 271 | ||
272 | bool hasRecurrenceID() const; | 272 | bool hasRecurrenceID() const; |
273 | void setHasRecurrenceID( bool b ); | 273 | void setHasRecurrenceID( bool b ); |
274 | 274 | ||
275 | void setRecurrenceID(QDateTime); | 275 | void setRecurrenceID(QDateTime); |
276 | QDateTime recurrenceID () const; | 276 | QDateTime recurrenceID () const; |
277 | QDateTime dtStart() const; | 277 | QDateTime dtStart() const; |
278 | bool isHoliday() const; | 278 | bool isHoliday() const; |
279 | bool isBirthday() const; | 279 | bool isBirthday() const; |
280 | bool isAnniversary() const; | 280 | bool isAnniversary() const; |
281 | QDateTime lastModifiedSub(); | 281 | QDateTime lastModifiedSub(); |
282 | QString lastModifiedSubSortKey() const; | ||
282 | QString recurrenceText() const; | 283 | QString recurrenceText() const; |
283 | void setLastModifiedSubInvalid(); | 284 | void setLastModifiedSubInvalid(); |
284 | 285 | ||
285 | virtual QString durationText(); | 286 | virtual QString durationText(); |
286 | QString durationText4Time( int secs ); | 287 | QString durationText4Time( int secs ); |
287 | Recurrence *mRecurrence; | 288 | Recurrence *mRecurrence; |
288 | protected: | 289 | protected: |
289 | QPtrList<Alarm> mAlarms; | 290 | QPtrList<Alarm> mAlarms; |
290 | QPtrList<Incidence> mRelations; | 291 | QPtrList<Incidence> mRelations; |
291 | QDateTime mRecurrenceID; | 292 | QDateTime mRecurrenceID; |
292 | bool mHasRecurrenceID; | 293 | bool mHasRecurrenceID; |
293 | private: | 294 | private: |
294 | void checkCategories(); | 295 | void checkCategories(); |
296 | QString mLastModifiedSubSortKey; | ||
295 | bool mHoliday, mBirthday, mAnniversary; | 297 | bool mHoliday, mBirthday, mAnniversary; |
296 | int mRevision; | 298 | int mRevision; |
297 | bool mCancelled; | 299 | bool mCancelled; |
298 | 300 | ||
299 | // base components of jounal, event and todo | 301 | // base components of jounal, event and todo |
300 | QDateTime mCreated; | 302 | QDateTime mCreated; |
301 | QDateTime mLastModifiedSub; | 303 | QDateTime mLastModifiedSub; |
302 | QString mDescription; | 304 | QString mDescription; |
303 | QString mSummary; | 305 | QString mSummary; |
304 | QStringList mCategories; | 306 | QStringList mCategories; |
305 | Incidence *mRelatedTo; | 307 | Incidence *mRelatedTo; |
306 | QString mRelatedToUid; | 308 | QString mRelatedToUid; |
307 | DateList mExDates; | 309 | DateList mExDates; |
308 | QPtrList<Attachment> mAttachments; | 310 | QPtrList<Attachment> mAttachments; |
309 | QStringList mResources; | 311 | QStringList mResources; |
310 | bool mHasStartDate; // if todo has associated start date | 312 | bool mHasStartDate; // if todo has associated start date |