The QOrganizerCollectionEngineId class uniquely identifies an item within a particular engine plugin. More...
#include <QOrganizerCollectionEngineId>
Inherits QSharedData.
virtual | ~QOrganizerCollectionEngineId () |
virtual QOrganizerCollectionEngineId * | clone () const = 0 |
virtual QDebug & | debugStreamOut ( QDebug & dbg ) const = 0 |
virtual uint | hash () const = 0 |
virtual bool | isEqualTo ( const QOrganizerCollectionEngineId * other ) const = 0 |
virtual bool | isLessThan ( const QOrganizerCollectionEngineId * other ) const = 0 |
virtual QString | managerUri () const = 0 |
virtual QString | toString () const = 0 |
The QOrganizerCollectionEngineId class uniquely identifies an item within a particular engine plugin.
Clients of the Organizer API should never use this class. Every engine implementor must implement a class derived from QOrganizerCollectionEngineId.
This class is provided so that engine implementors can implement their own id class (which may contain arbitrary data, and which may implement the required functions in an arbitrary manner).
Cleans up any memory in use by this engine collection id.
Returns a deep-copy clone of this id. The caller takes ownership of the returned engine collection id.
Streams this id out to the debug stream dbg.
Returns the hash value of this id.
Returns true if this id is equal to the other id; false otherwise. Note that when implementing this function, you do not have to check that the type is the same, since the function which calls this function (in QOrganizerCollectionId) does that check for you.
Returns true if this id is less than the other id; false otherwise. Note that when implementing this function, you do not have to check that the type is the same, since the function which calls this function (in QOrganizerCollectionId) does that check for you.
Returns the manager URI of the constructed manager which created the id. If the collection which the id identifies has not been deleted, the id should still be valid in the manager identified by the manager URI returned by this function.
Serializes the id to a string. It contains all of the information required to identify a particular collection in the manager which created the id, formatted according to the serialization format of the manager.