QtOrganizer Namespace

Functions

size_t qHash(const QtOrganizer::QOrganizerItemId &id)
size_t qHash(const QtOrganizer::QOrganizerCollectionId &id)
bool operator<(const QtOrganizer::QOrganizerItemId &id1, const QtOrganizer::QOrganizerItemId &id2)
bool operator<(const QtOrganizer::QOrganizerCollectionId &id1, const QtOrganizer::QOrganizerCollectionId &id2)

Function Documentation

size_t qHash(const QtOrganizer::QOrganizerItemId &id)

Returns the hash value for id.

size_t qHash(const QtOrganizer::QOrganizerCollectionId &id)

Returns the hash value for id.

bool operator<(const QtOrganizer::QOrganizerItemId &id1, const QtOrganizer::QOrganizerItemId &id2)

Returns true if the organizer item ID id1 will be considered less than the organizer item ID id2 if the manager URI of ID id1 is alphabetically less than the manager URI of the id2 ID. If both IDs have the same manager URI, ID id1 will be considered less than the ID id2 if the the engine specific ID of id1 is less than the engine specific ID of id2.

The invalid, null organizer item ID consists of an empty manager URI and a null engine ID, and hence will be less than any valid, non-null organizer item ID.

This operator is provided primarily to allow use of a QOrganizerItemId as a key in a QMap.

bool operator<(const QtOrganizer::QOrganizerCollectionId &id1, const QtOrganizer::QOrganizerCollectionId &id2)

Returns true if the collection ID id1 will be considered less than the collection ID id2 if the manager URI of ID id1 is alphabetically less than the manager URI of the id2 ID. If both IDs have the same manager URI, ID id1 will be considered less than the ID id2 if the the engine specific ID of id1 is less than the engine specific ID of id2.

The invalid, null collection ID consists of an empty manager URI and a null engine ID, and hence will be less than any valid, non-null collection ID.

This operator is provided primarily to allow use of a QOrganizerCollectionId as a key in a QMap.