Plasma
Plasma::AppletBrowserWidget Class Reference
#include <appletbrowser.h>
Inheritance diagram for Plasma::AppletBrowserWidget:

Public Slots | |
void | addApplet () |
void | destroyApplets (const QString &name) |
void | downloadWidgets (const QString &type=QString()) |
void | infoAboutApplet (const QString &name) |
void | openWidgetFile () |
Public Member Functions | |
AppletBrowserWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
QString | application () |
Containment * | containment () const |
void | setApplication (const QString &application=QString()) |
void | setContainment (Plasma::Containment *containment) |
virtual | ~AppletBrowserWidget () |
Detailed Description
Definition at line 34 of file appletbrowser.h.
Constructor & Destructor Documentation
Plasma::AppletBrowserWidget::AppletBrowserWidget | ( | QWidget * | parent = 0 , |
|
Qt::WindowFlags | f = 0 | |||
) | [explicit] |
Definition at line 143 of file appletbrowser.cpp.
Plasma::AppletBrowserWidget::~AppletBrowserWidget | ( | ) | [virtual] |
Definition at line 150 of file appletbrowser.cpp.
Member Function Documentation
void Plasma::AppletBrowserWidget::addApplet | ( | ) | [slot] |
QString Plasma::AppletBrowserWidget::application | ( | ) |
Definition at line 224 of file appletbrowser.cpp.
Containment * Plasma::AppletBrowserWidget::containment | ( | ) | const |
- Returns:
- the current default containment to add applets to
Definition at line 246 of file appletbrowser.cpp.
void Plasma::AppletBrowserWidget::destroyApplets | ( | const QString & | name | ) | [slot] |
Launches a download dialog to retrieve new applets from the Internet.
- type the type of widget to download; an empty string means the default Plasma widgets will be accessed, any other value should map to a PackageStructure PluginInfo-Name entry that provides a widget browser.
Definition at line 358 of file appletbrowser.cpp.
void Plasma::AppletBrowserWidget::infoAboutApplet | ( | const QString & | name | ) | [slot] |
void Plasma::AppletBrowserWidget::openWidgetFile | ( | ) | [slot] |
Opens a file dialog to open a widget from a local file.
Definition at line 395 of file appletbrowser.cpp.
Definition at line 210 of file appletbrowser.cpp.
void Plasma::AppletBrowserWidget::setContainment | ( | Plasma::Containment * | containment | ) |
Changes the current default containment to add applets to.
- containment the new default
Definition at line 229 of file appletbrowser.cpp.
The documentation for this class was generated from the following files: