parley
script.cpp
Go to the documentation of this file.
void addObjects(QMap< QString, QObject * > objects)
Adds more than one scripting Objects to the script.
Definition: script.cpp:116
QMap< Key, T > & unite(const QMap< Key, T > &other)
bool isActivated()
Returns true if the script was successfully activated; false otherwise.
Definition: script.cpp:36
Item next()
const Key & key() const
const T & value() const
bool exists() const
QString & replace(int position, int n, QChar after)
QObject(QObject *parent)
QString errorMessage()
Returns an html error message if there have been errors in the script.
Definition: script.cpp:121
iterator insert(const Key &key, const T &value)
QString fileName()
Returns the file that was given as parameter to the constructor.
Definition: script.cpp:104
void addObject(QString name, QObject *object)
Add an object to be accessible by the script.
Definition: script.cpp:110
bool hasNext() const
bool exists()
Checks if the script file assigned to the Script object exists as a file on the given path...
Definition: script.cpp:97
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.