KNS::ProviderLoader Class Reference
#include <provider.h>
Inherits TQObject.
Signals | |
void | providersLoaded (Provider::List *) |
Public Member Functions | |
ProviderLoader (TQWidget *parentWidget) | |
void | load (const TQString &type, const TQString &providerList=TQString::null) |
Protected Slots | |
void | slotJobData (KIO::Job *, const TQByteArray &) |
void | slotJobResult (KIO::Job *) |
Detailed Description
KNewStuff 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 172 of file provider.h.
Constructor & Destructor Documentation
ProviderLoader::ProviderLoader | ( | TQWidget * | parentWidget | ) |
Member Function Documentation
void ProviderLoader::load | ( | const TQString & | type, |
const TQString & | providerList = TQString::null |
||
) |
Starts asynchronously loading the list of providers of the specified type.
- Parameters
-
type data type such as 'kdesktop/wallpaper'. providerList 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.
Definition at line 215 of file provider.cpp.
|
signal |
Indicates that the list of providers has been successfully loaded.
The documentation for this class was generated from the following files: