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
QDateTime QOrganizerEventOccurrence::endDateTime () const
Returns the date time at which the event occurrence ends. For all-day events, the time part is meaningless, and the date is to be interpreted as the inclusive end date.
See also setEndDateTime().
QString QOrganizerEventOccurrence::location () const
Returns the label of the location at which the event occurrence is held, if known
See also setLocation().
QDate QOrganizerEventOccurrence::originalDate () const
Returns the date at which the occurrence was originally going to occur.
See also setOriginalDate().
QOrganizerItemId QOrganizerEventOccurrence::parentId () const
Returns the id of the event which is this occurrence's parent
See also setParentId().
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. 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().
void QOrganizerEventOccurrence::setLocation ( const QString & location )
Sets the label of the location at which the event occurrence is held to location
See also location().
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::setParentId ( const QOrganizerItemId & parentId )
Sets the event occurrence's parent to be the event identified by the given parentId
See also parentId().
Sets the priority of the event occurrence to priority
See also priority().
void QOrganizerEventOccurrence::setStartDateTime ( const QDateTime & startDateTime )
Sets the start date time of the event occurrence to startDateTime. instance). For all-day events, the time part is meaningless.
See also startDateTime().
QDateTime QOrganizerEventOccurrence::startDateTime () const
Returns the date time at which the event occurrence begins. For all-day events, the time part can be set to any valid value.
See also setStartDateTime().