/*!
    Returns the id of the todo which is this occurrence's parent.
 */
QOrganizerItemId QOrganizerTodoOccurrence::parentId() const
{
    QOrganizerItemParent origin = detail(QOrganizerItemDetail::TypeParent);
    return origin.parentId();
}
Esempio n. 2
0
/*!
  Returns the id of the event which is this occurrence's parent
  \since 1.1
 */
QOrganizerItemId QOrganizerEventOccurrence::parentId() const
{
    QOrganizerItemParent origin = detail<QOrganizerItemParent>();
    return origin.parentId();
}