The QOrganizerTodo class provides a task which should be completed More...
#include <QOrganizerTodo>
Inherits QOrganizerItem.
Q_DECLARE_CUSTOM_ORGANIZER_ITEM ( QOrganizerTodo, QOrganizerItemType::TypeTodo ) | |
QDateTime | dueDateTime () const |
QList<QDate> | exceptionDates () const |
QList<QOrganizerItemRecurrenceRule> | exceptionRules () const |
QDateTime | finishedDateTime () const |
bool | isTimeSpecified () const |
QOrganizerItemPriority::Priority | priority () const |
int | progressPercentage () const |
QList<QDate> | recurrenceDates () const |
QList<QOrganizerItemRecurrenceRule> | recurrenceRules () const |
void | setDueDateTime ( const QDateTime & dueDateTime ) |
void | setExceptionDates ( const QList<QDate> & exdates ) |
void | setExceptionRules ( const QList<QOrganizerItemRecurrenceRule> & exrules ) |
void | setFinishedDateTime ( const QDateTime & finishedDateTime ) |
void | setPriority ( QOrganizerItemPriority::Priority priority ) |
void | setProgressPercentage ( int percentage ) |
void | setRecurrenceDates ( const QList<QDate> & rdates ) |
void | setRecurrenceRules ( const QList<QOrganizerItemRecurrenceRule> & rrules ) |
void | setStatus ( QOrganizerTodoProgress::Status status ) |
void | setTimeSpecified ( bool isTimeSpecified ) |
QDateTime | startDateTime () const |
QOrganizerTodoProgress::Status | status () const |
The QOrganizerTodo class provides 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.
Returns the date time by which the task should be completed
See also setDueDateTime().
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().
Returns the date and time at which the task was completed, if known.
See also setFinishedDateTime().
Returns whether the time component of the start datetime or end datetime are significant.
Returns the priority of the task.
See also setPriority().
Returns the percentage of progress completed on the task described by the todo.
See also setProgressPercentage().
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().
Sets the date time by which the task should be completed to dueDateTime
See also dueDateTime().
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().
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().
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().
Sets the percentage of progress completed on the task described by the todo item to percentage
See also progressPercentage().
Sets the dates on which the todo reoccurs to rdates
See also recurrenceDates().
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().
Sets whether the time component of the start datetime or end datetime are significant.
See also isTimeSpecified().
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().