QPlaceAttribute ClassThe QPlaceAttribute class represents generic attribute information about a place. More... #include <QPlaceAttribute> This class was introduced in Qt Location 5.0. Public Functions
Static Public Members
Detailed DescriptionThe QPlaceAttribute class represents generic attribute information about a place. A QPlaceAttribute instance stores an additional piece of information about a place that is not otherwise exposed through the QPlace class. A QPlaceAttribute encapsulates a localized label which describes the attribute and rich text string representing the attribute's value. Generally, both are intended to be displayed to the end-user as is. Attribute TypesThe QPlaceAttribute class defines some constant strings which characterize standard attribute types. There is a class of attribute types of the format x_id_<provider> for example x_id_nokia. This class of attributes is a set of alternative identifiers of the place, from the specified provider's perspective. The above types are used to access and modify attributes in QPlace via:
The attribute type is a string type so that providers are able to introduce new attributes as necessary. Custom attribute types should always be prefixed by a qualifier in order to avoid conflicts. User Readable and Non-User Readable AttributesSome attributes may not be intended to be readable by end users, the label field of such attributes are empty to indicate this fact. Member Function Documentation
|