• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kabc
 

kabc

  • KABC
  • Geo
Public Member Functions | Friends | List of all members
KABC::Geo Class Reference

#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
 
TQString asString () const
 

Friends

KABC_EXPORT TQDataStream & operator<< (TQDataStream &, const Geo &)
 
KABC_EXPORT TQDataStream & operator>> (TQDataStream &, Geo &)
 

Detailed Description

Geographic position.

This class represents a geographic position.

Definition at line 35 of file geo.h.

Constructor & Destructor Documentation

Geo::Geo ( )

Construct invalid geographics position object.

Definition at line 27 of file geo.cpp.

Geo::Geo ( float  latitude,
float  longitude 
)

Construct geographics position object.

Parameters
latitudeGeographical latitude
longitudeGeographical longitude

Definition at line 32 of file geo.cpp.

Member Function Documentation

TQString Geo::asString ( ) const

Returns string representation of geographical position.

Definition at line 91 of file geo.cpp.

bool Geo::isValid ( ) const

Returns, if this object contains a valid geographical position.

Definition at line 70 of file geo.cpp.

float Geo::latitude ( ) const

Returns the latitude.

Definition at line 49 of file geo.cpp.

float Geo::longitude ( ) const

Returns the longitude.

Definition at line 65 of file geo.cpp.

void Geo::setLatitude ( float  latitude)

Sets the latitude.

Definition at line 38 of file geo.cpp.

void Geo::setLongitude ( float  longitude)

Sets the longitude.

Definition at line 54 of file geo.cpp.


The documentation for this class was generated from the following files:
  • geo.h
  • geo.cpp

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kabc

Skip menu "kabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kabc by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |