Member Function Documentation
QDateTime QOrganizerTodo::dueDateTime () const
Returns the date time by which the task should be completed (for recurring tasks, this applies to the first instance). For all-day tasks, the time part is meaningless.
See also setDueDateTime().
QSet<QDate> QOrganizerTodo::exceptionDates () const
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 a recurrence rule which describe the dates on which the todo does not occur, where it otherwise would occur as described by the recurrence rules. If more than one exception rule was set for the todo item, one of those exception rules will be returned at random.
See also setExceptionRule().
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().
QDateTime QOrganizerTodo::finishedDateTime () const
Returns the date and time at which the task was completed, if known.
See also setFinishedDateTime().
bool QOrganizerTodo::isAllDay () const
Returns true if and only if the time component of the start date/time or end date/time are insignificant.
Returns the priority of the task.
See also setPriority().
int QOrganizerTodo::progressPercentage () const
Returns the percentage of progress completed on the task described by the todo.
See also setProgressPercentage().
QSet<QDate> QOrganizerTodo::recurrenceDates () const
Returns the dates on which the todo reoccurs, which have been explicitly set by calling setRecurrenceDates()
See also setRecurrenceDates().
Returns a recurrence rule which defines when the todo occurs. If more than one recurrence rule has been set in the todo, one will be returned at random.
See also setRecurrenceRule().
Returns the list of recurrence rules which define when the todo occurs
See also setRecurrenceRules().
void QOrganizerTodo::setAllDay ( bool isAllDay )
Sets whether the time-of-day component of the todo's start date-time or end date-time is insignificant (eg. this is generally set to true for a birthday). If isAllDay is true, the time-of-day component is considered insignificant, and the todo will be an all-day item.
See also isAllDay().
void QOrganizerTodo::setDueDateTime ( const QDateTime & dueDateTime )
Sets the date time by which the task should be completed to dueDateTime (for recurring tasks, this applies to the first instance). For all-day tasks, the time part can be set to any valid value
See also dueDateTime().
void QOrganizerTodo::setExceptionDates ( const QSet<QDate> & exdates )
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().
void QOrganizerTodo::setExceptionRule ( const QOrganizerRecurrenceRule & exrule )
Clears the set of recurrence rules which describe the dates on which the todo does not occur, where it otherwise would occur as described by the recurrence rules, and inserts into the cleared list the single exception rule exrule.
See also exceptionRule().
void QOrganizerTodo::setExceptionRules ( const QSet<QOrganizerRecurrenceRule> & exrules )
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().
void QOrganizerTodo::setFinishedDateTime ( const QDateTime & finishedDateTime )
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().
void QOrganizerTodo::setProgressPercentage ( int percentage )
Sets the percentage of progress completed on the task described by the todo item to percentage
See also progressPercentage().
void QOrganizerTodo::setRecurrenceDates ( const QSet<QDate> & rdates )
Sets the dates on which the todo reoccurs to rdates
See also recurrenceDates().
void QOrganizerTodo::setRecurrenceRule ( const QOrganizerRecurrenceRule & rrule )
Clears the set of recurrence rules which define when the todo occurs, and replaces it will the single recurrence rule rrule.
See also recurrenceRule().
void QOrganizerTodo::setRecurrenceRules ( const QSet<QOrganizerRecurrenceRule> & rrules )
Sets the recurrence rules which define when the todo occurs to rrules
See also recurrenceRules().
void QOrganizerTodo::setStartDateTime ( const QDateTime & startDateTime )
Sets the date time at which the task should be started to startDateTime (for recurring tasks, this applies to the first instance). For all-day tasks, the time part can be set to any valid value.
See also startDateTime().
Sets the progress status of the task to status
See also status().
QDateTime QOrganizerTodo::startDateTime () const
Returns the date time at which the task should be started (for recurring tasks, this applies to the first instance). For all-day tasks, the time part is meaningless.
See also setStartDateTime().
Returns the progress status of the task described by the todo
See also setStatus().