kabc
KABC::Geo Class Reference
Geographic position. More...
#include <geo.h>
Public Member Functions | |
| Geo (const Geo &other) | |
| Geo (float latitude, float longitude) | |
| Geo () | |
| bool | isValid () const |
| float | latitude () const |
| float | longitude () const |
| bool | operator!= (const Geo &) const |
| Geo & | operator= (const Geo &other) |
| bool | operator== (const Geo &) const |
| void | setLatitude (float latitude) |
| void | setLongitude (float longitude) |
| QString | toString () const |
| ~Geo () | |
Friends | |
| QDataStream & | operator<< (QDataStream &, const Geo &) |
| QDataStream & | operator>> (QDataStream &, Geo &) |
Detailed Description
Geographic position.This class represents a geographic position.
Definition at line 35 of file geo.h.
Constructor & Destructor Documentation
| Geo::Geo | ( | float | latitude, | |
| float | longitude | |||
| ) |
Member Function Documentation
| bool Geo::isValid | ( | ) | const |
| bool Geo::operator!= | ( | const Geo & | other | ) | const |
| bool Geo::operator== | ( | const Geo & | other | ) | const |
| void Geo::setLatitude | ( | float | latitude | ) |
| void Geo::setLongitude | ( | float | longitude | ) |
| QString Geo::toString | ( | ) | const |
Friends And Related Function Documentation
| QDataStream& operator<< | ( | QDataStream & | , | |
| const Geo & | ||||
| ) | [friend] |
Serializes the geographical position object into the stream.
| QDataStream& operator>> | ( | QDataStream & | , | |
| Geo & | ||||
| ) | [friend] |
Initializes the geographical position object from the stream.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference