KABC::Geo Class Reference
#include <geo.h>
Detailed Description
Geographic position.This class represents a geographic position.
Definition at line 35 of file geo.h.
Public Member Functions | |
Geo () | |
Geo (float latitude, float longitude) | |
void | setLatitude (float) |
float | latitude () const |
void | setLongitude (float) |
float | longitude () const |
bool | isValid () const |
bool | operator== (const Geo &) const |
bool | operator!= (const Geo &) const |
QString | asString () const |
Friends | |
KABC_EXPORT QDataStream & | operator<< (QDataStream &, const Geo &) |
KABC_EXPORT QDataStream & | operator>> (QDataStream &, Geo &) |
Constructor & Destructor Documentation
|
Construct invalid geographics position object.
|
|
Construct geographics position object.
|
Member Function Documentation
|
Returns string representation of geographical position.
|
|
Returns, if this object contains a valid geographical position.
|
|
Returns the latitude.
|
|
Returns the longitude.
|
|
Sets the latitude.
|
|
Sets the longitude.
|
The documentation for this class was generated from the following files: