Qt Mobility Reference Documentation

QOrganizerTodoOccurrence Class Reference

The QOrganizerTodoOccurrence class provides an occurrence of a task which should be completed More...

 #include <QOrganizerTodoOccurrence>

Inherits QOrganizerItem.


Public Functions

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

Detailed Description

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.


Member Function Documentation

QDateTime QOrganizerTodoOccurrence::dueDateTime () const

Returns the date time by which the task should be completed

See also setDueDateTime().

QDateTime QOrganizerTodoOccurrence::finishedDateTime () const

Returns the date and time at which the task described by the todo occurrence was completed, if known.

See also setFinishedDateTime().

QDate QOrganizerTodoOccurrence::originalDate () const

Returns the date at which the occurrence was originally going to occur.

See also setOriginalDate().

QOrganizerItemId QOrganizerTodoOccurrence::parentId () const

Returns the id of the todo which is this occurrence's parent

See also setParentId().

QOrganizerItemPriority::Priority QOrganizerTodoOccurrence::priority () const

Returns the priority of the todo occurrence.

See also setPriority().

int QOrganizerTodoOccurrence::progressPercentage () const

Returns the percentage of progress completed on the task described by the todo occurrence.

See also setProgressPercentage().

void QOrganizerTodoOccurrence::setDueDateTime ( const QDateTime & dueDateTime )

Sets the date time by which the task should be completed to dueDateTime

See also dueDateTime().

void QOrganizerTodoOccurrence::setFinishedDateTime ( const QDateTime & finishedDateTime )

Sets the date and time at which the task described by the todo occurrence was completed to finishedDateTime

See also finishedDateTime().

void QOrganizerTodoOccurrence::setOriginalDate ( const QDate & date )

Sets the date at which this occurrence was originally going to occur, to the given date.

See also originalDate().

void QOrganizerTodoOccurrence::setParentId ( const QOrganizerItemId & parentId )

Sets the todo occurrence's parent to be the todo identified by the given parentId

See also parentId().

void QOrganizerTodoOccurrence::setPriority ( QOrganizerItemPriority::Priority priority )

Sets the priority of the todo occurrence to priority

See also priority().

void QOrganizerTodoOccurrence::setProgressPercentage ( int percentage )

Sets the percentage of progress completed on the task described by the todo occurrence item to percentage

See also progressPercentage().

void QOrganizerTodoOccurrence::setStartDateTime ( const QDateTime & startDateTime )

Sets the date time at which the task should be started to startDateTime

See also startDateTime().

void QOrganizerTodoOccurrence::setStatus ( QOrganizerTodoProgress::Status status )

Sets the progress status of the todo occurrence to status

See also status().

QDateTime QOrganizerTodoOccurrence::startDateTime () const

Returns the date time at which the task should be started

See also setStartDateTime().

QOrganizerTodoProgress::Status QOrganizerTodoOccurrence::status () const

Returns the progress status of the task described by the todo occurrence

See also setStatus().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.