KABC::Geo Class Reference
Geographic position. More...
#include <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 | |
| QDataStream & | operator<< (QDataStream &, const Geo &) | 
| QDataStream & | operator>> (QDataStream &, Geo &) | 
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. 
 
 Definition at line 32 of file geo.cpp. References setLatitude(), and setLongitude(). | 
Member Function Documentation
| 
 | 
| Sets the latitude. 
 Definition at line 38 of file geo.cpp. Referenced by Geo(). | 
| 
 | 
| Returns the latitude. 
 | 
| 
 | 
| Sets the longitude. 
 Definition at line 54 of file geo.cpp. Referenced by Geo(). | 
| 
 | 
| Returns the longitude. 
 | 
| 
 | 
| Returns, if this object contains a valid geographical position. 
 | 
| 
 | 
| Returns string representation of geographical position. 
 Definition at line 91 of file geo.cpp. References QString::number(). | 
The documentation for this class was generated from the following files:

