kjsembed
console.cpp
Go to the documentation of this file.
126 m_ui.mConsole->append(errorTemplate.arg( KJSEmbed::toQString(jsres.value()->toString(exec)) ) );
bool close()
ExitStatus execute(const KJS::UString &code)
Execute a code string using the current interpreter.
Definition: kjsembed.cpp:245
Definition: kjs_object_model.h:35
T value() const
KJS::Interpreter * interpreter() const
Returns the current interpreter.
Definition: kjsembed.cpp:200
KJS::Completion completion() const
Returns the Completion object for the last script executed.
Definition: kjsembed.cpp:195
QString tr(const char *sourceText, const char *disambiguation, int n)
void on_actionOpenScript_activated()
Definition: console.cpp:83
bool isEmpty() const
void on_actionCloseScript_activated()
Definition: console.cpp:107
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
Definition: kjsembed.h:65
virtual bool atEnd() const
QString getOpenFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags< QFileDialog::Option > options)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void updateModel(KJS::JSObject *m_root)
Definition: kjs_object_model.cpp:43
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
qint64 readLine(char *data, qint64 maxSize)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:53 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:22:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.