OrganizerItem QML Type
The OrganizerItem element represents the in-memory version of a organizer item. More...
Import Statement: | import QtOrganizer 5.0 |
Properties
- collectionId : string
- description : string
- displayLabel : string
- guid : string
- itemDetails : list<Detail>
- itemId : string
- itemType : enum
- manager : string
- modified : bool
Signals
Methods
- clearDetails()
- Detail detail(type)
- list<Detail> details(type)
- void removeDetail(detail)
- save()
- void setDetail(detail)
Detailed Description
A OrganizerItem has a number of mandatory details. Different subclasses of OrganizerItem (i.e., Event, EventOccurrence, Journal, Todo, TodoOccurrence, Note) may have more mandatory details.
Most frequently-used details can also be accessed through convenient properties, e.g. displayLabel, while all details can be accessed through detail(), details(), saveDetail(), among others.
See also Event, EventOccurrence, Journal, Todo, TodoOccurrence, Note, QOrganizerManager, and QOrganizerItem.
Property Documentation
itemDetails : list<Detail> |
This property holds the details of the OrganizerItem object.
This property holds the id of the OrganizerItem object.
This property holds the type of the OrganizerItem object.
This property holds the manager uri which the OrganizerItem object comes from.
This property holds the dirty flag of the OrganizerItem object.
See also save.
Signal Documentation
This signal is emitted, when any of the OrganizerItem's or child element's (like Event, Todo etc) properties have been changed.
Method Documentation
Removes all details from the organizer item.
See also removeDetail.
Detail detail(type) |
Returns the first detail stored in the organizer item with the given type.
See also setDetail() and Detail::type.
list<Detail> details(type) |
Returns all the details stored in the organizer item with the given type.
See also Detail::type.
Saves this OrganizerItem if the item has been modified.
See also modified.
Saves the given detail in the organizer item, and sets its id.
See also detail().