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

QList<QDate> exceptionDates () const
QList<QOrganizerItemRecurrenceRule> exceptionRules () const
QList<QDate> recurrenceDates () const
QList<QOrganizerItemRecurrenceRule> recurrenceRules () const
void setExceptionDates ( const QList<QDate> & exdates )
void setExceptionRules ( const QList<QOrganizerItemRecurrenceRule> & xrules )
void setRecurrenceDates ( const QList<QDate> & rdates )
void setRecurrenceRules ( const QList<QOrganizerItemRecurrenceRule> & rrules )

Public Variables

const char * DefinitionName
const char * FieldExceptionDates
const char * FieldExceptionRules
const char * FieldRecurrenceDates
const char * 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

QList<QDate> QOrganizerItemRecurrence::exceptionDates () const

Returns a list of exception dates.

See also setExceptionDates().

QList<QOrganizerItemRecurrenceRule> QOrganizerItemRecurrence::exceptionRules () const

Returns a list of exception rules.

See also setExceptionRules().

QList<QDate> QOrganizerItemRecurrence::recurrenceDates () const

Returns a list of recurrence dates.

See also setRecurrenceDates().

QList<QOrganizerItemRecurrenceRule> QOrganizerItemRecurrence::recurrenceRules () const

Returns a list of recurrence rules.

See also setRecurrenceRules().

void QOrganizerItemRecurrence::setExceptionDates ( const QList<QDate> & exdates )

Sets a list of exception dates to exdates.

See also exceptionDates().

void QOrganizerItemRecurrence::setExceptionRules ( const QList<QOrganizerItemRecurrenceRule> & xrules )

Sets a list of exception rules to xrules.

See also exceptionRules().

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

Sets a list of recurrence dates to rdates.

See also recurrenceDates().

void QOrganizerItemRecurrence::setRecurrenceRules ( const QList<QOrganizerItemRecurrenceRule> & rrules )

Sets a list of recurrence rules to rrules.

See also recurrenceRules().


Member Variable Documentation

const char * QOrganizerItemRecurrence::DefinitionName

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

const char * 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 char * 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 char * 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 char * 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.


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0