The QOrganizerEvent class provides an event in time which may reoccur More...
#include <QOrganizerEvent>
Inherits QOrganizerItem.
QDateTime | endDateTime () const |
QSet<QDate> | exceptionDates () const |
QOrganizerRecurrenceRule | exceptionRule () const |
QSet<QOrganizerRecurrenceRule> | exceptionRules () const |
bool | isAllDay () const |
QString | location () const |
QOrganizerItemPriority::Priority | priority () const |
QSet<QDate> | recurrenceDates () const |
QOrganizerRecurrenceRule | recurrenceRule () const |
QSet<QOrganizerRecurrenceRule> | recurrenceRules () const |
void | setAllDay ( bool isAllDay ) |
void | setEndDateTime ( const QDateTime & endDateTime ) |
void | setExceptionDates ( const QSet<QDate> & exdates ) |
void | setExceptionRule ( const QOrganizerRecurrenceRule & xrule ) |
void | setExceptionRules ( const QSet<QOrganizerRecurrenceRule> & exrules ) |
void | setLocation ( const QString & location ) |
void | setPriority ( QOrganizerItemPriority::Priority priority ) |
void | setRecurrenceDates ( const QSet<QDate> & rdates ) |
void | setRecurrenceRule ( const QOrganizerRecurrenceRule & rrule ) |
void | setRecurrenceRules ( const QSet<QOrganizerRecurrenceRule> & rrules ) |
void | setStartDateTime ( const QDateTime & startDateTime ) |
QDateTime | startDateTime () const |
The QOrganizerEvent class provides an event in time which may reoccur
A QOrganizerEvent is an item which occurs at a particular point in time and may be associated with a location or have other details. It may have a set of recurrence rules or dates on which the event occurs associated with it, and also exceptions to those recurrences.
Returns the date time at which the first instance of the event ends
See also setEndDateTime().
Returns the list of dates on which the event explicitly does not occur despite the recurrence rules for the event
See also setExceptionDates().
Returns an exception rule which has been explicitly set for the event. Note: if more than one exception rule exists, the order of the rules is undefined, so any one could be returned.
See also setExceptionRule().
Returns the list of exception rules for the event
See also setExceptionRules().
Returns true if and only if the time component of the start date/time or end date/time are insignificant.
Returns the label of the location at which the event occurs, if known
See also setLocation().
Returns the priority of the event
See also setPriority().
Returns the list of dates which have been explicitly set as dates on which the event occurs
See also setRecurrenceDates().
Returns a recurrence rule which has been explicitly set for the event. Note: if more than one rule exists, the order of the rules is undefined, so any one could be returned.
See also setRecurrenceRule().
Returns the list of recurrence rules which define when the event occurs
See also setRecurrenceRules().
Sets whether the time-of-day component of the event's start date-time or end date-time is insignificant (eg. isAllDay is generally true for a birthday). If isAllDay is true, the time-of-day component is considered insignificant, and the event will be an all-day item.
See also isAllDay().
Sets the end date time of the event to endDateTime
See also endDateTime().
Sets the given list of dates exdates to be dates on which the event explicitly does not occur, even if the recurrence rules suggest that the event should occur on those dates. Any previously specified exception dates will be cleared when this function is called.
See also exceptionDates().
Sets the given single recurrence rules xrule to be the rule which defines when the event does not occur. Any previously specified exception rules will be cleared when this function is called.
See also exceptionRule() and setExceptionRules().
Sets the given list of recurrence rules exrules to be the rules which define when the event does not occur. Any previously specified exception rules will be cleared when this function is called.
See also exceptionRules().
Sets the label of the location at which the event occurs to location
See also location().
Sets the priority of this event to priority
See also priority().
Sets the list of dates rdates to be dates on which the event occurs
See also recurrenceDates().
Sets a single recurrence rule rrule to be the rule which define when the event occurs, other than those dates specified explicitly via setRecurrenceDates().
See also recurrenceRule() and setRecurrenceRules().
Sets the list of recurrence rules rrules to be the rules which define when the event occurs, other than those dates specified explicitly via setRecurrenceDates().
See also recurrenceRules().
Sets the start date time of the event to startDateTime
See also startDateTime().
Returns the date time at which the first instance of the event starts
See also setStartDateTime().