\section{KABC::Geo Class Reference}
\label{classKABC_1_1Geo}\index{KABC::Geo@{KABC::Geo}}
Geographic position.  


{\tt \#include $<$geo.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Geo} ()
\item 
{\bf Geo} (float latitude, float longitude)
\item 
void {\bf set\-Latitude} (float)
\item 
float {\bf latitude} () const 
\item 
void {\bf set\-Longitude} (float)
\item 
float {\bf longitude} () const 
\item 
bool {\bf is\-Valid} () const 
\item 
bool {\bf operator==} (const {\bf Geo} \&) const \label{classKABC_1_1Geo_a7}

\item 
bool {\bf operator!=} (const {\bf Geo} \&) const \label{classKABC_1_1Geo_a8}

\item 
{\bf QString} {\bf as\-String} () const 
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
KABC\_\-EXPORT {\bf QData\-Stream} \& {\bf operator$<$$<$} ({\bf QData\-Stream} \&, const {\bf Geo} \&)\label{classKABC_1_1Geo_n0}

\item 
KABC\_\-EXPORT {\bf QData\-Stream} \& {\bf operator$>$$>$} ({\bf QData\-Stream} \&, {\bf Geo} \&)\label{classKABC_1_1Geo_n1}

\end{CompactItemize}


\subsection{Detailed Description}
Geographic position. 

This class represents a geographic position. 



Definition at line 35 of file geo.h.

\subsection{Constructor \& Destructor Documentation}
\index{KABC::Geo@{KABC::Geo}!Geo@{Geo}}
\index{Geo@{Geo}!KABC::Geo@{KABC::Geo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Geo::Geo ()}\label{classKABC_1_1Geo_a0}


Construct invalid geographics position object. 



Definition at line 27 of file geo.cpp.\index{KABC::Geo@{KABC::Geo}!Geo@{Geo}}
\index{Geo@{Geo}!KABC::Geo@{KABC::Geo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Geo::Geo (float {\em latitude}, float {\em longitude})}\label{classKABC_1_1Geo_a1}


Construct geographics position object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em latitude}]Geographical latitude \item[{\em longitude}]Geographical longitude \end{description}
\end{Desc}


Definition at line 32 of file geo.cpp.

References set\-Latitude(), and set\-Longitude().

\subsection{Member Function Documentation}
\index{KABC::Geo@{KABC::Geo}!setLatitude@{setLatitude}}
\index{setLatitude@{setLatitude}!KABC::Geo@{KABC::Geo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Geo::set\-Latitude (float)}\label{classKABC_1_1Geo_a2}


Sets the latitude. 



Definition at line 38 of file geo.cpp.

Referenced by Geo().\index{KABC::Geo@{KABC::Geo}!latitude@{latitude}}
\index{latitude@{latitude}!KABC::Geo@{KABC::Geo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}float Geo::latitude () const}\label{classKABC_1_1Geo_a3}


Returns the latitude. 



Definition at line 49 of file geo.cpp.\index{KABC::Geo@{KABC::Geo}!setLongitude@{setLongitude}}
\index{setLongitude@{setLongitude}!KABC::Geo@{KABC::Geo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Geo::set\-Longitude (float)}\label{classKABC_1_1Geo_a4}


Sets the longitude. 



Definition at line 54 of file geo.cpp.

Referenced by Geo().\index{KABC::Geo@{KABC::Geo}!longitude@{longitude}}
\index{longitude@{longitude}!KABC::Geo@{KABC::Geo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}float Geo::longitude () const}\label{classKABC_1_1Geo_a5}


Returns the longitude. 



Definition at line 65 of file geo.cpp.\index{KABC::Geo@{KABC::Geo}!isValid@{isValid}}
\index{isValid@{isValid}!KABC::Geo@{KABC::Geo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Geo::is\-Valid () const}\label{classKABC_1_1Geo_a6}


Returns, if this object contains a valid geographical position. 



Definition at line 70 of file geo.cpp.\index{KABC::Geo@{KABC::Geo}!asString@{asString}}
\index{asString@{asString}!KABC::Geo@{KABC::Geo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} Geo::as\-String () const}\label{classKABC_1_1Geo_a9}


Returns string representation of geographical position. 



Definition at line 91 of file geo.cpp.

References QString::number().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
geo.h\item 
geo.cpp\end{CompactItemize}
