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

Plasma

Plasma::AppletBrowserWidget

Plasma::AppletBrowserWidget Class Reference

#include <appletbrowser.h>

Inheritance diagram for Plasma::AppletBrowserWidget:

Inheritance graph
[legend]

List of all members.


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]

Adds currently selected applets.

Definition at line 256 of file appletbrowser.cpp.

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]

Destroy all applets with this name.

Definition at line 300 of file appletbrowser.cpp.

void Plasma::AppletBrowserWidget::downloadWidgets ( const QString &  type = QString()  )  [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]

Shows infos about applets.

Definition at line 330 of file appletbrowser.cpp.

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.

void Plasma::AppletBrowserWidget::setApplication ( const QString &  application = QString()  ) 

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:
  • appletbrowser.h
  • appletbrowser.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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