Plasma
abstracttoolbox.cpp
Go to the documentation of this file.
59 AbstractToolBox *AbstractToolBox::load(const QString &name, const QVariantList &args, Plasma::Containment *containment)
61 const QString constraint = name.isEmpty() ? QString() : QString("[X-KDE-PluginInfo-Name] == '%1'").arg(name);
QString & append(QChar ch)
AbstractToolBox(Containment *parent)
Definition: abstracttoolbox.cpp:39
static AbstractToolBox * load(const QString &name, const QVariantList &args=QVariantList(), Plasma::Containment *containment=0)
Create a new AbstractToolBox, loading the proper plugin.
Definition: abstracttoolbox.cpp:59
bool isPluginVersionCompatible(unsigned int version)
Verifies that a plugin is compatible with plasma.
Definition: version.cpp:51
void reposition()
Inform the ToolBox it has to reposition itlself It has to be reimplemented in toolboxes that need it...
Definition: abstracttoolbox.cpp:111
bool isEmpty() const
void restore(const KConfigGroup &group)
Restore the ToolBox settings It has to be reimplemented in toolboxes that need it.
Definition: abstracttoolbox.cpp:101
Containment * containment() const
Definition: abstracttoolbox.cpp:96
Definition: abstracttoolbox.h:40
void setParent(QObject *parent)
static KPluginInfo::List listToolBoxInfo(const QString &parentApp=QString())
Returns a list of all installed ToolBox plugins.
Definition: abstracttoolbox.cpp:76
QGraphicsItem * parentItem() const
void save(const KConfigGroup &group)
Save the ToolBox settings It has to be reimplemented in toolboxes that need it.
Definition: abstracttoolbox.cpp:106
The base class for plugins that provide backgrounds and applet grouping containers.
Definition: containment.h:72
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.