Kross
Kross::EcmaPlugin Class Reference
#include <plugin.h>
Inheritance diagram for Kross::EcmaPlugin:
Public Member Functions | |
EcmaPlugin (QObject *parent=0) | |
virtual | ~EcmaPlugin () |
virtual void | initialize (const QString &key, QScriptEngine *engine) |
virtual QStringList | keys () const |
Detailed Description
Kross QtScript Extension that provides access to the Kross Scripting Framework within the QtScript scripting language.
This EcmaPlugin does implement the extension named "kross".
Definition at line 45 of file qts/plugin.h.
Constructor & Destructor Documentation
EcmaPlugin::EcmaPlugin | ( | QObject * | parent = 0 | ) |
Constructor.
Definition at line 42 of file qts/plugin.cpp.
|
virtual |
Destructor.
Definition at line 49 of file qts/plugin.cpp.
Member Function Documentation
|
virtual |
Initializes this extension.
- Parameters
-
key The key to differ between etensions. We provide the extension which key is "kross". engine The QScriptEngine instance.
Definition at line 55 of file qts/plugin.cpp.
|
virtual |
Returns the list of keys this plugin supports.
- Returns
- a QStringList with the single item "kross" to let QtScript know, that we provide an extension with that key.
Definition at line 71 of file qts/plugin.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:54 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:49:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.