KABC::Geo Class Reference
Geographic position. More...
#include <geo.h>
Public Methods | |
| Geo () | |
| Construct invalid geographics position object. | |
| Geo (float latitude, float longitude) | |
| Construct geographics position object. | |
| void | setLatitude (float) |
| Sets the latitude. | |
| float | latitude () const |
| Returns the latitude. | |
| void | setLongitude (float) |
| Sets the longitude. | |
| float | longitude () const |
| Returns the longitude. | |
| bool | isValid () const |
| Returns, if this object contains a valid geographical position. | |
| QString | asString () const |
| Returns string representation of geographical position. | |
Detailed Description
Geographic position.This class represents a geographic position.
Definition at line 33 of file geo.h.
Constructor & Destructor Documentation
|
|
Construct invalid geographics position object.
|
|
||||||||||||
|
Construct geographics position object.
|
Member Function Documentation
|
|
Sets the latitude.
Definition at line 38 of file geo.cpp. References latitude(). |
|
|
Returns the latitude.
Definition at line 44 of file geo.cpp. Referenced by setLatitude(). |
|
|
Sets the longitude.
Definition at line 49 of file geo.cpp. References longitude(). |
|
|
Returns the longitude.
Definition at line 55 of file geo.cpp. Referenced by setLongitude(). |
|
|
Returns, if this object contains a valid geographical position.
|
|
|
Returns string representation of geographical position.
Definition at line 81 of file geo.cpp. References QString::number(). Referenced by KABC::Addressee::dump(). |
The documentation for this class was generated from the following files:
