Qt Mobility Reference Documentation

QOrganizerEventOccurrence Class Reference

The QOrganizerEventOccurrence class provides an occurrence of an event. More...

 #include <QOrganizerEventOccurrence>

Inherits QOrganizerItem.


Public Functions

Q_DECLARE_CUSTOM_ORGANIZER_ITEM ( QOrganizerEventOccurrence, QOrganizerItemType::TypeEventOccurrence )
QDateTime endDateTime () const
QString locationAddress () const
QString locationGeoCoordinates () const
QString locationName () const
QDate originalDate () const
QOrganizerItemLocalId parentLocalId () const
QOrganizerItemPriority::Priority priority () const
void setEndDateTime ( const QDateTime & endDateTime )
void setLocationAddress ( const QString & locationAddress )
void setLocationGeoCoordinates ( const QString & locationCoordinates ) (preliminary)
void setLocationName ( const QString & locationName )
void setOriginalDate ( const QDate & date )
void setParentLocalId ( const QOrganizerItemLocalId & parentLocalId )
void setPriority ( QOrganizerItemPriority::Priority priority )
QDateTime startDateTime () const

Detailed Description

The QOrganizerEventOccurrence class provides an occurrence of an event.

An event occurrence is where the occurrence differs from the generating event in some way. An occurrence which is retrieved from a manager may not actually be persisted in that manager (for example, it may be generated automatically from the recurrence rule of the parent event stored in the manager), in which case it will have a zero-id and differ from the parent event only in its start date. Alternatively, it may be persisted in the manager (that is, the client has saved the occurrence previously) where it is stored as an exception to its parent event.


Member Function Documentation

QOrganizerEventOccurrence::Q_DECLARE_CUSTOM_ORGANIZER_ITEM ( QOrganizerEventOccurrence, QOrganizerItemType::TypeEventOccurrence )

QDateTime QOrganizerEventOccurrence::endDateTime () const

Returns the date time at which the event occurrence ends

See also setEndDateTime().

QString QOrganizerEventOccurrence::locationAddress () const

Returns the address of the location at which the event occurrence is held, if known

See also setLocationAddress().

QString QOrganizerEventOccurrence::locationGeoCoordinates () const

Returns the geo-coordinates of the location at which the event occurrence is held, if known

See also setLocationGeoCoordinates().

QString QOrganizerEventOccurrence::locationName () const

Returns the name of the location at which the event occurrence is held, if known

See also setLocationName().

QDate QOrganizerEventOccurrence::originalDate () const

Returns the date at which the occurrence was originally going to occur.

See also setOriginalDate().

QOrganizerItemLocalId QOrganizerEventOccurrence::parentLocalId () const

Returns the local id of the event which is this occurrence's parent

See also setParentLocalId().

QOrganizerItemPriority::Priority QOrganizerEventOccurrence::priority () const

Returns the priority of the event occurrence

See also setPriority().

void QOrganizerEventOccurrence::setEndDateTime ( const QDateTime & endDateTime )

Sets the end date time of the event occurrence to endDateTime

See also endDateTime().

void QOrganizerEventOccurrence::setLocationAddress ( const QString & locationAddress )

Sets the address of the location at which the event occurrence is held to locationAddress

See also locationAddress().

void QOrganizerEventOccurrence::setLocationGeoCoordinates ( const QString & locationCoordinates )

This function is under development and is subject to change.

Sets the geo-coordinates of the location at which the event occurrence is held to locationCoordinates. The coordinates must be in the form "latitude;longitude".

See also locationGeoCoordinates().

void QOrganizerEventOccurrence::setLocationName ( const QString & locationName )

Sets the name of the location at which the event occurrence is held to locationName

See also locationName().

void QOrganizerEventOccurrence::setOriginalDate ( const QDate & date )

Sets the date at which this occurrence was originally going to occur, to the given date.

See also originalDate().

void QOrganizerEventOccurrence::setParentLocalId ( const QOrganizerItemLocalId & parentLocalId )

Sets the event occurrence's parent to be the event identified by the given parentLocalId

See also parentLocalId().

void QOrganizerEventOccurrence::setPriority ( QOrganizerItemPriority::Priority priority )

Sets the priority of the event occurrence to priority

See also priority().

QDateTime QOrganizerEventOccurrence::startDateTime () const

Returns the date time at which the event occurrence begins

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.