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


\subsection*{Functions}
\begin{CompactItemize}
\item 
KDECORE\_\-EXPORT unsigned int {\bf version} ()
\item 
KDECORE\_\-EXPORT unsigned int {\bf version\-Major} ()
\item 
KDECORE\_\-EXPORT unsigned int {\bf version\-Minor} ()
\item 
KDECORE\_\-EXPORT unsigned int {\bf version\-Release} ()
\item 
KDECORE\_\-EXPORT const char $\ast$ {\bf version\-String} ()
\item 
KDECORE\_\-EXPORT int {\bf getaddrinfo} (const char $\ast$name, const char $\ast$service, const struct addrinfo $\ast$hint, struct addrinfo $\ast$$\ast$result)\label{namespaceKDE_a6}

\item 
KDECORE\_\-EXPORT void {\bf freeaddrinfo} (struct addrinfo $\ast$ai)\label{namespaceKDE_a7}

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

\item 
KDECORE\_\-EXPORT 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_a9}

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

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

\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
KDE\_\-EXPORT 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}!version@{version}}
\index{version@{version}!KDE@{KDE}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int KDE::version ()}\label{namespaceKDE_a1}


Returns the encoded number of KDE's version, see the KDE\_\-VERSION macro. 

In contrary to that macro this function returns the number of the actully installed KDE version, not the number of the KDE version that was installed when the program was compiled. \begin{Desc}
\item[Returns:]the version number, encoded in a single uint \end{Desc}
\begin{Desc}
\item[Since:]3.2 \end{Desc}


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


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 27 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_a3}


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 32 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_a4}


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 37 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_a5}


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 42 of file kdeversion.cpp.