parley
scriptmanager.h
Go to the documentation of this file.
ScriptManager(Editor::EditorWindow *editor)
Definition: scriptmanager.cpp:31
QStringList enabledScripts()
Returns a list of filenames (full path) of enabled scripts.
Definition: scriptmanager.cpp:81
void addObject(QObject *obj, const QString &name)
Adds a QObject as a module for the script.
Definition: scriptmanager.cpp:138
void addScriptAction(const QString &name, KAction *action)
Add a KAction to the Scripts menu.
Definition: scriptmanager.cpp:162
Translator * translator()
returns the Translator object the Scripting::Parley
Definition: scriptmanager.h:111
static QString getScriptEntry(QString desktopFile)
Parses the desktop desktopFile given and returns the value of "Script" entry.
Definition: scriptmanager.cpp:65
QString getScriptFileName(QString desktopFile)
Returns the full path to the script name given in the desktopFile.
Definition: scriptmanager.cpp:74
const char * name() const
void loadScripts()
Loads (activates) all the available scripts and notifies the user if any script was not activated (du...
Definition: scriptmanager.cpp:112
Parley scripting class (main entry point of a Parley Kross script)
Definition: parley.h:152
static QMap< QString, QString > categories()
Returns a QMap (from from categories codenames to categories display label) to be used in KPluginSele...
Definition: scriptmanager.cpp:57
Definition: editor.h:50
This class finds the scripts installed in the application directory and manages loading and unloading...
Definition: scriptmanager.h:30
static QStringList getDesktopFiles()
Finds all the available desktop files in {PARLEY_DATA_FOLDER}/plugins.
Definition: scriptmanager.cpp:45
void disablePlugin(QString desktopFile)
Modify the parleyrc configuration so it disables the dektopFile plugin.
Definition: scriptmanager.cpp:100
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.