23 #ifndef _TelepathyQt_location_info_h_HEADER_GUARD_
24 #define _TelepathyQt_location_info_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
30 #include <TelepathyQt/Global>
33 #include <QSharedDataPointer>
35 #include <QVariantMap>
48 bool isValid()
const {
return mPriv.constData() != 0; }
52 QString countryCode()
const;
53 QString country()
const;
54 QString region()
const;
55 QString locality()
const;
57 QString postalCode()
const;
58 QString street()
const;
60 QString building()
const;
61 QString floor()
const;
64 QString description()
const;
67 QString language()
const;
69 double latitude()
const;
70 double longitude()
const;
71 double altitude()
const;
72 double accuracy()
const;
75 double bearing()
const;
77 QDateTime timestamp()
const;
79 QVariantMap allDetails()
const;
84 TP_QT_NO_EXPORT
void updateData(
const QVariantMap &location);
87 friend struct Private;
88 QSharedDataPointer<Private> mPriv;
bool isValid() const
Definition: location-info.h:48
The LocationInfo class represents the location of a Telepathy Contact.
Definition: location-info.h:40
The Contact class represents a Telepathy contact.
Definition: contact.h:51