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


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

Collaboration diagram for KNS::Provider:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=57pt]{classKNS_1_1Provider__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
typedef {\bf QPtr\-List}$<$ {\bf Provider} $>$ {\bf List}\label{classKNS_1_1Provider_w0}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Provider} ()
\item 
{\bf Provider} (const {\bf QDom\-Element} \&)
\item 
{\bf $\sim$Provider} ()
\item 
void {\bf set\-Name} (const {\bf QString} \&)
\item 
{\bf QString} {\bf name} () const 
\item 
void {\bf set\-Download\-Url} (const KURL \&)
\item 
KURL {\bf download\-Url} () const 
\item 
void {\bf set\-Upload\-Url} (const KURL \&)
\item 
KURL {\bf upload\-Url} () const 
\item 
void {\bf set\-No\-Upload\-Url} (const KURL \&)
\item 
KURL {\bf no\-Upload\-Url} () const 
\item 
void {\bf set\-No\-Upload} (bool)
\item 
bool {\bf no\-Upload} () const 
\item 
void {\bf set\-Icon} (const KURL \&)
\item 
KURL {\bf icon} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf parse\-Dom\-Element} (const {\bf QDom\-Element} \&)\label{classKNS_1_1Provider_b0}

\item 
{\bf QDom\-Element} {\bf create\-Dom\-Element} ({\bf QDom\-Document} \&, {\bf QDom\-Element} \&parent)\label{classKNS_1_1Provider_b1}

\end{CompactItemize}


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

This class provides accessors for the provider object. as used by {\bf KNew\-Stuff}{\rm (p.\,\pageref{classKNewStuff})}. It should probably not be used directly by the application.

\begin{Desc}
\item[Author:]Cornelius Schumacher ({\tt schumacher@kde.org}) \end{Desc}
\begin{Desc}
\item[Maintainer:]Josef Spillner ({\tt spillner@kde.org}) \end{Desc}




Definition at line 46 of file provider.h.

\subsection{Constructor \& Destructor Documentation}
\index{KNS::Provider@{KNS::Provider}!Provider@{Provider}}
\index{Provider@{Provider}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Provider::Provider ()}\label{classKNS_1_1Provider_a0}


Constructor. 



Definition at line 33 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!Provider@{Provider}}
\index{Provider@{Provider}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Provider::Provider (const {\bf QDom\-Element} \&)}\label{classKNS_1_1Provider_a1}


Constructor with XML feed. 



Definition at line 37 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!~Provider@{$\sim$Provider}}
\index{~Provider@{$\sim$Provider}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Provider::$\sim${\bf Provider} ()}\label{classKNS_1_1Provider_a2}


Destructor. 



Definition at line 42 of file provider.cpp.

\subsection{Member Function Documentation}
\index{KNS::Provider@{KNS::Provider}!setName@{setName}}
\index{setName@{setName}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Provider::set\-Name (const {\bf QString} \&)}\label{classKNS_1_1Provider_a3}


Sets the common name of the provider. 



Definition at line 47 of file provider.cpp.

References name().\index{KNS::Provider@{KNS::Provider}!name@{name}}
\index{name@{name}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} Provider::name () const}\label{classKNS_1_1Provider_a4}


Retrieves the common name of the provider. 

\begin{Desc}
\item[Returns:]provider name \end{Desc}


Definition at line 52 of file provider.cpp.

Referenced by set\-Name().\index{KNS::Provider@{KNS::Provider}!setDownloadUrl@{setDownloadUrl}}
\index{setDownloadUrl@{setDownloadUrl}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Provider::set\-Download\-Url (const KURL \&)}\label{classKNS_1_1Provider_a5}


Sets the download URL. 



Definition at line 69 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!downloadUrl@{downloadUrl}}
\index{downloadUrl@{downloadUrl}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURL Provider::download\-Url () const}\label{classKNS_1_1Provider_a6}


Retrieves the download URL. 

\begin{Desc}
\item[Returns:]download URL \end{Desc}


Definition at line 74 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!setUploadUrl@{setUploadUrl}}
\index{setUploadUrl@{setUploadUrl}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Provider::set\-Upload\-Url (const KURL \&)}\label{classKNS_1_1Provider_a7}


Sets the upload URL. 



Definition at line 80 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!uploadUrl@{uploadUrl}}
\index{uploadUrl@{uploadUrl}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURL Provider::upload\-Url () const}\label{classKNS_1_1Provider_a8}


Retrieves the upload URL. 

\begin{Desc}
\item[Returns:]upload URL \end{Desc}


Definition at line 85 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!setNoUploadUrl@{setNoUploadUrl}}
\index{setNoUploadUrl@{setNoUploadUrl}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Provider::set\-No\-Upload\-Url (const KURL \&)}\label{classKNS_1_1Provider_a9}


Sets the URL where a user is led if the provider does not support uploads. 

\begin{Desc}
\item[See also:]{\bf set\-No\-Upload}{\rm (p.\,\pageref{classKNS_1_1Provider_a11})} \end{Desc}


Definition at line 91 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!noUploadUrl@{noUploadUrl}}
\index{noUploadUrl@{noUploadUrl}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURL Provider::no\-Upload\-Url () const}\label{classKNS_1_1Provider_a10}


Retrieves the URL where a user is led if the provider does not support uploads. 

\begin{Desc}
\item[Returns:]website URL \end{Desc}


Definition at line 96 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!setNoUpload@{setNoUpload}}
\index{setNoUpload@{setNoUpload}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Provider::set\-No\-Upload (bool)}\label{classKNS_1_1Provider_a11}


Indicate whether provider supports uploads. 



Definition at line 102 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!noUpload@{noUpload}}
\index{noUpload@{noUpload}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Provider::no\-Upload () const}\label{classKNS_1_1Provider_a12}


Query whether provider supports uploads. 

\begin{Desc}
\item[Returns:]upload support status \end{Desc}


Definition at line 107 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!setIcon@{setIcon}}
\index{setIcon@{setIcon}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Provider::set\-Icon (const KURL \&)}\label{classKNS_1_1Provider_a13}


Sets the URL for an icon for this provider. 

The icon should be in 32x32 format. If not set, the default icon of KDialog\-Base is used. 

Definition at line 58 of file provider.cpp.\index{KNS::Provider@{KNS::Provider}!icon@{icon}}
\index{icon@{icon}!KNS::Provider@{KNS::Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURL Provider::icon () const}\label{classKNS_1_1Provider_a14}


Retrieves the icon URL for this provider. 

\begin{Desc}
\item[Returns:]icon URL \end{Desc}


Definition at line 63 of file provider.cpp.

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