Plasma
appletscript.cpp
void setHasConfigurationInterface(bool hasInterface)
Sets whether or not this script has a configuration interface or not.
Definition: appletscript.cpp:58
void setLaunchErrorMessage(const QString &reason=QString())
Definition: appletscript.cpp:72
The base class for scripting interfaces to be used in loading plasmoids of a given language.
Definition: scriptengine.h:37
Q_EMITQ_EMIT
void configNeedsSaving()
Emitted when an applet has changed values in its configuration and wishes for them to be saved at the...
void setConfigurationRequired(bool needsConfiguring, const QString &reason=QString())
When the applet needs to be configured before being usable, this method can be called to show a stand...
Definition: applet.cpp:561
virtual QList< QAction * > contextualActions()
Returns a list of context-related QAction instances.
Definition: appletscript.cpp:53
void setContainmentType(Plasma::Types::ContainmentType type)
Definition: appletscript.cpp:123
Plasma::Applet * applet() const
Returns the Plasma::Applet associated with this script component.
Definition: appletscript.cpp:42
AppletScript(QObject *parent=nullptr)
Default constructor for an AppletScript.
Definition: appletscript.cpp:25
void configNeedsSaving() const
Definition: appletscript.cpp:79
Plasma::Types::ContainmentType containmentType() const
Definition: appletscript.cpp:112
void setConfigurationRequired(bool req, const QString &reason=QString())
Definition: appletscript.cpp:65
virtual void constraintsEvent(Plasma::Types::Constraints constraints)
Called when any of the geometry constraints have been updated.
Definition: appletscript.cpp:48
void setHasConfigurationInterface(bool hasInterface)
Sets whether or not this applet provides a user interface for configuring the applet.
Definition: applet.cpp:802
void setLaunchErrorMessage(const QString &reason=QString())
Call this method when the applet fails to launch properly.
Definition: applet.cpp:246
void setApplet(Plasma::Applet *applet)
Sets the applet associated with this AppletScript.
Definition: appletscript.cpp:37
The base class for plugins that provide backgrounds and applet grouping containers.
Definition: containment.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:15:01 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:15:01 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.