/*! Returns the id of the todo which is this occurrence's parent. */ QOrganizerItemId QOrganizerTodoOccurrence::parentId() const { QOrganizerItemParent origin = detail(QOrganizerItemDetail::TypeParent); return origin.parentId(); }
/*! 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(); }