todo.cpp
194 // TODO: This doesn't seem right (rfc 2445/6 says, recurrence is calculated from the dtstart...)
void updated()
Call this to notify the observers after the IncidenceBas object has changed.
Definition: incidencebase.cpp:405
virtual TDE_DEPRECATED TQString dtStartTimeStr() const
returns an event's starting time as a string formatted according to the users locale settings.
Definition: incidencebase.cpp:206
TQStringList comments() const
Return all comments associated with this incidence.
Definition: incidencebase.cpp:260
bool doesFloat() const
Return true or false depending on whether the incidence "floats," i.e.
Definition: incidencebase.cpp:222
bool removeComment(const TQString &comment)
Remove a comment from the event.
Definition: incidencebase.cpp:240
virtual TDE_DEPRECATED TQString dtStartStr() const
returns an event's starting date and time as a string formatted according to the users locale setting...
Definition: incidencebase.cpp:216
void addComment(const TQString &comment)
Add a comment to this incidence.
Definition: incidencebase.cpp:235
virtual TQDateTime dtStart() const
returns an event's starting date/time as a TQDateTime.
Definition: incidencebase.cpp:201
virtual void setDtStart(const TQDateTime &dtStart)
for setting the event's starting date/time with a TQDateTime.
Definition: incidencebase.cpp:194
This class provides the base class common to all calendar components.
Definition: incidence.h:48
bool recursAt(const TQDateTime &qdt) const
Returns true if the date/time specified is one on which the incidence will recur.
Definition: incidence.cpp:430
int revision() const
Return the number of revisions this event has seen.
Definition: incidence.cpp:259
Recurrence * recurrence() const
Return the recurrence rule associated with this incidence.
Definition: incidence.cpp:390
void setRevision(int rev)
Set the number of revisions this event has seen.
Definition: incidence.cpp:251
virtual bool recursOn(const TQDate &qd) const
Returns true if the date specified is one on which the incidence will recur.
Definition: incidence.cpp:422
This class represents a recurrence rule for a calendar incidence.
Definition: recurrence.h:90
void setFloats(bool floats)
Sets whether the dtstart is a floating time (i.e.
Definition: recurrence.cpp:133
TQDateTime endDateTime() const
Returns the date/time of the last recurrence.
Definition: recurrence.cpp:351
void setStartDateTime(const TQDateTime &start)
Set start of recurrence, as a date and time.
Definition: recurrence.cpp:444
int duration() const
Returns -1 if the event recurs infinitely, 0 if the end date is set, otherwise the total number of re...
Definition: recurrence.cpp:395
TQDateTime getNextDateTime(const TQDateTime &preDateTime) const
Returns the date and time of the next recurrence, after the specified date/time.
Definition: recurrence.cpp:837
TQDateTime dtRecurrence() const
Returns the due date/time of the current occurrence if recurrent.
Definition: todo.cpp:284
bool hasDueDate() const
Returns true if the todo has a due date, otherwise return false.
Definition: todo.cpp:144
TQString completedStr() const
Returns string contaiting date and time when the todo was completed formatted according to the users ...
Definition: todo.cpp:243
bool isCompleted() const
Returns true if the todo is 100% completed, otherwise return false.
Definition: todo.cpp:217
void setDtRecurrence(const TQDateTime &dt)
Sets the due date/time of the current occurrence if recurrent.
Definition: todo.cpp:279
TDE_DEPRECATED TQString dtDueTimeStr() const
Returns due time as string formatted according to the users locale settings.
Definition: todo.cpp:128
TDE_DEPRECATED TQString dtDueDateStr(bool shortfmt=true) const
Returns due date as string formatted according to the users locale settings.
Definition: todo.cpp:133
bool hasStartDate() const
Returns true if the todo has a start date, otherwise return false.
Definition: todo.cpp:157
void setDtDue(const TQDateTime &dtDue, bool first=false)
Sets due date and time.
Definition: todo.cpp:85
virtual bool recursOn(const TQDate &date) const
Returns true if the date specified is one on which the todo will recur.
Definition: todo.cpp:289
TQString dtStartDateStr(bool shortfmt=true, bool first=false) const
Returns an todo's starting date as a string formatted according to the users locale settings.
Definition: todo.cpp:207
TDE_DEPRECATED TQString dtDueStr() const
Returns due date and time as string formatted according to the users locale settings.
Definition: todo.cpp:139
int percentComplete() const
Returns how many percent of the task are completed.
Definition: todo.cpp:263
bool hasCompletedDate() const
Returns true, if todo has a date associated with completion, otherwise return false.
Definition: todo.cpp:258
Namespace KCal is for global classes, objects and/or functions in libkcal.
Definition: alarm.h:38