QPlaceContactDetail Class▲
-
Header: QPlaceContactDetail
-
qmake: QT += location
-
Group: QPlaceContactDetail is part of QtLocation-places, QtLocation-places-data
I. Detailed Description▲
The detail consists of a label and value. The label is a localized string that can be presented to the end user that describes that detail value which is the actual phone number, email address and so on.
I-1. Contact Types▲
The QPlaceContactDetail class defines some constant strings which characterize standard contact types.
These types are used to access and modify contact details in QPlace via:
The contact type is intended to be a string type so that providers are able to introduce new contact types if necessary.
II. Property Documentation▲
II-1. label : QString▲
This property holds a label describing the contact detail.
The label can potentially be localized. The language is dependent on the entity that sets it, typically this is the manager from which the places are sourced. The QPlaceManager::locales() field defines what language is used.
Access functions:
-
label() const
-
void setLabel(const &label)
II-2. value : QString▲
This property holds the value of the contact detail.
Access functions:
-
value() const
-
void setValue(const &value)
III. Member Function Documentation▲
III-1. QPlaceContactDetail::QPlaceContactDetail()▲
Constructs a contact detail.
III-2. QPlaceContactDetail::QPlaceContactDetail(const QPlaceContactDetail &other)▲
Creates a copy of other.
III-3. QPlaceContactDetail::~QPlaceContactDetail()▲
Destroys the contact detail.
III-4. void QPlaceContactDetail::clear()▲
Clears the contact detail.
III-5. QPlaceContactDetail &QPlaceContactDetail::operator=(const QPlaceContactDetail &other)▲
Assigns other to this contact detail and returns a reference to this contact detail.
IV. Member Variable Documentation▲
IV-1. const QString QPlaceContactDetail::Email▲
The constant to specify email contact details.
IV-2. const QString QPlaceContactDetail::Fax▲
The constant used to specify fax contact details.
IV-3. const QString QPlaceContactDetail::Phone▲
The constant to specify phone contact details
IV-4. const QString QPlaceContactDetail::Website▲
The constant used to specify website contact details.
V. Related Non-Members▲
V-1. bool operator!=(const QPlaceContactDetail &lhs, const QPlaceContactDetail &rhs)▲
Returns true if the contact detail lhs is not equal to rhs, otherwise returns false.
V-2. bool operator==(const QPlaceContactDetail &lhs, const QPlaceContactDetail &rhs)▲
Returns true if the contact detail lhs is equal to rhs, otherwise returns false.