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))
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:31:03 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.