The QPlaceContactDetail class represents a contact detail such as a phone number or website url. More...
Header: | #include <QPlaceContactDetail> |
qmake: | QT += location |
QPlaceContactDetail(const QPlaceContactDetail &other) | |
QPlaceContactDetail() | |
QPlaceContactDetail & | operator=(const QPlaceContactDetail &other) |
virtual | ~QPlaceContactDetail() |
void | clear() |
QString | label() const |
void | setLabel(const QString &label) |
void | setValue(const QString &value) |
QString | value() const |
bool | operator!=(const QPlaceContactDetail &other) const |
bool | operator==(const QPlaceContactDetail &other) const |
const QString | |
const QString | Fax |
const QString | Phone |
const QString | Website |
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.
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.
Creates a copy of other.
Constructs a contact detail.
Assigns other to this contact detail and returns a reference to this contact detail.
[virtual]
QPlaceContactDetail::~QPlaceContactDetail()
Destroys the contact detail.
Clears the contact detail.
Returns 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.
See also setLabel().
Sets the label of the contact detail.
See also label().
Sets the value of this contact detail.
See also value().
Returns the value of the contact detail.
See also setValue().
Returns true if other is not equal to this contact detail, otherwise returns false.
Returns true if other is equal to this contact detail, otherwise returns false.
The constant to specify email contact details.
The constant used to specify fax contact details.
The constant to specify phone contact details
The constant used to specify website contact details.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qplacecontactdetail.html