Kate
katescriptmanager.h
Go to the documentation of this file.
119 KateIndentScript *indentationScript (const QString &scriptname) { return m_indentationScriptMap.value(scriptname); }
Manage the scripts on disks – find them and query them.
Definition: katescriptmanager.h:43
bool help(KTextEditor::View *view, const QString &cmd, QString &msg)
get help for a command
Definition: katescriptmanager.cpp:353
static bool parseMetaInformation(const QString &url, QHash< QString, QString > &pairs)
Extract the meta data from the script at url and put in pairs.
Definition: katescriptmanager.cpp:275
int indentationScriptCount()
Definition: katescriptmanager.h:121
bool exec(KTextEditor::View *view, const QString &cmd, QString &errorMsg)
execute command
Definition: katescriptmanager.cpp:333
KateIndentScript * indentationScript(const QString &scriptname)
Definition: katescriptmanager.h:119
KateIndentScript * indentationScriptByIndex(int index)
Definition: katescriptmanager.h:122
A specialized class for scripts that are of type KateScriptInformation::IndentationScript.
Definition: kateindentscript.h:94
void collect(bool force=false)
Find all of the scripts matching the wildcard directory.
Definition: katescriptmanager.cpp:89
virtual ~KateScriptManager()
Definition: katescriptmanager.cpp:52
void unregisterTemplateScript(KTextEditor::TemplateScript *templateScript)
unregister a given script
Definition: katescriptmanager.cpp:389
KTextEditor::TemplateScript * registerTemplateScript(QObject *owner, const QString &script)
managing of scripts for the template handler.
Definition: katescriptmanager.cpp:378
const QVector< KateCommandLineScript * > & commandLineScripts()
Get all scripts available in the command line.
Definition: katescriptmanager.h:54
Definition: katetemplatescript.h:28
void slotTemplateScriptOwnerDestroyed(QObject *owner)
Definition: katescriptmanager.cpp:400
void reloaded()
this signal is emitted when all scripts are deleted and reloaded again.
KateIndentScript * indenter(const QString &language)
Get an indentation script for the given language – if there is more than one result, this will return the script with the highest priority.
Definition: katescriptmanager.cpp:60
KateTemplateScript * templateScript(KTextEditor::TemplateScript *templateScript)
Definition: katescriptmanager.cpp:410
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.