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

KNewStuff

KNS::ProviderLoader

KNS::ProviderLoader Class Reference

KNewStuff provider loader. More...

#include <provider.h>

Inheritance diagram for KNS::ProviderLoader:

Inheritance graph
[legend]

List of all members.


Signals

void providersLoaded (Provider::List *)

Public Member Functions

void load (const QString &type, const QString &providerList=QString::null)
 ProviderLoader (QWidget *parentWidget)

Protected Slots

void slotJobData (KIO::Job *, const QByteArray &)
void slotJobResult (KIO::Job *)

Detailed Description

KNewStuff provider loader.

This class sets up a list of all possible providers by querying the main provider database for this specific application. It should probably not be used directly by the application.

Definition at line 172 of file provider.h.


Constructor & Destructor Documentation

ProviderLoader::ProviderLoader ( QWidget *  parentWidget  ) 

Constructor.

Parameters:
parentWidget the parent widget

Definition at line 209 of file provider.cpp.


Member Function Documentation

void ProviderLoader::load ( const QString &  type,
const QString &  providerList = QString::null 
)

Starts asynchronously loading the list of providers of the specified type.

Parameters:
type data type such as 'kdesktop/wallpaper'.
providerList the URl to the list of providers; if empty we first try the ProvidersUrl from KGlobal::config, then we fall back to a hardcoded value.

Definition at line 215 of file provider.cpp.

void KNS::ProviderLoader::providersLoaded ( Provider::List *   )  [signal]

Indicates that the list of providers has been successfully loaded.

void ProviderLoader::slotJobData ( KIO::Job *  ,
const QByteArray &  data 
) [protected, slot]

Definition at line 248 of file provider.cpp.

void ProviderLoader::slotJobResult ( KIO::Job *  job  )  [protected, slot]

Definition at line 259 of file provider.cpp.


The documentation for this class was generated from the following files:
  • provider.h
  • provider.cpp

KNewStuff

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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