\section{KIO::Net\-RC Class Reference}
\label{classKIO_1_1NetRC}\index{KIO::NetRC@{KIO::NetRC}}
A Singleton class that provides access to passwords stored in .netrc and kionetrc for automatic login purposes. An interface to kionetrc and the ftp .netrc files.  


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

Collaboration diagram for KIO::Net\-RC:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=87pt]{classKIO_1_1NetRC__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Look\-Up\-Mode} \{ {\bf exact\-Only} =  0x0002, 
{\bf default\-Only} =  0x0004, 
{\bf preset\-Only} =  0x0008
 \}
\begin{CompactList}\small\item\em Specifies the mode to be used when searching for a matching automatic login info for a given site :. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf lookup} (const  {\bf KURL} \&, Auto\-Login \&, bool userealnetrc=false, {\bf QString} type=QString::null, int mode=(exact\-Only$|$default\-Only))\label{classKIO_1_1NetRC_a0}

\item 
void {\bf reload} ()\label{classKIO_1_1NetRC_a1}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Net\-RC} $\ast$ {\bf self} ()\label{classKIO_1_1NetRC_e0}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf QString} {\bf extract} (const  char $\ast$, const  char $\ast$, int \&)\label{classKIO_1_1NetRC_b0}

\item 
int {\bf openf} (const  {\bf QString} \&)\label{classKIO_1_1NetRC_b1}

\item 
void {\bf parse} (int)\label{classKIO_1_1NetRC_b2}

\end{CompactItemize}


\subsection{Detailed Description}
A Singleton class that provides access to passwords stored in .netrc and kionetrc for automatic login purposes. An interface to kionetrc and the ftp .netrc files. 

\begin{Desc}
\item[Author:]Dawit Alemayehu $<${\tt adawit@kde.org}$>$ \end{Desc}




Definition at line 237 of file authinfo.h.

\subsection{Member Enumeration Documentation}
\index{KIO::NetRC@{KIO::Net\-RC}!LookUpMode@{LookUpMode}}
\index{LookUpMode@{LookUpMode}!KIO::NetRC@{KIO::Net\-RC}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KIO::Net\-RC::Look\-Up\-Mode}}\label{classKIO_1_1NetRC_w3}


Specifies the mode to be used when searching for a matching automatic login info for a given site :. 

exact\-Only search entries with exact host name matches. default\-Only search entries that are specified as \char`\"{}default\char`\"{}. preset\-Only search entries that are specified as \char`\"{}preset\char`\"{}.

\begin{Desc}
\item[See also:]lookup \end{Desc}


Definition at line 251 of file authinfo.h.

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