QtMobility Reference Documentation

QOrganizerTodoTime Class Reference

The QOrganizerTodoTime class contains information about the time range of a todo item. More...

 #include <QOrganizerTodoTime>

Inherits: QOrganizerItemDetail.

This class was introduced in Qt Mobility 1.1.

Public Functions

QDateTime dueDateTime () const
bool isAllDay () const
void setAllDay ( bool isAllDay )
void setDueDateTime ( const QDateTime & dueDateTime )
void setStartDateTime ( const QDateTime & startDateTime )
QDateTime startDateTime () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldAllDay
const QLatin1Constant FieldDueDateTime
const QLatin1Constant FieldStartDateTime

Detailed Description

The QOrganizerTodoTime class contains information about the time range of a todo item.

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.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.

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.