KNewStuff
KNS::EntryLoader Class Reference
KNewStuff entry loader. More...
#include <entryloader.h>

Signals | |
void | signalEntriesFailed () |
void | signalEntriesLoaded (KNS::Entry::List list) |
void | signalProgress (KJob *, unsigned long) |
Public Member Functions | |
EntryLoader (QObject *parent) | |
Feed * | feed () const |
void | load (const Provider *provider, Feed *feed) |
const Provider * | provider () const |
Protected Slots | |
void | slotJobData (KIO::Job *, const QByteArray &) |
void | slotJobResult (KJob *) |
Detailed Description
KNewStuff entry loader.
Loads any entries from a given file and notifies about when the loading has completed.
For internal use only.
Definition at line 47 of file entryloader.h.
Constructor & Destructor Documentation
EntryLoader::EntryLoader | ( | QObject * | parent | ) |
Constructor.
Definition at line 33 of file entryloader.cpp.
Member Function Documentation
Feed * EntryLoader::feed | ( | ) | const |
Returns the feed which was used for download.
- Returns:
- Feed used by this loader
Definition at line 62 of file entryloader.cpp.
Starts asynchronously loading the list of entries from the given provider for the given feed.
Definition at line 40 of file entryloader.cpp.
const Provider * EntryLoader::provider | ( | ) | const |
Returns the provider which was used for download.
- Returns:
- Provider used by this loader
Definition at line 67 of file entryloader.cpp.
void KNS::EntryLoader::signalEntriesFailed | ( | ) | [signal] |
Indicates that the list of entries could not be loaded.
void KNS::EntryLoader::signalEntriesLoaded | ( | KNS::Entry::List | list | ) | [signal] |
Indicates that the list of entries has been successfully loaded.
void KNS::EntryLoader::signalProgress | ( | KJob * | , | |
unsigned | long | |||
) | [signal] |
report progress loading
void EntryLoader::slotJobData | ( | KIO::Job * | , | |
const QByteArray & | data | |||
) | [protected, slot] |
Definition at line 72 of file entryloader.cpp.
void EntryLoader::slotJobResult | ( | KJob * | job | ) | [protected, slot] |
Definition at line 79 of file entryloader.cpp.
The documentation for this class was generated from the following files: