Member Function Documentation
QDateTime QOrganizerEventTime::endDateTime () const
Returns the event time's due date and time as QDateTime. For all-day events, the time part is meaningless, and the date is to be interpreted as the inclusive end date.
See also setEndDateTime() and QOrganizerEvent::endDateTime.
bool QOrganizerEventTime::isAllDay () const
Returns true if a specific time was specified for the event. Returns false if the event is an all-day event.
void QOrganizerEventTime::setAllDay ( bool isAllDay )
Sets the all-day status of the event to isAllDay. If the event is an all-day event, no time is considered to be specified for the event, even if a start or end date time set for the event has a time component.
See also isAllDay().
void QOrganizerEventTime::setEndDateTime ( const QDateTime & dueDateTime )
Sets the event time's due date and time to dueDateTime. For all-day events, the time part can be set to any valid value, and the date is to be interpreted as the inclusive end date.
See also endDateTime() and QOrganizerEvent::setEndDateTime.
void QOrganizerEventTime::setStartDateTime ( const QDateTime & startDateTime )
Sets the event time's start date and time to startDateTime. For all-day events, the time part can be set to any valid value.
See also startDateTime() and QOrganizerEvent::setStartDateTime.
QDateTime QOrganizerEventTime::startDateTime () const
Returns the event time's start date and time as QDateTime. For all-day events, the time part is meaningless.
See also setStartDateTime() and QOrganizerEvent::startDateTime.
Member Variable Documentation
const QLatin1Constant QOrganizerEventTime::DefinitionName
The constant string which identifies the definition of details which contain a start and end timestamps of an event series or event occurrence.
const QLatin1Constant QOrganizerEventTime::FieldAllDay
The constant key for the specification of whether the time is significant in the start datetime of the QOrganizerEventTime type.
const QLatin1Constant QOrganizerEventTime::FieldEndDateTime
The constant key for which the end date and time value is stored in details of the QOrganizerEventTime type.
const QLatin1Constant QOrganizerEventTime::FieldStartDateTime
The constant key for which the start date and time value is stored in details of the QOrganizerEventTime type.