|
| static bool | isItem (const QDomElement &itemElement) |
| |
| static bool | isItem (const QDomElement &element) |
| |
|
| virtual void | parsePayload (const QDomElement &payloadElement) |
| |
| virtual void | serializePayload (QXmlStreamWriter *writer) const |
| |
| template<typename PayloadChecker > |
| static bool | isItem (const QDomElement &element, PayloadChecker isPayloadValid) |
| |
This class represents a PubSub item for XEP-0080: User Location.
- Since
- QXmpp 1.5
◆ QXmppGeolocItem()
| QXmppGeolocItem::QXmppGeolocItem |
( |
| ) |
|
◆ accuracy()
| std::optional< double > QXmppGeolocItem::accuracy |
( |
| ) |
const |
Returns the horizontal GPS error in meters.
◆ country()
| QString QXmppGeolocItem::country |
( |
| ) |
const |
◆ isItem()
| bool QXmppGeolocItem::isItem |
( |
const QDomElement & |
itemElement | ) |
|
|
static |
◆ latitude()
| std::optional< double > QXmppGeolocItem::latitude |
( |
| ) |
const |
Returns the latitude in decimal degrees.
◆ locality()
| QString QXmppGeolocItem::locality |
( |
| ) |
const |
Returns the locality such as a town or a city.
◆ longitude()
| std::optional< double > QXmppGeolocItem::longitude |
( |
| ) |
const |
Returns the longitude in decimal degrees.
◆ setAccuracy()
| void QXmppGeolocItem::setAccuracy |
( |
std::optional< double > |
accuracy | ) |
|
Sets the horizontal GPS error.
◆ setCountry()
| void QXmppGeolocItem::setCountry |
( |
QString |
country | ) |
|
◆ setLatitude()
| void QXmppGeolocItem::setLatitude |
( |
std::optional< double > |
lat | ) |
|
◆ setLocality()
| void QXmppGeolocItem::setLocality |
( |
QString |
locality | ) |
|
◆ setLongitude()
| void QXmppGeolocItem::setLongitude |
( |
std::optional< double > |
lon | ) |
|
The documentation for this class was generated from the following files: