Plasma
appletscript.cpp
Go to the documentation of this file.
47AppletScript::~AppletScript()
86QList<QAction*> AppletScript::contextualActions()
139KConfigDialog *AppletScript::standardConfigurationDialog()
155void AppletScript::showMessage(const QIcon &icon, const QString &message, const MessageButtons buttons)
static Plasma::Animation * create(Animator::Animation type, QObject *parent=0)
Factory to build new animation objects.
Definition: animator.cpp:61
Plasma::Applet * applet() const
Returns the Plasma::Applet associated with this script component.
Definition: appletscript.cpp:57
void setHasConfigurationInterface(bool hasInterface)
Sets whether or not this applet provides a user interface for configuring the applet.
Definition: applet.cpp:1724
void showMessage(const QIcon &icon, const QString &message, const Plasma::MessageButtons buttons)
Shows a message as an overlay of the applet: the message has an icon, text and (optional) buttons.
Definition: applet.cpp:1062
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:1010
void configNeedsSaving()
Emitted when an applet has changed values in its configuration and wishes for them to be saved at the...
void unregisterAsDragHandle(QGraphicsItem *item)
Unregister a widget registered with registerAsDragHandle.
Definition: applet.cpp:1657
const Package * package() const
Accessor for the associated Package object if any.
Definition: applet.cpp:691
bool isRegisteredAsDragHandle(QGraphicsItem *item)
Definition: applet.cpp:1670
void registerAsDragHandle(QGraphicsItem *item)
Register the widgets that manage mouse clicks but you still want to be able to drag the applet around...
Definition: applet.cpp:1647
void setFailedToLaunch(bool failed, const QString &reason=QString())
Call this method when the applet fails to launch properly.
Definition: applet.cpp:366
The base class for plugins that provide backgrounds and applet grouping containers.
Definition: containment.h:73
void setContainmentType(Containment::Type type)
Sets the type of this containment.
Definition: containment.cpp:506
void setDrawWallpaper(bool drawWallpaper)
Sets whether wallpaper is painted or not.
Definition: containment.cpp:1796
QString filePath(const char *fileType, const QString &filename) const
Get the path to a given file.
Definition: package.cpp:213
The base class for scripting interfaces to be used in loading plasmoids of a given language.
Definition: scriptengine.h:66
bool loadScript(const QString &path, const QString &prefix)
Definition: animationscriptengine.cpp:187
bool isAnimationRegistered(const QString &anim)
Definition: animationscriptengine.cpp:60
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
Definition: easingcurve.cpp:63
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.