The QOrganizerTodoProgress class contains information about the progress of a todo item. More...
#include <QOrganizerTodoProgress>
Inherits: QOrganizerItemDetail.
This class was introduced in Qt Mobility 1.1.
enum | Status { StatusNotStarted, StatusInProgress, StatusComplete } |
QDateTime | finishedDateTime () const |
int | percentageComplete () const |
void | setFinishedDateTime ( const QDateTime & finishedDateTime ) |
void | setPercentageComplete ( int percentage ) |
void | setStatus ( Status status ) |
Status | status () const |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldFinishedDateTime |
const QLatin1Constant | FieldPercentageComplete |
const QLatin1Constant | FieldStatus |
The QOrganizerTodoProgress class contains information about the progress of a todo item.
Enumerates the various possible types of todo item status
Constant | Value | Description |
---|---|---|
QOrganizerTodoProgress::StatusNotStarted | 0 | The todo item hasn't been started yet |
QOrganizerTodoProgress::StatusInProgress | 1 | The todo item is current in progress |
QOrganizerTodoProgress::StatusComplete | 2 | The todo item has finished |
Returns the todo progress item's finished date and timeas QDateTime.
This function was introduced in Qt Mobility 1.1.
See also setFinishedDateTime().
Returns the todo progress item's completion percentage.
This function was introduced in Qt Mobility 1.1.
See also setPercentageComplete().
Sets the todo progress item's finished date and time to finishedDateTime.
This function was introduced in Qt Mobility 1.1.
See also finishedDateTime().
Sets the todo progress item's completion percentage to percentage.
This function was introduced in Qt Mobility 1.1.
See also percentageComplete().
Sets the todo progress item's current status to status.
This function was introduced in Qt Mobility 1.1.
See also status().
Returns the todo progress item's current status as QOrganizerTodoProgress::Status.
This function was introduced in Qt Mobility 1.1.
See also setStatus().
The constant string which identifies the definition of details which contain progress information about a todo item.
The constant key of the date time value which contains the date and time at which the todo item was completed.
The constant key of the value which contains the current completion percentage of the todo item.
The constant key of the value which describes the current completion status of the todo item.