author | zautrix <zautrix> | 2005-06-17 09:29:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-17 09:29:18 (UTC) |
commit | 160b471e4d254fd45dbbd161178de15a14163a0c (patch) (side-by-side diff) | |
tree | 149a5bf6ef1eb0399c46c928a53d31fa298ac383 /libkcal/todo.h | |
parent | cd71ce2dd43e4cca3b3da3f599616e7b1b6b8deb (diff) | |
download | kdepimpi-160b471e4d254fd45dbbd161178de15a14163a0c.zip kdepimpi-160b471e4d254fd45dbbd161178de15a14163a0c.tar.gz kdepimpi-160b471e4d254fd45dbbd161178de15a14163a0c.tar.bz2 |
fixxx
-rw-r--r-- | libkcal/todo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkcal/todo.h b/libkcal/todo.h index 11f848e..425dfad 100644 --- a/libkcal/todo.h +++ b/libkcal/todo.h @@ -33,25 +33,24 @@ namespace KCal { This class provides a Todo in the sense of RFC2445. */ class Todo : public QObject,public Incidence { Q_OBJECT public: Todo(); Todo(const Todo &); ~Todo(); typedef ListBase<Todo> List; QCString type() const { return "Todo"; } IncTypeID typeID() const { return todoID; } - void saveRunningInfo( QString comment, QDateTime start, QDateTime end ); /** Return an exact copy of this todo. */ Incidence *clone(); QDateTime getNextAlarmDateTime( bool * ok, int * offset, QDateTime start_dt ) const; /** for setting the todo's due date/time with a QDateTime. */ void setDtDue(const QDateTime &dtDue); /** returns an event's Due date/time as a QDateTime. */ QDateTime dtDue() const; /** returns an event's due time as a string formatted according to the users locale settings */ QString dtDueTimeStr() const; @@ -117,24 +116,25 @@ namespace KCal { /** 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 ); 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(); private: bool mRunning; QTimer * mRunSaveTimer; QDateTime mRunStart; QDateTime mRunEnd; bool accept(Visitor &v) { return v.visit(this); } QDateTime mDtDue; // due date of todo |