Plasma
7 #ifndef PLASMA_APPLETSCRIPT_H
8 #define PLASMA_APPLETSCRIPT_H
14 #include <plasma/plasma_export.h>
15 #if PLASMA_ENABLE_DEPRECATED_SINCE(5, 94)
16 #include <KPluginInfo>
19 #include <plasma/containment.h>
20 #include <plasma/scripting/scriptengine.h>
27 class AppletScriptPrivate;
87 void setHasConfigurationInterface(
bool hasInterface);
92 void setConfigurationRequired(
bool req,
const QString &reason =
QString());
102 void configNeedsSaving()
const;
125 void uiReadyChanged(
bool uiReady);
132 virtual void configChanged();
138 QString mainScript()
const override;
140 #if PLASMA_BUILD_DEPRECATED_SINCE(5, 83)
147 PLASMA_DEPRECATED_VERSION(5, 83,
"Use kpackage API instead")
148 Package package()
const override;
151 #if PLASMA_ENABLE_DEPRECATED_SINCE(5, 81)
156 PLASMA_DEPRECATED_VERSION(5, 81,
"Use applet()->pluginMetaData() instead.")
163 AppletScriptPrivate *
const d;
166 #if PLASMA_ENABLE_DEPRECATED_SINCE(5, 88)
168 #define K_EXPORT_PLASMA_APPLETSCRIPTENGINE(libname, classname) K_PLUGIN_FACTORY(factory, registerPlugin<classname>();)
171 #define K_EXPORT_PLASMA_APPLETSCRIPTENGINE_WITH_JSON(libname, classname, jsonFile) K_PLUGIN_FACTORY_WITH_JSON(factory, jsonFile, registerPlugin<classname>();)
Namespace for everything in libplasma.
The base class for scripting interfaces to be used in loading plasmoids of a given language.
Provides a restricted interface for scripted applets.
ContainmentType
This enumeration describes the type of the Containment.
object representing an installed Plasma package
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Feb 5 2023 04:14:15 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.