Kate
katescript.h
Go to the documentation of this file.
KateScript(const QString &urlOrScript, enum InputType inputType=InputURL)
Create a new script representation, passing either a file or the script content urlOrScript to it...
Definition: katescript.cpp:78
KateScript objects represent a script that can be executed and inspected.
Definition: katescript.h:106
Definition: katescript.h:110
void setScriptType(Kate::ScriptType scriptType)
Definition: katescript.h:86
const char * name(StandardAction id)
QScriptValue global(const QString &name)
Get a QScriptValue for a global item in the script given its name, or an invalid QScriptValue if no s...
Definition: katescript.cpp:135
QString backtrace(const QScriptValue &error, const QString &header=QString())
Returns the backtrace when a script has errored out.
Definition: katescript.cpp:106
void setKateVersion(const QString &kateVersion)
Definition: katescript.h:76
Definition: katescript.h:53
Thinish wrapping around KateDocument, exposing the methods we want exposed and adding some helper met...
Definition: katescriptdocument.h:46
void clearExceptions()
Clears any uncaught exceptions in the script engine.
Definition: katescript.cpp:128
void setGeneralHeader(const KateScriptHeader &generalHeader)
set the general header after construction of the script
Definition: katescript.cpp:229
Definition: kateview.h:78
Definition: katedocument.h:74
Thinish wrapping around KateView, exposing the methods we want exposed and adding some helper methods...
Definition: katescriptview.h:43
bool setView(KateView *view)
set view for this script for the execution will trigger load!
Definition: katescript.cpp:219
void displayBacktrace(const QScriptValue &error, const QString &header=QString())
Displays the backtrace when a script has errored out.
Definition: katescript.cpp:119
Definition: katescript.h:111
bool hasException(const QScriptValue &object, const QString &file)
Checks for exception and gives feedback on the console.
Definition: katescript.cpp:206
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.