Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KABC::Geo Class Reference

Geographic position. More...

#include <geo.h>

List of all members.

Public Methods

 Geo ()
 Geo (float latitude, float longitude)
void setLatitude (float)
float latitude () const
void setLongitude (float)
float longitude () const
bool isValid () const
QString asString () const


Detailed Description

Geographic position.

This class represents a geographic position.

Definition at line 33 of file geo.h.


Constructor & Destructor Documentation

KABC::Geo::Geo  
 

Construct invalid geographics position object.

KABC::Geo::Geo float    latitude,
float    longitude
 

Construct geographics position object.

Parameters:
latitude  Geographical latitude
longitude  Geographical longitude


Member Function Documentation

QString KABC::Geo::asString  
 

Returns string representation of geographical position.

bool KABC::Geo::isValid  
 

Returns, if this object contains a valid geographical position.

float KABC::Geo::latitude  
 

Returns the latitude.

float KABC::Geo::longitude  
 

Returns the longitude.

void KABC::Geo::setLatitude float   
 

Sets the latitude.

void KABC::Geo::setLongitude float   
 

Sets the longitude.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:31 2003 for kdelibs by doxygen1.2.18