Home · Modules · All Classes · All Namespaces
Public Member Functions | List of all members
Tp::LocationInfo Class Reference

The LocationInfo class represents the location of a Telepathy Contact. More...

#include <TelepathyQt/LocationInfo>

Public Member Functions

 LocationInfo ()
 
 LocationInfo (const QVariantMap &location)
 
 LocationInfo (const LocationInfo &other)
 
virtual ~LocationInfo ()
 
bool isValid () const
 
LocationInfooperator= (const LocationInfo &other)
 
QString countryCode () const
 
QString country () const
 
QString region () const
 
QString locality () const
 
QString area () const
 
QString postalCode () const
 
QString street () const
 
QString building () const
 
QString floor () const
 
QString room () const
 
QString text () const
 
QString description () const
 
QString uri () const
 
QString language () const
 
double latitude () const
 
double longitude () const
 
double altitude () const
 
double accuracy () const
 
double speed () const
 
double bearing () const
 
QDateTime timestamp () const
 
QVariantMap allDetails () const
 

Detailed Description

The LocationInfo class represents the location of a Telepathy Contact.

Constructor & Destructor Documentation

◆ LocationInfo() [1/3]

Tp::LocationInfo::LocationInfo ( )

Construct a new LocationInfo object.

◆ LocationInfo() [2/3]

Tp::LocationInfo::LocationInfo ( const QVariantMap &  location)

◆ LocationInfo() [3/3]

Tp::LocationInfo::LocationInfo ( const LocationInfo other)

◆ ~LocationInfo()

Tp::LocationInfo::~LocationInfo ( )
virtual

Class destructor.

Member Function Documentation

◆ isValid()

bool Tp::LocationInfo::isValid ( ) const
inline

◆ operator=()

LocationInfo & Tp::LocationInfo::operator= ( const LocationInfo other)

◆ countryCode()

QString Tp::LocationInfo::countryCode ( ) const

◆ country()

QString Tp::LocationInfo::country ( ) const

◆ region()

QString Tp::LocationInfo::region ( ) const

◆ locality()

QString Tp::LocationInfo::locality ( ) const

◆ area()

QString Tp::LocationInfo::area ( ) const

◆ postalCode()

QString Tp::LocationInfo::postalCode ( ) const

◆ street()

QString Tp::LocationInfo::street ( ) const

◆ building()

QString Tp::LocationInfo::building ( ) const

◆ floor()

QString Tp::LocationInfo::floor ( ) const

◆ room()

QString Tp::LocationInfo::room ( ) const

◆ text()

QString Tp::LocationInfo::text ( ) const

◆ description()

QString Tp::LocationInfo::description ( ) const

◆ uri()

QString Tp::LocationInfo::uri ( ) const

◆ language()

QString Tp::LocationInfo::language ( ) const

◆ latitude()

double Tp::LocationInfo::latitude ( ) const

◆ longitude()

double Tp::LocationInfo::longitude ( ) const

◆ altitude()

double Tp::LocationInfo::altitude ( ) const

◆ accuracy()

double Tp::LocationInfo::accuracy ( ) const

◆ speed()

double Tp::LocationInfo::speed ( ) const

◆ bearing()

double Tp::LocationInfo::bearing ( ) const

◆ timestamp()

QDateTime Tp::LocationInfo::timestamp ( ) const

◆ allDetails()

QVariantMap Tp::LocationInfo::allDetails ( ) const