Kate
#include <katecommandlinescript.h>
Public Member Functions | |
KateCommandLineScript (const QString &url, const KateCommandLineScriptHeader &header) | |
virtual | ~KateCommandLineScript () |
ScriptActionInfo | actionInfo (const QString &cmd) |
bool | callFunction (const QString &cmd, const QStringList args, QString &errorMessage) |
virtual const QStringList & | cmds () |
const KateCommandLineScriptHeader & | commandHeader () |
virtual bool | exec (KTextEditor::View *view, const QString &cmd, QString &msg) |
virtual bool | exec (KTextEditor::View *view, const QString &cmd, QString &msg, const KTextEditor::Range &range) |
virtual bool | help (KTextEditor::View *view, const QString &cmd, QString &msg) |
virtual bool | supportsRange (const QString &cmd) |
Public Member Functions inherited from KateScript | |
KateScript (const QString &urlOrScript, enum InputType inputType=InputURL) | |
virtual | ~KateScript () |
QString | backtrace (const QScriptValue &error, const QString &header=QString()) |
void | clearExceptions () |
void | displayBacktrace (const QScriptValue &error, const QString &header=QString()) |
const QString & | errorMessage () |
QScriptValue | function (const QString &name) |
KateScriptHeader & | generalHeader () |
QScriptValue | global (const QString &name) |
bool | load () |
void | setGeneralHeader (const KateScriptHeader &generalHeader) |
bool | setView (KateView *view) |
const QString & | url () |
Additional Inherited Members | |
Public Types inherited from KateScript | |
enum | InputType { InputURL, InputSCRIPT } |
Protected Member Functions inherited from KateScript | |
bool | hasException (const QScriptValue &object, const QString &file) |
Protected Attributes inherited from KateScript | |
QScriptEngine * | m_engine |
Detailed Description
A specialized class for scripts that are of type KateScriptInformation::IndentationScript.
Definition at line 80 of file katecommandlinescript.h.
Constructor & Destructor Documentation
KateCommandLineScript::KateCommandLineScript | ( | const QString & | url, |
const KateCommandLineScriptHeader & | header | ||
) |
Definition at line 33 of file katecommandlinescript.cpp.
|
virtual |
Definition at line 40 of file katecommandlinescript.cpp.
Member Function Documentation
ScriptActionInfo KateCommandLineScript::actionInfo | ( | const QString & | cmd | ) |
Definition at line 76 of file katecommandlinescript.cpp.
bool KateCommandLineScript::callFunction | ( | const QString & | cmd, |
const QStringList | args, | ||
QString & | errorMessage | ||
) |
Definition at line 51 of file katecommandlinescript.cpp.
|
virtual |
Definition at line 107 of file katecommandlinescript.cpp.
const KateCommandLineScriptHeader & KateCommandLineScript::commandHeader | ( | ) |
Definition at line 45 of file katecommandlinescript.cpp.
|
virtual |
Definition at line 112 of file katecommandlinescript.cpp.
|
virtual |
Definition at line 143 of file katecommandlinescript.cpp.
|
virtual |
Definition at line 155 of file katecommandlinescript.cpp.
|
virtual |
Definition at line 150 of file katecommandlinescript.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.