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() [1/3]
◆ Geo() [2/3]
Geo::Geo | ( | float | latitude, |
float | longitude | ||
) |
◆ Geo() [3/3]
◆ ~Geo()
Member Function Documentation
◆ isValid()
bool Geo::isValid | ( | ) | const |
◆ latitude()
◆ longitude()
◆ operator!=()
bool Geo::operator!= | ( | const Geo & | other | ) | const |
◆ operator=()
◆ operator==()
bool Geo::operator== | ( | const Geo & | other | ) | const |
◆ setLatitude()
void Geo::setLatitude | ( | float | latitude | ) |
◆ setLongitude()
void Geo::setLongitude | ( | float | longitude | ) |
◆ toString()
QString Geo::toString | ( | ) | const |
Friends And Related Function Documentation
◆ operator<<
|
friend |
Serializes the geographical position object
into the stream
.
◆ operator>>
|
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-2018 The KDE developers.
Generated on Sat Jul 14 2018 04:51:35 by doxygen 1.8.14 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sat Jul 14 2018 04:51:35 by doxygen 1.8.14 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.