KNS::DownloadDialog Class Reference
Common download dialog for data browsing and installation. More...
#include <downloaddialog.h>
Collaboration diagram for KNS::DownloadDialog:

Public Slots | |
void | slotProviders (Provider::List *list) |
Public Member Functions | |
DownloadDialog (Engine *engine, QWidget *parent=0) | |
DownloadDialog (QWidget *parent=0) | |
~DownloadDialog () | |
void | setType (QString type) |
void | load () |
void | addProvider (Provider *p) |
void | addEntry (Entry *entry) |
void | clear () |
Static Public Member Functions | |
void | open (QString type) |
Protected Slots | |
void | slotApply () |
void | slotOk () |
Detailed Description
Common download dialog for data browsing and installation.It provides an easy-to-use convenience method named open() which does all the work, unless a more complex operation is needed.
KNewStuff::DownloadDialog::open("kdesktop/wallpapers");
- Author:
- Josef Spillner (spillner@kde.org)
- Maintainer:
- Josef Spillner (spillner@kde.org)
Definition at line 57 of file downloaddialog.h.
Constructor & Destructor Documentation
|
Constructor.
|
|
Alternative constructor. Always uses an internal engine.
|
|
Destructor. Definition at line 79 of file downloaddialog.cpp. |
Member Function Documentation
|
Restricts the display of available data to a certain data type.
Referenced by open(). |
|
Fetches descriptions of all available data, optionally considering a previously set type. Definition at line 83 of file downloaddialog.cpp. References KNS::ProviderLoader::load(). Referenced by open(). |
|
Adds another provider to the download dialog. This is normally done internally.
References KNS::Provider::icon(), and KNS::Provider::name(). Referenced by slotProviders(). |
|
Adds an additional entry to the current provider. This is normally done internally.
References KNS::Entry::downloads(), KNS::Entry::name(), KNS::Entry::rating(), KNS::Entry::releaseDate(), and KNS::Entry::version(). |
|
Clears the entry list of the current provider. This is normally done internally. Definition at line 88 of file downloaddialog.cpp. |
|
Opens the download dialog. This is a convenience method which automatically sets up the dialog.
|
|
Availability of the provider list.
References addProvider(), and KNS::Provider::name(). |
The documentation for this class was generated from the following files: