author | zautrix <zautrix> | 2005-09-25 01:04:17 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-09-25 01:04:17 (UTC) |
commit | bd991f0a33d85385735ed4911b794b8740e4d296 (patch) (side-by-side diff) | |
tree | f69fdacca2283e2602619e24bcbc30b46998d298 /libkcal/todo.h | |
parent | bada5cffd8f1b5f4f3719299e3615d7d06a1f0dc (diff) | |
download | kdepimpi-bd991f0a33d85385735ed4911b794b8740e4d296.zip kdepimpi-bd991f0a33d85385735ed4911b794b8740e4d296.tar.gz kdepimpi-bd991f0a33d85385735ed4911b794b8740e4d296.tar.bz2 |
todo timer fix
-rw-r--r-- | libkcal/todo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libkcal/todo.h b/libkcal/todo.h index 7feb32e..e6b8a21 100644 --- a/libkcal/todo.h +++ b/libkcal/todo.h @@ -118,36 +118,40 @@ namespace KCal { bool contains ( Todo*); void checkSetCompletedFalse(); bool setRecurDates(); bool isRunning() {return mRunning;} bool hasRunningSub(); void setRunning( bool ); void setRunningFalse( QString ); void stopRunning(); int runTime(); QDateTime runStart () const { return mRunStart;} void saveRunningInfo( QString comment, QDateTime start, QDateTime end ); public slots: void saveRunningInfoToFile( QString st ); void saveRunningInfoToFile( ); void saveParents(); QString durationText(); + private slots: + void timerSlotSaveRunningInfoToFile( ); private: + int mCurrentTimerDelay; bool mRunning; QTimer * mRunSaveTimer; QDateTime mRunStart; + QDateTime mRunLastSave; QDateTime mRunEnd; 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& ); |