Qt Mobility Reference Documentation

QOrganizerItemRecurrence Class Reference

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.


Public Functions

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 )

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldExceptionDates
const QLatin1Constant FieldExceptionRules
const QLatin1Constant FieldRecurrenceDates
const QLatin1Constant FieldRecurrenceRules

Detailed Description

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.


Member Function Documentation

QSet<QDate> QOrganizerItemRecurrence::exceptionDates () const

Returns the set of exception dates.

See also setExceptionDates().

QSet<QOrganizerRecurrenceRule> QOrganizerItemRecurrence::exceptionRules () const

Returns the set of exception rules.

See also setExceptionRules().

QSet<QDate> QOrganizerItemRecurrence::recurrenceDates () const

Returns the set of recurrence dates.

See also setRecurrenceDates().

QSet<QOrganizerRecurrenceRule> QOrganizerItemRecurrence::recurrenceRules () const

Returns the set of recurrence rules.

See also setRecurrenceRules().

void QOrganizerItemRecurrence::setExceptionDates ( const QSet<QDate> & xdates )

Sets the set of exception dates to xdates.

See also exceptionDates().

void QOrganizerItemRecurrence::setExceptionRules ( const QSet<QOrganizerRecurrenceRule> & xrules )

Sets the set of exception rules to xrules.

See also exceptionRules().

void QOrganizerItemRecurrence::setRecurrenceDates ( const QSet<QDate> & rdates )

Sets the set of recurrence dates to rdates.

See also recurrenceDates().

void QOrganizerItemRecurrence::setRecurrenceRules ( const QSet<QOrganizerRecurrenceRule> & rrules )

Sets the set of recurrence rules to rrules.

See also recurrenceRules().


Member Variable Documentation

const QLatin1Constant QOrganizerItemRecurrence::DefinitionName

The constant string which identifies the definition of details which are organizer item recurrence specifications.

const QLatin1Constant QOrganizerItemRecurrence::FieldExceptionDates

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.

const QLatin1Constant QOrganizerItemRecurrence::FieldExceptionRules

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.

const QLatin1Constant QOrganizerItemRecurrence::FieldRecurrenceDates

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.

const QLatin1Constant QOrganizerItemRecurrence::FieldRecurrenceRules

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.

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.