Qt Mobility Reference Documentation

QOrganizerEventTime Class Reference

The QOrganizerEventTime class contains the start and end dates and times of a recurring event series, or occurrence of an event. More...

 #include <QOrganizerEventTime>

Inherits QOrganizerItemDetail.


Public Functions

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

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldAllDay
const QLatin1Constant FieldEndDateTime
const QLatin1Constant FieldStartDateTime

Detailed Description

The QOrganizerEventTime class contains the start and end dates and times of a recurring event series, or occurrence of an event.


Member Function Documentation

QDateTime QOrganizerEventTime::endDateTime () const

Returns the event timerange's due date and time as QDateTime.

See also setEndDateTime().

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 timerange's due date and time to dueDateTime.

See also endDateTime().

void QOrganizerEventTime::setStartDateTime ( const QDateTime & startDateTime )

Sets the event timerange's start date and time to startDateTime.

See also startDateTime().

QDateTime QOrganizerEventTime::startDateTime () const

Returns the event timerange's start date and time as QDateTime.

See also setStartDateTime().


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.

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.