KNewStuff
KNS::EntryLoader Class Reference
#include <entryloader.h>
Inheritance diagram for KNS::EntryLoader:

Detailed Description
KNewStuff entry loader.Loads any entries from a given file and notifies about when the loading has completed.
Definition at line 49 of file 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 *) |
Constructor & Destructor Documentation
EntryLoader::EntryLoader | ( | QObject * | parent | ) |
Member Function Documentation
Feed * EntryLoader::feed | ( | ) | const |
Returns the feed which was used for download.
- Returns:
- Feed used by this loader
Definition at line 64 of file entryloader.cpp.
Starts asynchronously loading the list of entries from the given provider for the given feed.
Definition at line 42 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 69 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 74 of file entryloader.cpp.
void EntryLoader::slotJobResult | ( | KJob * | job | ) | [protected, slot] |
Definition at line 81 of file entryloader.cpp.
The documentation for this class was generated from the following files: