KNewStuff
KNS3::XmlLoader Class Reference
KNewStuff xml loader. More...
#include <xmlloader.h>
Inheritance diagram for KNS3::XmlLoader:

Signals | |
| void | jobStarted (KJob *) |
| void | signalFailed () |
| void | signalLoaded (const QDomDocument &) |
Public Member Functions | |
| XmlLoader (QObject *parent) | |
| void | load (const KUrl &url) |
Protected Slots | |
| void | slotJobData (KIO::Job *, const QByteArray &) |
| void | slotJobResult (KJob *) |
Detailed Description
KNewStuff xml loader.
This class loads an xml document from a kurl and returns the resulting domdocument once completed. It should probably not be used directly by the application.
Definition at line 51 of file xmlloader.h.
Constructor & Destructor Documentation
| KNS3::XmlLoader::XmlLoader | ( | QObject * | parent | ) |
Constructor.
Definition at line 34 of file xmlloader.cpp.
Member Function Documentation
| void KNS3::XmlLoader::jobStarted | ( | KJob * | ) | [signal] |
| void KNS3::XmlLoader::load | ( | const KUrl & | url | ) |
Starts asynchronously loading the xml document from the specified URL.
- Parameters:
-
url location of the XML file
Definition at line 39 of file xmlloader.cpp.
| void KNS3::XmlLoader::signalFailed | ( | ) | [signal] |
| void KNS3::XmlLoader::signalLoaded | ( | const QDomDocument & | ) | [signal] |
Indicates that the list of providers has been successfully loaded.
| void KNS3::XmlLoader::slotJobData | ( | KIO::Job * | , |
| const QByteArray & | data | ||
| ) | [protected, slot] |
Definition at line 54 of file xmlloader.cpp.
| void KNS3::XmlLoader::slotJobResult | ( | KJob * | job | ) | [protected, slot] |
Definition at line 61 of file xmlloader.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference