• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

KNewStuff

  • KNS
  • EntryLoader
Signals | Public Member Functions | Protected Slots
KNS::EntryLoader Class Reference

#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.

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:
providerProvider to load the entries from
feedFeed 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 
)
protectedslot

Definition at line 72 of file entryloader.cpp.

void EntryLoader::slotJobResult ( KJob *  job)
protectedslot

Definition at line 79 of file entryloader.cpp.


The documentation for this class was generated from the following files:
  • entryloader.h
  • entryloader.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 22:02:25 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNewStuff

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal