The QOrganizerItemId class provides information that uniquely identifies an organizer item in a particular manager. More...
#include <QOrganizerItemId>
QOrganizerItemId () | |
QOrganizerItemId ( const QOrganizerItemId & other ) | |
~QOrganizerItemId () | |
QOrganizerItemLocalId | localId () const |
QString | managerUri () const |
void | setLocalId ( const QOrganizerItemLocalId & id ) |
void | setManagerUri ( const QString & uri ) |
bool | operator!= ( const QOrganizerItemId & other ) const |
bool | operator< ( const QOrganizerItemId & other ) const |
QOrganizerItemId & | operator= ( const QOrganizerItemId & other ) |
bool | operator== ( const QOrganizerItemId & other ) const |
typedef | QOrganizerItemLocalId |
The QOrganizerItemId class provides information that uniquely identifies an organizer item in a particular manager.
It consists of a manager URI which identifies the manager which contains the organizer item, and the local id of the organizer item in that manager.
A "null" QOrganizerItemId has an empty manager URI, and an invalid QOrganizerItemLocalId (0).
See also QOrganizerItemLocalId.
Constructs a new organizer item id
Constructs a new organizer item id as a copy of other
Cleans up the memory in use by the organizer item id
Returns the manager-local id of the organizer item identified by this organizer item id
See also setLocalId().
Returns the URI of the manager which contains the organizer item identified by this id
See also setManagerUri().
Sets the manager-local id of the organizer item identified by this organizer item id to id
See also localId().
Sets the URI of the manager which contains the organizer item identified by this id to uri
See also managerUri().
Returns true if either the manager URI or local id of the organizer item id is different to that of other
Returns true if this id is less than the other id. This id will be considered less than the other id if the manager URI of this id is alphabetically less than the manager URI of the other id. If both ids have the same manager URI, this id will be considered less than the other id if the local id of this id is less than the local id of the other id.
The invalid, empty id consists of an empty manager URI and the invalid, zero local id, and hence will be less than any non-invalid id.
This operator is provided primarily to allow use of a QOrganizerItemId as a key in a QMap.
Assigns the organizer item id to be equal to other
Returns true if the organizer item id has the same manager URI and local id as other
The QOrganizerItemLocalId type represents the unique id of an organizer item within its manager.
Most operations within a QOrganizerItemManager accept a QOrganizerItemLocalId. Some operations (involving links to organizer items outside a particular manager) also accept a manager URI - this combination is stored in a QOrganizerItemId.
An invalid QOrganizerItemLocalId is represented by a zero (0) value.
See also QOrganizerItemId.