The QOrganizerItemRecurrence class contains a list of rules and dates on which the recurrent item occurs, and a list of rules and dates on which exceptions occur. More...
#include <QOrganizerItemRecurrence>
Inherits: QOrganizerItemDetail.
This class was introduced in Qt Mobility 1.1.
QSet<QDate> | exceptionDates () const |
QSet<QOrganizerRecurrenceRule> | exceptionRules () const |
QSet<QDate> | recurrenceDates () const |
QSet<QOrganizerRecurrenceRule> | recurrenceRules () const |
void | setExceptionDates ( const QSet<QDate> & xdates ) |
void | setExceptionRules ( const QSet<QOrganizerRecurrenceRule> & xrules ) |
void | setRecurrenceDates ( const QSet<QDate> & rdates ) |
void | setRecurrenceRules ( const QSet<QOrganizerRecurrenceRule> & rrules ) |
bool | operator== ( const QOrganizerItemRecurrence & other ) const |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldExceptionDates |
const QLatin1Constant | FieldExceptionRules |
const QLatin1Constant | FieldRecurrenceDates |
const QLatin1Constant | FieldRecurrenceRules |
The QOrganizerItemRecurrence class contains a list of rules and dates on which the recurrent item occurs, and a list of rules and dates on which exceptions occur.
Returns the set of exception dates.
This function was introduced in Qt Mobility 1.1.
See also setExceptionDates().
Returns the set of exception rules.
This function was introduced in Qt Mobility 1.1.
See also setExceptionRules().
Returns the set of recurrence dates.
This function was introduced in Qt Mobility 1.1.
See also setRecurrenceDates().
Returns the set of recurrence rules.
This function was introduced in Qt Mobility 1.1.
See also setRecurrenceRules().
Sets the set of exception dates to xdates.
This function was introduced in Qt Mobility 1.1.
See also exceptionDates().
Sets the set of exception rules to xrules.
This function was introduced in Qt Mobility 1.1.
See also exceptionRules().
Sets the set of recurrence dates to rdates.
This function was introduced in Qt Mobility 1.1.
See also recurrenceDates().
Sets the set of recurrence rules to rrules.
This function was introduced in Qt Mobility 1.1.
See also recurrenceRules().
Returns true if the other recurrence detail is equal to this detail; otherwise, false.
Since the data types stored in this detail are custom data types, the base class operator==() doesn't know how to perform the comparison without calling this function. However, it means that if (in the future) a backend were to extend the detail with more fields, this operator== would no longer work; it'd have to be updated to compare the other fields also.
This function was introduced in Qt Mobility 1.1.
The constant string which identifies the definition of details which are organizer item recurrence specifications.
The constant key for the value which is stored in details of the QOrganizerItemRecurrence type which describes the dates on which an item should not recur.
If a recurrence rule or the recurrence dates list specifies that an item should occur on a particular date and that date appears in the exception dates list, the item should not occur on that date.
The constant key for the value which is stored in details of the QOrganizerItemRecurrence type which describes the rules for when an item should not recur.
If a recurrence rule or the recurrence dates list specifies that an item should occur on a particular date and any of the exception rules include that date, the item should not occur on that date.
The constant key for the value which is stored in details of the QOrganizerItemRecurrence type which describes the dates on which an item should recur.
The constant key for the value which is stored in details of the QOrganizerItemRecurrence type which describes the rules for when an item should recur.
When multiple rules are specified, the list of recurrence dates are calculated separately for each rule and the results are unioned.