Kross
#include <values_p.h>
Public Member Functions | |
EcmaObject (QScriptEngine *engine, const QScriptValue &object=QScriptValue()) | |
virtual | ~EcmaObject () |
virtual QVariant | callMethod (const QString &name, const QVariantList &args=QVariantList()) |
virtual QStringList | methodNames () |
virtual QString | name () const |
virtual QScriptValue | prototype () const |
Public Member Functions inherited from QScriptClass | |
QScriptClass (QScriptEngine *engine) | |
virtual | ~QScriptClass () |
QScriptEngine * | engine () const |
virtual QVariant | extension (Extension extension, const QVariant &argument) |
virtual QScriptClassPropertyIterator * | newIterator (const QScriptValue &object) |
virtual QScriptValue | property (const QScriptValue &object, const QScriptString &name, uint id) |
virtual QScriptValue::PropertyFlags | propertyFlags (const QScriptValue &object, const QScriptString &name, uint id) |
virtual QueryFlags | queryProperty (const QScriptValue &object, const QScriptString &name, QFlags< QScriptClass::QueryFlag > flags, uint *id) |
virtual void | setProperty (QScriptValue &object, const QScriptString &name, uint id, const QScriptValue &value) |
virtual bool | supportsExtension (Extension extension) const |
Public Member Functions inherited from Kross::Object | |
Object () | |
Object (const Object &other) | |
virtual | ~Object () |
virtual void | virtual_hook (int id, void *ptr) |
Public Member Functions inherited from QSharedData | |
QSharedData () | |
QSharedData (const QSharedData &other) | |
Public Member Functions inherited from Kross::ErrorInterface | |
ErrorInterface () | |
void | clearError () |
long | errorLineNo () const |
const QString | errorMessage () const |
const QString | errorTrace () const |
bool | hadError () const |
void | setError (const QString &errormessage, const QString &tracemessage=QString(), long lineno=-1) |
void | setError (ErrorInterface *error) |
Additional Inherited Members | |
Public Types inherited from Kross::Object | |
typedef KSharedPtr< Object > | Ptr |
Public Attributes inherited from QScriptClass | |
typedef | QueryFlags |
Detailed Description
The EcmaObject implements QScriptClass and Kross::Object to provide custom behavior to QtScript objects.
Definition at line 54 of file values_p.h.
Constructor & Destructor Documentation
|
inlineexplicit |
Definition at line 57 of file values_p.h.
|
inlinevirtual |
Definition at line 59 of file values_p.h.
Member Function Documentation
|
inlinevirtual |
Pass a call to the object and evaluated it.
- Parameters
-
name Each call has a name that says what should be called. args The optional list of arguments passed to the call.
- Returns
- The call-result as QVariant.
Reimplemented from Kross::Object.
Definition at line 63 of file values_p.h.
|
inlinevirtual |
Return a list of supported callable objects.
- Returns
- List of supported calls.
Reimplemented from Kross::Object.
Definition at line 79 of file values_p.h.
|
inlinevirtual |
Reimplemented from QScriptClass.
Definition at line 60 of file values_p.h.
|
inlinevirtual |
Reimplemented from QScriptClass.
Definition at line 61 of file values_p.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.