\section{KNS::Provider\-Loader Class Reference}
\label{classKNS_1_1ProviderLoader}\index{KNS::ProviderLoader@{KNS::ProviderLoader}}
{\bf KNew\-Stuff}{\rm (p.\,\pageref{classKNewStuff})} provider loader.  


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

Inheritance diagram for KNS::Provider\-Loader:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=73pt]{classKNS_1_1ProviderLoader__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KNS::Provider\-Loader:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=201pt]{classKNS_1_1ProviderLoader__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf providers\-Loaded} ({\bf Provider::List} $\ast$)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Provider\-Loader} ({\bf QWidget} $\ast$parent\-Widget)
\item 
void {\bf load} (const {\bf QString} \&type, const {\bf QString} \&provider\-List=QString::null)
\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Job\-Data} (KIO::Job $\ast$, const {\bf QByte\-Array} \&)\label{classKNS_1_1ProviderLoader_j0}

\item 
void {\bf slot\-Job\-Result} (KIO::Job $\ast$)\label{classKNS_1_1ProviderLoader_j1}

\end{CompactItemize}


\subsection{Detailed Description}
{\bf KNew\-Stuff}{\rm (p.\,\pageref{classKNewStuff})} provider loader. 

This class sets up a list of all possible providers by querying the main provider database for this specific application. It should probably not be used directly by the application. 



Definition at line 164 of file provider.h.

\subsection{Constructor \& Destructor Documentation}
\index{KNS::ProviderLoader@{KNS::Provider\-Loader}!ProviderLoader@{ProviderLoader}}
\index{ProviderLoader@{ProviderLoader}!KNS::ProviderLoader@{KNS::Provider\-Loader}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Provider\-Loader::Provider\-Loader ({\bf QWidget} $\ast$ {\em parent\-Widget})}\label{classKNS_1_1ProviderLoader_a0}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent\-Widget}]the parent widget \end{description}
\end{Desc}


Definition at line 144 of file provider.cpp.

References QPtr\-List::set\-Auto\-Delete().

\subsection{Member Function Documentation}
\index{KNS::ProviderLoader@{KNS::Provider\-Loader}!load@{load}}
\index{load@{load}!KNS::ProviderLoader@{KNS::Provider\-Loader}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Provider\-Loader::load (const {\bf QString} \& {\em type}, const {\bf QString} \& {\em provider\-List} = {\tt QString::null})}\label{classKNS_1_1ProviderLoader_a1}


Starts asynchronously loading the list of providers of the specified type. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em type}]data type such as 'kdesktop/wallpaper'. \item[{\em provider\-List}]the URl to the list of providers; if empty we first try the Providers\-Url from KGlobal::config, then we fall back to a hardcoded value. \end{description}
\end{Desc}


Definition at line 150 of file provider.cpp.

References QPtr\-List::clear(), QObject::connect(), and QString::is\-Empty().\index{KNS::ProviderLoader@{KNS::Provider\-Loader}!providersLoaded@{providersLoaded}}
\index{providersLoaded@{providersLoaded}!KNS::ProviderLoader@{KNS::Provider\-Loader}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KNS::Provider\-Loader::providers\-Loaded ({\bf Provider::List} $\ast$)\hspace{0.3cm}{\tt  [signal]}}\label{classKNS_1_1ProviderLoader_l0}


Indicates that the list of providers has been successfully loaded. 



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