The QOrganizerItemEngineId class uniquely identifies an item within a particular engine plugin. More...
#include <QOrganizerItemEngineId>
Inherits QSharedData.
virtual | ~QOrganizerItemEngineId () |
virtual QOrganizerItemEngineId * | clone () const = 0 |
virtual QDebug & | debugStreamOut ( QDebug & dbg ) const = 0 |
virtual uint | hash () const = 0 |
virtual bool | isEqualTo ( const QOrganizerItemEngineId * other ) const = 0 |
virtual bool | isLessThan ( const QOrganizerItemEngineId * other ) const = 0 |
virtual QString | managerUri () const = 0 |
virtual QString | toString () const = 0 |
The QOrganizerItemEngineId 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 QOrganizerItemEngineId.
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 item id.
Returns a deep-copy clone of this id. The caller takes ownership of the returned engine item 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 QOrganizerItemId) 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 QOrganizerItemId) does that check for you.
Returns the manager URI of the constructed manager which created the id. If the item 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 item in the manager which created the id, formatted according to the serialization format of the manager.