KNewStuff
#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.
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.
| void EntryLoader::load | ( | const Provider * | provider, |
| Feed * | feed | ||
| ) |
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:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:57:21 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.