kabc
KABC::Geo Class Reference
#include <geo.h>
Public Member Functions | |
| Geo () | |
| Geo (float latitude, float longitude) | |
| Geo (const Geo &other) | |
| ~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 |
Friends | |
| QDataStream & | operator<< (QDataStream &, const Geo &) |
| QDataStream & | operator>> (QDataStream &, Geo &) |
Detailed Description
Geographic position.
This class represents a geographic position.
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
|
friend |
Serializes the geographical position object into the stream.
|
friend |
Initializes the geographical position object from the stream.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference