Qt Mobility Reference Documentation

QOrganizerEventTimeRange Class Reference

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

 #include <QOrganizerEventTimeRange>

Inherits QOrganizerItemDetail.


Public Functions

QDateTime endDateTime () const
bool isTimeSpecified ()
void setEndDateTime ( const QDateTime & dueDateTime )
void setStartDateTime ( const QDateTime & startDateTime )
void setTimeSpecified ( bool isTimeSpecified )
QDateTime startDateTime () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldEndDateTime
const QLatin1Constant FieldStartDateTime
const QLatin1Constant FieldTimeSpecified

Detailed Description

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


Member Function Documentation

QDateTime QOrganizerEventTimeRange::endDateTime () const

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

See also setEndDateTime().

bool QOrganizerEventTimeRange::isTimeSpecified ()

void QOrganizerEventTimeRange::setEndDateTime ( const QDateTime & dueDateTime )

Sets the event timerange's due date and time to dueDateTime.

See also endDateTime().

void QOrganizerEventTimeRange::setStartDateTime ( const QDateTime & startDateTime )

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

See also startDateTime().

void QOrganizerEventTimeRange::setTimeSpecified ( bool isTimeSpecified )

See also isTimeSpecified().

QDateTime QOrganizerEventTimeRange::startDateTime () const

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

See also setStartDateTime().


Member Variable Documentation

const QLatin1Constant QOrganizerEventTimeRange::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 QOrganizerEventTimeRange::FieldEndDateTime

The constant key for which the end date and time value is stored in details of the QOrganizerEventTimeRange type.

const QLatin1Constant QOrganizerEventTimeRange::FieldStartDateTime

The constant key for which the start date and time value is stored in details of the QOrganizerEventTimeRange type.

const QLatin1Constant QOrganizerEventTimeRange::FieldTimeSpecified

The constant key for the specification of whether the time is significant in the start datetime of the QOrganizerEventTimeRange 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.