.TH "KNS::ProviderLoader" kde3 "11 Jun 2005" "Version Version 3.4.1" "knewstuff Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KNS::ProviderLoader \- \fBKNewStuff\fP provider loader.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <provider.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBprovidersLoaded\fP (\fBProvider::List\fP *)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBProviderLoader\fP (\fBQWidget\fP *parentWidget)"
.br
.ti -1c
.RI "void \fBload\fP (const \fBQString\fP &type, const \fBQString\fP &providerList=QString::null)"
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBslotJobData\fP (KIO::Job *, const \fBQByteArray\fP &)"
.br
.ti -1c
.RI "void \fBslotJobResult\fP (KIO::Job *)"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBKNewStuff\fP 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. 
.PP
Definition at line 164 of file provider.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "ProviderLoader::ProviderLoader (\fBQWidget\fP * parentWidget)"
.PP
Constructor. 
.PP
\fBParameters:\fP
.RS 4
\fIparentWidget\fP the parent widget 
.RE
.PP

.PP
Definition at line 144 of file provider.cpp.
.PP
References QPtrList::setAutoDelete().
.SH "Member Function Documentation"
.PP 
.SS "void ProviderLoader::load (const \fBQString\fP & type, const \fBQString\fP & providerList = \fCQString::null\fP)"
.PP
Starts asynchronously loading the list of providers of the specified type. 
.PP
\fBParameters:\fP
.RS 4
\fItype\fP data type such as 'kdesktop/wallpaper'. 
.br
\fIproviderList\fP the URl to the list of providers; if empty we first try the ProvidersUrl from KGlobal::config, then we fall back to a hardcoded value. 
.RE
.PP

.PP
Definition at line 150 of file provider.cpp.
.PP
References QPtrList::clear(), QObject::connect(), and QString::isEmpty().
.SS "void KNS::ProviderLoader::providersLoaded (\fBProvider::List\fP *)\fC [signal]\fP"
.PP
Indicates that the list of providers has been successfully loaded. 
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for knewstuff Library from the source code.
