Member Function Documentation
QDateTime QOrganizerTodoTime::dueDateTime () const
Returns the todo time's due date and time as QDateTime. For all-day tasks, the time part is meaningless.
See also setDueDateTime().
bool QOrganizerTodoTime::isAllDay () const
Returns true if a specific time was specified for the todo. Returns false if the todo is an all-day todo.
void QOrganizerTodoTime::setAllDay ( bool isAllDay )
Sets the all-day status of the todo to isAllDay. If the tasks is an all-day todo, no time is considered to be specified for the todo, even if the start date time set for the todo has a time component.
See also isAllDay().
void QOrganizerTodoTime::setDueDateTime ( const QDateTime & dueDateTime )
Sets the todo time's due date and time to dueDateTime. For all-day tasks, the time part can be set to any valid value.
See also dueDateTime().
void QOrganizerTodoTime::setStartDateTime ( const QDateTime & startDateTime )
Sets the todo time's start date and time to startDateTime. For all-day tasks, the time part can be set to any valid value.
See also startDateTime().
QDateTime QOrganizerTodoTime::startDateTime () const
Returns the todo time's start date and time as QDateTime. For all-day tasks, the time part is meaningless.
See also setStartDateTime().
Member Variable Documentation
const QLatin1Constant QOrganizerTodoTime::DefinitionName
The constant string which identifies the definition of details which contain time-range information about a todo item.
const QLatin1Constant QOrganizerTodoTime::FieldAllDay
The constant key for the specification of whether the time is significant in the start datetime of the QOrganizerTodoTime type.
const QLatin1Constant QOrganizerTodoTime::FieldDueDateTime
The constant key of the date time value which describes the latest date at which the todo should be completed.
const QLatin1Constant QOrganizerTodoTime::FieldStartDateTime
The constant key of the date time value which describes the date at which the todo should be started.