The QOrganizerTodoOccurrence class provides an occurrence of a task which should be completed More...
#include <QOrganizerTodoOccurrence>
Inherits: QOrganizerItem.
This class was introduced in Qt Mobility 1.1.
QDateTime | dueDateTime () const |
QDateTime | finishedDateTime () const |
QDate | originalDate () const |
QOrganizerItemId | parentId () const |
QOrganizerItemPriority::Priority | priority () const |
int | progressPercentage () const |
void | setDueDateTime ( const QDateTime & dueDateTime ) |
void | setFinishedDateTime ( const QDateTime & finishedDateTime ) |
void | setOriginalDate ( const QDate & date ) |
void | setParentId ( const QOrganizerItemId & parentId ) |
void | setPriority ( QOrganizerItemPriority::Priority priority ) |
void | setProgressPercentage ( int percentage ) |
void | setStartDateTime ( const QDateTime & startDateTime ) |
void | setStatus ( QOrganizerTodoProgress::Status status ) |
QDateTime | startDateTime () const |
QOrganizerTodoProgress::Status | status () const |
The QOrganizerTodoOccurrence class provides an occurrence of a task which should be completed
A todo occurrence is a specific instance of a todo item. An occurrence which is retrieved from a manager may not actually be persisted in that manager (for example, it may be generated automatically from the recurrence rule of the parent todo stored in the manager), in which case it will have a zero-id and differ from the parent todo only in its start date. Alternatively, it may be persisted in the manager (that is, the client has saved the occurrence previously) where it is stored as an exception to its parent todo.
Returns the date time by which the task should be completed. For all-day tasks, the time part is meaningless.
This function was introduced in Qt Mobility 1.1.
See also setDueDateTime().
Returns the date and time at which the task described by the todo occurrence was completed, if known.
This function was introduced in Qt Mobility 1.1.
See also setFinishedDateTime().
Returns the date at which the occurrence was originally going to occur.
This function was introduced in Qt Mobility 1.1.
See also setOriginalDate().
Returns the id of the todo which is this occurrence's parent
This function was introduced in Qt Mobility 1.1.
See also setParentId().
Returns the priority of the todo occurrence.
This function was introduced in Qt Mobility 1.1.
See also setPriority().
Returns the percentage of progress completed on the task described by the todo occurrence.
This function was introduced in Qt Mobility 1.1.
See also setProgressPercentage().
Sets the date time by which the task should be completed to dueDateTime. For all-day tasks, the time part can be set to any valid value.
This function was introduced in Qt Mobility 1.1.
See also dueDateTime().
Sets the date and time at which the task described by the todo occurrence was completed to finishedDateTime
This function was introduced in Qt Mobility 1.1.
See also finishedDateTime().
Sets the date at which this occurrence was originally going to occur, to the given date.
This function was introduced in Qt Mobility 1.1.
See also originalDate().
Sets the todo occurrence's parent to be the todo identified by the given parentId
This function was introduced in Qt Mobility 1.1.
See also parentId().
Sets the priority of the todo occurrence to priority
This function was introduced in Qt Mobility 1.1.
See also priority().
Sets the percentage of progress completed on the task described by the todo occurrence item to percentage
This function was introduced in Qt Mobility 1.1.
See also progressPercentage().
Sets the date time at which the task should be started to startDateTime. For all-day tasks, the time part can be set to any valid value.
This function was introduced in Qt Mobility 1.1.
See also startDateTime().
Sets the progress status of the todo occurrence to status
This function was introduced in Qt Mobility 1.1.
See also status().
Returns the date time at which the task should be started. For all-day tasks, the time part is meaningless.
This function was introduced in Qt Mobility 1.1.
See also setStartDateTime().
Returns the progress status of the task described by the todo occurrence
This function was introduced in Qt Mobility 1.1.
See also setStatus().