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, const QString &caption) | |
| DownloadDialog (QWidget *parent, const QString &caption) | |
| ~DownloadDialog () | |
| void | setType (QString type) |
| void | load () |
| void | setProviderList (const QString &providerList) |
| void | load (QString providerList) |
| void | addProvider (Provider *p) |
| void | addEntry (Entry *entry) |
| void | clear () |
| DownloadDialog (Engine *engine, QWidget *parent=0) | |
| DownloadDialog (QWidget *parent=0) | |
Static Public Member Functions | |
| static void | open (const QString &type, const QString &caption) |
| static 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.
|
|
||||||||||||
|
Constructor.
|
|
|
Alternative constructor. Always uses an internal engine.
|
Member Function Documentation
|
|
Restricts the display of available data to a certain data type.
|
|
|
Fetches descriptions of all available data, optionally considering a previously set type.
|
|
|
Explicitly uses this provider list instead of the one read from the application configuration.
|
|
|
Fetches descriptions of all available data, optionally considering a previously set type.
|
|
|
Adds another provider to the download dialog. This is normally done internally.
|
|
|
Adds an additional entry to the current provider. This is normally done internally.
|
|
|
Clears the entry list of the current provider. This is normally done internally. |
|
||||||||||||
|
Opens the download dialog. This is a convenience method which automatically sets up the dialog.
|
|
|
Opens the download dialog. This is a convenience method which automatically sets up the dialog.
|
|
|
Availability of the provider list.
|
The documentation for this class was generated from the following file:
