\section{KDE Namespace Reference}
\label{namespaceKDE}\index{KDE@{KDE}}
Namespace for general KDE functions.  


\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned int {\bf version\-Major} ()
\begin{CompactList}\small\item\em Returns the major number of KDE's version, e.g. \item\end{CompactList}\item 
unsigned int {\bf version\-Minor} ()
\begin{CompactList}\small\item\em Returns the minor number of KDE's version, e.g. \item\end{CompactList}\item 
unsigned int {\bf version\-Release} ()
\begin{CompactList}\small\item\em Returns the release of KDE's version, e.g. \item\end{CompactList}\item 
const  char $\ast$ {\bf version\-String} ()
\begin{CompactList}\small\item\em Returns the KDE version as string, e.g. \item\end{CompactList}\item 
int {\bf getaddrinfo} (const  char $\ast$name, const  char $\ast$service, const  struct addrinfo $\ast$hint, struct addrinfo $\ast$$\ast$result)\label{namespaceKDE_a5}

\item 
void {\bf freeaddrinfo} (struct addrinfo $\ast$ai)\label{namespaceKDE_a6}

\item 
char $\ast$ {\bf gai\_\-strerror} (int errorcode)\label{namespaceKDE_a7}

\item 
int {\bf getnameinfo} (const  struct sockaddr $\ast$sa, unsigned int salen, char $\ast$host, size\_\-t hostlen, char $\ast$serv, size\_\-t servlen, int flags)\label{namespaceKDE_a8}

\item 
int {\bf inet\_\-pton} (int af, const  char $\ast$cp, void $\ast$buf)\label{namespaceKDE_a9}

\item 
const  char $\ast$ {\bf inet\_\-ntop} (int af, const  void $\ast$cp, char $\ast$buf, size\_\-t len)\label{namespaceKDE_a10}

\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
const  int {\bf resolver\-Flags} = KRF\_\-getaddrinfo $|$ KRF\_\-resolver $|$ KRF\_\-afinet6 $|$ KRF\_\-inet\_\-ntop $|$ KRF\_\-inet\_\-pton\label{namespaceKDE_a0}

\end{CompactItemize}


\subsection{Detailed Description}
Namespace for general KDE functions. 

\subsection{Function Documentation}
\index{KDE@{KDE}!versionMajor@{versionMajor}}
\index{versionMajor@{versionMajor}!KDE@{KDE}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int KDE::version\-Major ()}\label{namespaceKDE_a1}


Returns the major number of KDE's version, e.g. 

3 for KDE 3.1.2. \begin{Desc}
\item[Returns:]the major version number \end{Desc}
\begin{Desc}
\item[Since:]3.1 \end{Desc}


Definition at line 22 of file kdeversion.cpp.\index{KDE@{KDE}!versionMinor@{versionMinor}}
\index{versionMinor@{versionMinor}!KDE@{KDE}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int KDE::version\-Minor ()}\label{namespaceKDE_a2}


Returns the minor number of KDE's version, e.g. 

1 for KDE 3.1.2. \begin{Desc}
\item[Returns:]the minor version number \end{Desc}
\begin{Desc}
\item[Since:]3.1 \end{Desc}


Definition at line 27 of file kdeversion.cpp.\index{KDE@{KDE}!versionRelease@{versionRelease}}
\index{versionRelease@{versionRelease}!KDE@{KDE}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int KDE::version\-Release ()}\label{namespaceKDE_a3}


Returns the release of KDE's version, e.g. 

2 for KDE 3.1.2. \begin{Desc}
\item[Returns:]the release number \end{Desc}
\begin{Desc}
\item[Since:]3.1 \end{Desc}


Definition at line 32 of file kdeversion.cpp.\index{KDE@{KDE}!versionString@{versionString}}
\index{versionString@{versionString}!KDE@{KDE}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  char $\ast$ KDE::version\-String ()}\label{namespaceKDE_a4}


Returns the KDE version as string, e.g. 

\char`\"{}3.1.2\char`\"{}. \begin{Desc}
\item[Returns:]the KDE version. You can keep the string forever \end{Desc}
\begin{Desc}
\item[Since:]3.1 \end{Desc}


Definition at line 37 of file kdeversion.cpp.