QML OrganizerItem ElementThe OrganizerItem element represents the in-memory version of a calendar organizer item, and has no tie to a specific backend calendar store. More... Properties
MethodsDetailed DescriptionA OrganizerItem has a number of mandatory details. Different subclasses of OrganizerItem (i.e., Event, EventOccurrence, Journal, Todo, TodoOccurrence, Note) may have more mandatory details. If some of the organizer item details are non-unique, all of this type of detail values can be accessed by dynamic properties. For example, there are 3 comment details stored in an event item, they can be accessed by event.comments property, which holds a list of all comment details. If the dynamic property does not exist (for unique details), an undefined value is returned. The list of dynamic detail properties depends on the engine implementations. The OrganizerItem element is part of the QtMobility.organizer 1.1 module. See also Event, EventOccurrence, Journal, Todo, TodoOccurrence, Note, QOrganizerManager, and QOrganizerItem. Property DocumentationThis property holds the list of ItemDetail elements that the organizer item has. This property indicates whether the organizer item created with floating date time. A floating time will always appear with the same value regardless of what time zone the user is in. A non-floating (absolute) time represents the same time regardless of the time zone, but will appear to change in value if the user's time zone changes. This property is read only. This documentation was introduced in QtMobility organizer 1.1.1. If this OrganizerItem is an occurrence item, returns true, otherwise returns false. This is a read only property. This documentation was introduced in QtMobility organizer 1.1.1. This property holds the end date time of the OrganizerItem object. For differrent organizer item type, the return value is differrent, too. This documentation was introduced in QtMobility organizer 1.1.1. See also OrganizerItemType. This property holds the id of the OrganizerItem object. This property is read only. This property holds the start date time of the OrganizerItem object. For differrent organizer item type, the return value is differrent, too. This documentation was introduced in QtMobility organizer 1.1.1. See also OrganizerItemType. This property holds the manager uri which the OrganizerItem object comes from. This property holds the dirty flag of the OrganizerItem object. If the OrganizerItem has been changed, returns true, otherwise returns false. See also OrganizerItem::save. This property holds the type name of the organizer item. This property is read only. Method DocumentationAddes a comment for the organizer item. See also OrganizerItem::clearComments(). Adds the given organizer item detail to the organizer item, returns true if successful, otherwise returns false. Note:: If the detail has been added into the same organizer item before, this operation will be ignored, so if you want to add a detail multiple times, the detail should be copied before calling this function. Removes all comments from the organizer item. See also OrganizerItem::addComment(). Removes all details from the organizer item. See also OrganizerItem::removeDetail(). This method returns an ItemDetail object which detail name is name. This method returns a list of details which detail name is name. Removes given detail from the organizer item. If the detail is not removable, returns false. See also ItemDetail::removable. Saves this OrganizerItem if the item has been modified. See also OrganizerItem::modified. X
|