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.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.