• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KNewStuff

KNS::EntryLoader

KNS::EntryLoader Class Reference

KNewStuff entry loader. More...

#include <entryloader.h>

Inheritance diagram for KNS::EntryLoader:
QObject

List of all members.

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.

void EntryLoader::load ( const Provider *  provider,
Feed *  feed 
)

Starts asynchronously loading the list of entries from the given provider for the given feed.

Parameters:
provider Provider to load the entries from
feed Feed to download

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:
  • entryloader.h
  • entryloader.cpp

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal