Contents
QOrganizerTodoOccurrence Class Reference
An occurrence of a task which should be completed More...
#include <QOrganizerTodoOccurrence>
Inherits QOrganizerItem.
Public Functions
Q_DECLARE_CUSTOM_ORGANIZER_ITEM ( QOrganizerTodoOccurrence, QOrganizerItemType::TypeTodoOccurrence ) | |
QDateTime | dueDateTime () const |
QDateTime | finishedDateTime () const |
QDate | originalDate () const |
QOrganizerItemLocalId | parentLocalId () const |
QOrganizerItemPriority::Priority | priority () const |
int | progressPercentage () const |
void | setDueDateTime ( const QDateTime & dueDateTime ) |
void | setFinishedDateTime ( const QDateTime & finishedDateTime ) |
void | setOriginalDate ( const QDate & date ) |
void | setParentLocalId ( const QOrganizerItemLocalId & parentLocalId ) |
void | setPriority ( QOrganizerItemPriority::Priority priority ) |
void | setProgressPercentage ( int percentage ) |
void | setStatus ( QOrganizerTodoProgress::Status status ) |
QDateTime | startDateTime () const |
QOrganizerTodoProgress::Status | status () const |
- 33 public functions inherited from QOrganizerItem
Detailed Description
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.