QOrganizerTodo Class Reference
A task which should be completed More...
#include <QOrganizerTodo>
Inherits QOrganizerItem.
Public Functions
Detailed Description
A task which should be completed
A todo is an item which contains information about a task which has to be completed. It might be associated with a particular point in time (for example, water the garden tomorrow evening) or it might have no specific temporal association (for example, climb Mount Everest someday).
A todo can reoccur (for example, water the garden every evening) or it can occur only once.
Todos can be used to schedule agenda items or tasks in a meaningful manner.
Member Function Documentation
QOrganizerTodo::Q_DECLARE_CUSTOM_ORGANIZER_ITEM ( QOrganizerTodo, QOrganizerItemType::TypeTodo )
QDateTime QOrganizerTodo::dueDateTime () const
Returns the date time by which the task should be completed
See also setDueDateTime().
QList<QDate> QOrganizerTodo::exceptionDates () const
Returns the dates on which the todo does not occur, where it otherwise would occur as described by the recurrence rules.
See also setExceptionDates().
Returns the recurrence rules which describe the dates on which the todo does not occur, where it otherwise would occur as described by the recurrence rules set the setRecurrenceRules().
See also setExceptionRules().
QDateTime QOrganizerTodo::finishedDateTime () const
Returns the date and time at which the task was completed, if known.
See also setFinishedDateTime().
Returns the priority of the task.
See also setPriority().
int QOrganizerTodo::progressPercentage () const
Returns the percentage of progress completed on the task described by the todo.
See also setProgressPercentage().
QList<QDate> QOrganizerTodo::recurrenceDates () const
Returns the dates on which the todo reoccurs, which have been explicitly set by calling setRecurrenceDates()
See also setRecurrenceDates().
Returns the list of recurrence rules which define when the todo occurs
See also setRecurrenceRules().
void QOrganizerTodo::setDueDateTime ( const QDateTime & dueDateTime )
Sets the date time by which the task should be completed to dueDateTime
See also dueDateTime().
void QOrganizerTodo::setExceptionDates ( const QList<QDate> & exdates )
Sets the dates on which the todo does not occur despite the date fulfilling the recurrence rules of the todo, to exdates
See also exceptionDates().
void QOrganizerTodo::setExceptionRules ( const QList<QOrganizerItemRecurrenceRule> & exrules )
Sets the recurrence rules which describe the dates on which the todo does not occur, where it otherwise would occur as described by the recurrence rules set with setRecurrenceRules(), to exrules
See also exceptionRules().
void QOrganizerTodo::setFinishedDateTime ( const QDateTime & finishedDateTime )
Sets the date and time at which the task was completed to finishedDateTime
See also finishedDateTime().
Sets the priority of the todo to priority
See also priority().
void QOrganizerTodo::setProgressPercentage ( int percentage )
Sets the percentage of progress completed on the task described by the todo item to percentage
See also progressPercentage().
void QOrganizerTodo::setRecurrenceDates ( const QList<QDate> & rdates )
Sets the dates on which the todo reoccurs to rdates
See also recurrenceDates().
void QOrganizerTodo::setRecurrenceRules ( const QList<QOrganizerItemRecurrenceRule> & rrules )
Sets the recurrence rules which define when the todo occurs to rrules
See also recurrenceRules().
Sets the progress status of the task to status
See also status().
QDateTime QOrganizerTodo::startDateTime () const
Returns the date time at which the task should be started
Returns the progress status of the task described by the todo
See also setStatus().