Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_RUNNERSCRIPT_H
21 #define PLASMA_RUNNERSCRIPT_H
23 #include <kgenericfactory.h>
24 #include <kplugininfo.h>
33 class RunnerScriptPrivate;
82 void createRunOptions(
QWidget *widget);
83 void reloadConfiguration();
90 QString mainScript()
const;
102 KPluginInfo description()
const;
110 KConfigGroup config()
const;
111 void setIgnoredTypes(RunnerContext::Types types);
112 void setHasRunOptions(
bool hasRunOptions);
115 KService::List serviceQuery(
const QString &serviceType,
116 const QString &constraint = QString())
const;
117 QAction* addAction(
const QString &
id,
const QIcon &icon,
const QString &text);
118 void addAction(
const QString &
id, QAction *action);
119 void removeAction(
const QString &
id);
120 QAction* action(
const QString &
id)
const;
121 QHash<QString, QAction*> actions()
const;
124 void setSyntaxes(
const QList<RunnerSyntax> &syns);
129 RunnerScriptPrivate *
const d;
132 #define K_EXPORT_PLASMA_RUNNERSCRIPTENGINE(libname, classname) \
133 K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
134 K_EXPORT_PLUGIN(factory("plasma_runnerscriptengine_" #libname))
Data provider for plasmoids (Plasma plugins)
Namespace for everything in libplasma.
Priority
Specifies a priority for the runner.
The base class for scripting interfaces to be used in loading plasmoids of a given language.
A match returned by an AbstractRunner in response to a given RunnerContext.
An abstract base class for Plasma Runner plugins.
Provides a restricted interface for scripting a runner.
Speed
Specifies a nominal speed for the runner.
The RunnerContext class provides information related to a search, including the search term,...
object representing an installed Plasmagik package
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.