The QLandmarkCategoryId class provides a unique identifier for a category. More...
#include <QLandmarkCategoryId>
QLandmarkCategoryId () | |
QLandmarkCategoryId ( const QLandmarkCategoryId & other ) | |
~QLandmarkCategoryId () | |
bool | isValid () const |
QString | localId () const |
QString | managerUri () const |
void | setLocalId ( const QString & id ) |
void | setManagerUri ( const QString & uri ) |
bool | operator!= ( const QLandmarkCategoryId & other ) const |
QLandmarkCategoryId & | operator= ( const QLandmarkCategoryId & other ) |
bool | operator== ( const QLandmarkCategoryId & other ) const |
The QLandmarkCategoryId class provides a unique identifier for a category.
It consists of a manager URI which identifies the manager which contains the category, and a manager specific local id for that category.
Creates an invalid identifier.
The local id and manager URI are empty strings.
Constructs a copy of other.
Destroys the identifier.
Returns true if the identifier is valid, meaning that both a manager URI and local id have been set
Returns the local id of the category identifier.
This id is specific to a particular landmark manager.
See also setLocalId().
Returns the URI of the manager which this category identifer belongs to.
See also setManagerUri().
Sets the local id of the category identifier.
See also localId().
Sets the manager uri which this category identifier belongs to.
See also managerUri().
Returns true if this category identifier is not equal to other, otherwise returns false.
If either the manager URIs or local ids differ, then the QLandmarkCategoryIds are not considered equal.
See also operator==().
Assigns other to this category identifier and returns a reference to this category identifier.
Returns true if this category identifer is equal to other, otherwise returns false.
Two QLandmarkCategoryIds are considered equal if both have the same manager URI and local id.
See also operator!=().