KNewStuff
KNS::ProviderLoader Class Reference
#include <providerloader.h>
Inheritance diagram for KNS::ProviderLoader:

Signals | |
| void | signalProvidersFailed () |
| void | signalProvidersLoaded (KNS::Provider::List) |
Public Member Functions | |
| ProviderLoader (QObject *parent) | |
| void | load (const QString &providersurl) |
Protected Slots | |
| void | slotJobData (KIO::Job *, const QByteArray &) |
| void | slotJobResult (KJob *) |
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.
Constructor & Destructor Documentation
| ProviderLoader::ProviderLoader | ( | QObject * | parent | ) |
Constructor.
Definition at line 33 of file providerloader.cpp.
Member Function Documentation
| void ProviderLoader::load | ( | const QString & | providersurl | ) |
Starts asynchronously loading the list of providers from the specified URL.
- Parameters:
-
providersurl location of the XML file containing the providers
Definition at line 38 of file providerloader.cpp.
| void KNS::ProviderLoader::signalProvidersFailed | ( | ) | [signal] |
| void KNS::ProviderLoader::signalProvidersLoaded | ( | KNS::Provider::List | ) | [signal] |
Indicates that the list of providers has been successfully loaded.
| void ProviderLoader::slotJobData | ( | KIO::Job * | , |
| const QByteArray & | data | ||
| ) | [protected, slot] |
Definition at line 54 of file providerloader.cpp.
| void ProviderLoader::slotJobResult | ( | KJob * | job | ) | [protected, slot] |
Definition at line 61 of file providerloader.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed Nov 28 2012 09:52:54 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed Nov 28 2012 09:52:54 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.