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; }
69 double latitude()
const;
70 double longitude()
const;
71 double altitude()
const;
72 double accuracy()
const;
75 double bearing()
const;
79 QVariantMap allDetails()
const;
84 TP_QT_NO_EXPORT
void updateData(
const QVariantMap &location);
87 friend struct Private;
Definition: abstract-adaptor.cpp:31
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
bool isValid() const
Definition: location-info.h:48