The QOrganizerEventOccurrence class provides an occurrence of an event. More...
#include <QOrganizerEventOccurrence>
Inherits: QOrganizerItem.
This class was introduced in Qt Mobility 1.1.
QDateTime | endDateTime () const |
QString | location () const |
QDate | originalDate () const |
QOrganizerItemId | parentId () const |
QOrganizerItemPriority::Priority | priority () const |
void | setEndDateTime ( const QDateTime & endDateTime ) |
void | setLocation ( const QString & location ) |
void | setOriginalDate ( const QDate & date ) |
void | setParentId ( const QOrganizerItemId & parentId ) |
void | setPriority ( QOrganizerItemPriority::Priority priority ) |
void | setStartDateTime ( const QDateTime & startDateTime ) |
QDateTime | startDateTime () const |
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.
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.
This function was introduced in Qt Mobility 1.1.
See also setEndDateTime().
Returns the label of the location at which the event occurrence is held, if known
This function was introduced in Qt Mobility 1.1.
See also setLocation().
Returns the date at which the occurrence was originally going to occur.
This function was introduced in Qt Mobility 1.1.
See also setOriginalDate().
Returns the id of the event which is this occurrence's parent
This function was introduced in Qt Mobility 1.1.
See also setParentId().
Returns the priority of the event occurrence
This function was introduced in Qt Mobility 1.1.
See also setPriority().
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.
This function was introduced in Qt Mobility 1.1.
See also endDateTime().
Sets the label of the location at which the event occurrence is held to location
This function was introduced in Qt Mobility 1.1.
See also location().
Sets the date at which this occurrence was originally going to occur, to the given date.
This function was introduced in Qt Mobility 1.1.
See also originalDate().
Sets the event occurrence's parent to be the event identified by the given parentId
This function was introduced in Qt Mobility 1.1.
See also parentId().
Sets the priority of the event occurrence to priority
This function was introduced in Qt Mobility 1.1.
See also priority().
Sets the start date time of the event occurrence to startDateTime. instance). For all-day events, the time part is meaningless.
This function was introduced in Qt Mobility 1.1.
See also startDateTime().
Returns the date time at which the event occurrence begins. For all-day events, the time part can be set to any valid value.
This function was introduced in Qt Mobility 1.1.
See also setStartDateTime().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.