QOrganizerItemParent Class

The QOrganizerItemParent class contains information about the event or todo that generated this item. More...

Header: #include <QOrganizerItemParent>
Inherits: QOrganizerItemDetail.

Public Types

enum ParentField { FieldParentId, FieldOriginalDate }

Public Functions

QDate originalDate() const
QOrganizerItemId parentId() const
void setOriginalDate(const QDate & date)
void setParentId(const QOrganizerItemId & parentId)

Detailed Description

The QOrganizerItemParent class contains information about the event or todo that generated this item.

Member Type Documentation

enum QOrganizerItemParent::ParentField

This enumeration defines the fields supported by QOrganizerItemParent.

ConstantValueDescription
QOrganizerItemParent::FieldParentIdTypeParent + 1The value stored describes the ID of the item's parent item.
QOrganizerItemParent::FieldOriginalDate?The value stored describes the original date of this instance or exception according to the recurrent series of the parent item is stored.

Member Function Documentation

QDate QOrganizerItemParent::originalDate() const

Returns the original date of this instance origin item.

See also setOriginalDate().

QOrganizerItemId QOrganizerItemParent::parentId() const

Returns the ID of the item instance origin's parent item.

See also setParentId().

void QOrganizerItemParent::setOriginalDate(const QDate & date)

Sets the origin date to date.

See also originalDate().

void QOrganizerItemParent::setParentId(const QOrganizerItemId & parentId)

Sets the parent ID of this instance origin item to parentId.

See also parentId().