- Qt 5.0
- Supported iCalendar Features
- Qt 5.0.0 Reference Documentation

# Supported iCalendar Features

## Calendar Components

The ical specification allows a number of components to be supported within each calendar. The following are supported with the QOrganizer Versit implementation.

Versit Component | QOrganizer Component
--- | ---
VEVENT | QOrganizerEvent, QOrganizerEventOccurrence
VTODO | QOrganizerTodo, QOrganizerTodoOccurrence
VJOURNAL | QOrganizerJournal
VALARM | QOrganizerItemAudibleReminder, QOrganizerItemEmailReminder, QOrganizerItemVisualReminder

## Properties

The following table lists the iCalendar properties that the Qt Versit C++ API supports for the Organizer calendar components.

Versit Property | QOrganizerDetail
--- | ---
DTSTART | QOrganizerEventTime
DTEND | QOrganizerEventTime
RECURRENCE-ID | QOrganizerItemParent
UID | QOrganizerItemId
PRIORITY | QOrganizerItemPriority
DUE | QOrganizerTodoTime
CREATED | QOrganizerTodoTime, QOrganizerItemTimestamp
LAST-MODIFIED | QOrganizerTodoTime, QOrganizerItemTimestamp
RRULE | QOrganizerItemRecurrence
EXRULE | QOrganizerRecurrenceRule
EXDATE | QOrganizerRecurrenceRule
INTERVAL | QOrganizerRecurrenceRule
FREQ | QOrganizerRecurrenceRule
RDATE | QOrganizerRecurrenceRule
DATE | QOrganizerEventTime
COMMENT | QOrganizerItemComment
DUE | QOrganizerTodoTime
CATEGORIES | QOrganizerItemTag
X-QTPROJECT-EXTENDED-DETAIL | QOrganizerItemExtendedDetail

## Parameters

The Versit module supports the following vCard parameter:

- ENCODING (for base64 or quoted-printable values)
- CHARSET (text character set for a specific property)
- TYPE (see below)

The following table lists the values that are supported for the TYPE parameter:

Value of TYPE parameter | Value of QOrganizerDetail Context/SubType
--- | ---
DAILY | QOrganizerRecurrenceRule::Daily
WEEKLY | QOrganizerRecurrenceRule::Weekly
MONTHLY | QOrganizerRecurrenceRule::Monthly
YEARLY | QOrganizerRecurrenceRule::Yearly
COUNT | QOrganizerRecurrenceRule::CountLimit
UNTIL | QOrganizerRecurrenceRule::DateLimit
INTERVAL | QOrganizerRecurrenceRule::Frequency
BYDAY | Qt::DayOfWeek
BYMONTHDAY | see QOrganizerRecurrenceRule::setDaysOfMonth()
BYYEARDAY | see QOrganizerRecurrenceRule::setDaysOfYear()
BYWEEKNO | see QOrganizerRecurrenceRule::setWeeksOfYear()
BYMONTH | QOrganizerRecurrenceRule::Month
BYSETPOS | see QOrganizerRecurrenceRule::setPositions()
WKST | Qt::DayOfWeek
STATUS | QOrganizerTodoProgress::FieldStatus
IN-PROCESS | QOrganizerTodoProgress::StatusInProgress
COMPLETED | QOrganizerTodoProgress::StatusComplete
NEEDS-ACTION | QOrganizerTodoProgress::StatusNotStarted
PERCENT-COMPLETE | QOrganizerTodoProgress::FieldPercentageComplete