The QOrganizerCollectionId class provides information that uniquely identifies a collection in a particular manager. More...
#include <QOrganizerCollectionId>
This class was introduced in Qt Mobility 1.1.
QOrganizerCollectionId () | |
QOrganizerCollectionId ( QOrganizerCollectionEngineId * engineItemId ) | |
QOrganizerCollectionId ( const QOrganizerCollectionId & other ) | |
~QOrganizerCollectionId () | |
bool | isNull () const |
QString | managerUri () const |
QString | toString () const |
bool | operator!= ( const QOrganizerCollectionId & other ) const |
bool | operator< ( const QOrganizerCollectionId & other ) const |
QOrganizerCollectionId & | operator= ( const QOrganizerCollectionId & other ) |
bool | operator== ( const QOrganizerCollectionId & other ) const |
QOrganizerCollectionId | fromString ( const QString & idString ) |
The QOrganizerCollectionId class provides information that uniquely identifies a collection in a particular manager.
It consists of a manager URI which identifies the manager which manages the collection, and the id of the collection in that manager.
A "null" QOrganizerCollectionId has an empty manager URI, and an invalid QOrganizerCollectionId (0).
Constructs a new, null collection id
Constructs a manager-unique id which wraps the given engine-unique item id engineItemId. This id takes ownership of the engine-unique item id and will delete it when the id goes out of scope. Engine implementors must not delete the engineItemId or undefined behaviour will occur.
This function was introduced in Qt Mobility 1.1.
Constructs a new collection id as a copy of other
This function was introduced in Qt Mobility 1.1.
Cleans up the memory in use by the collection id
Deserializes the given idString. Returns a default-constructed (null) item id if the given idString is not a valid, serialized item id, or if the manager engine from which the id came could not be found.
This function was introduced in Qt Mobility 1.1.
Returns true if the id part of this id is a null (default constructed) id; otherwise, returns false.
This function was introduced in Qt Mobility 1.1.
Returns the URI of the manager which contains the collection identified by this id
Serializes the id to a string. The format of the string will be: "qtorganizer:managerName:constructionParams:serializedEngineLocalItemId"
This function was introduced in Qt Mobility 1.1.
Returns true if either the manager URI or id of the collection id is different to that of other
This function was introduced in Qt Mobility 1.1.
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 id of this id is less than the id of the other id.
The invalid, empty id consists of an empty manager URI and the invalid, zero id, and hence will be less than any non-invalid id.
This operator is provided primarily to allow use of a QOrganizerCollectionId as a key in a QMap.
This function was introduced in Qt Mobility 1.1.
Assigns the collection id to be equal to other
This function was introduced in Qt Mobility 1.1.
Returns true if the collection id has the same manager URI and id as other
This function was introduced in Qt Mobility 1.1.