author | zautrix <zautrix> | 2005-04-15 07:31:29 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-15 07:31:29 (UTC) |
commit | 6a16de9a18235d2ddd771c97a4bb4512b43d181a (patch) (side-by-side diff) | |
tree | 3fec37074addd6afc6eebb191d57a1d5ef5127ab /libkcal/todo.h | |
parent | 7e87a287a0860882af27e26288bc9cc553dd3a0b (diff) | |
download | kdepimpi-6a16de9a18235d2ddd771c97a4bb4512b43d181a.zip kdepimpi-6a16de9a18235d2ddd771c97a4bb4512b43d181a.tar.gz kdepimpi-6a16de9a18235d2ddd771c97a4bb4512b43d181a.tar.bz2 |
fix
-rw-r--r-- | libkcal/todo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkcal/todo.h b/libkcal/todo.h index fe43357..ec1ffda 100644 --- a/libkcal/todo.h +++ b/libkcal/todo.h @@ -95,54 +95,55 @@ namespace KCal { /** set completed state of this todo */ void setCompleted(bool); /** Return how many percent of the task are completed. Returns a value between 0 and 100. */ int percentComplete() const; /** Set how many percent of the task are completed. Valid values are in the range from 0 to 100. */ void setPercentComplete(int); /** return date and time when todo was completed */ QDateTime completed() const; QString completedStr(bool shortF = true) const; /** set date and time of completion */ void setCompleted(const QDateTime &completed); /** Return true, if todo has a date associated with completion */ bool hasCompletedDate() const; bool contains ( Todo*); void checkSetCompletedFalse(); bool setRecurDates(); bool isRunning() {return mRunning;} bool hasRunningSub(); void setRunning( bool ); int runTime(); QDateTime runStart () const { return mRunStart;} public slots: void saveRunningInfoToFile(); + void saveParents(); private: bool mRunning; QTimer * mRunSaveTimer; QDateTime mRunStart; bool accept(Visitor &v) { return v.visit(this); } QDateTime mDtDue; // due date of todo bool mHasDueDate; // if todo has associated due date // int mStatus; // confirmed/delegated/tentative/etc QDateTime mCompleted; bool mHasCompletedDate; int mPercentComplete; }; bool operator==( const Todo&, const Todo& ); } #endif |