Plasma
#include <abstracttoolbox.h>
Definition at line 40 of file abstracttoolbox.h.
| Enumerator |
|---|
| AddTool |
|
| ConfigureTool |
|
| ControlTool |
|
| MiscTool |
|
| DestructiveTool |
|
| UserToolType |
|
Definition at line 47 of file abstracttoolbox.h.
| Plasma::AbstractToolBox::AbstractToolBox |
( |
Containment * |
parent | ) |
|
|
explicit |
| Plasma::AbstractToolBox::AbstractToolBox |
( |
QObject * |
parent = 0, |
|
|
const QVariantList & |
args = QVariantList() |
|
) |
| |
|
explicit |
| Plasma::AbstractToolBox::~AbstractToolBox |
( |
| ) |
|
| virtual void Plasma::AbstractToolBox::addTool |
( |
QAction * |
action | ) |
|
|
pure virtual |
create a toolbox tool from the given action action the action to associate the tool with
| Containment * Plasma::AbstractToolBox::containment |
( |
| ) |
const |
|
protected |
| virtual bool Plasma::AbstractToolBox::isShowing |
( |
| ) |
const |
|
pure virtual |
- Returns
- true if the ToolBox is open and shown the actions list
| KPluginInfo::List Plasma::AbstractToolBox::listToolBoxInfo |
( |
const QString & |
parentApp = QString() | ) |
|
|
static |
Returns a list of all installed ToolBox plugins.
- Parameters
-
| parentApp | the application to filter applets on. Uses the X-KDE-ParentApp entry (if any) in the plugin info. The default value of QString() will result in a list containing only applets not specifically registered to an application. |
- Since
- 4.6
Definition at line 76 of file abstracttoolbox.cpp.
Create a new AbstractToolBox, loading the proper plugin.
- Parameters
-
| name | the plugin name |
| args | the plugin arguments |
| containment | the containment parent of the toolbox |
- Since
- 4.6
Definition at line 59 of file abstracttoolbox.cpp.
| virtual void Plasma::AbstractToolBox::removeTool |
( |
QAction * |
action | ) |
|
|
pure virtual |
remove the tool associated with this action
| void Plasma::AbstractToolBox::reposition |
( |
| ) |
|
|
slot |
Inform the ToolBox it has to reposition itlself It has to be reimplemented in toolboxes that need it.
- Since
- 4.6
Definition at line 111 of file abstracttoolbox.cpp.
| void Plasma::AbstractToolBox::restore |
( |
const KConfigGroup & |
group | ) |
|
|
slot |
Restore the ToolBox settings It has to be reimplemented in toolboxes that need it.
- Since
- 4.6
Definition at line 101 of file abstracttoolbox.cpp.
| void Plasma::AbstractToolBox::save |
( |
const KConfigGroup & |
group | ) |
|
|
slot |
Save the ToolBox settings It has to be reimplemented in toolboxes that need it.
- Since
- 4.6
Definition at line 106 of file abstracttoolbox.cpp.
| virtual void Plasma::AbstractToolBox::setShowing |
( |
const bool |
show | ) |
|
|
pure virtual |
Opens or closes the ToolBox.
| void Plasma::AbstractToolBox::toggled |
( |
| ) |
|
|
signal |
Toolbox opened or closed.
| void Plasma::AbstractToolBox::visibilityChanged |
( |
bool |
open | ) |
|
|
signal |
Toolbox opened or closed.
- Parameters
-
| open | tells if the toolbox opened or closed |
| bool Plasma::AbstractToolBox::showing |
|
readwrite |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.