Kross
Kross::EcmaObject Class Reference
#include <values_p.h>
Inheritance diagram for Kross::EcmaObject:
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 Kross::Object | |
Object () | |
Object (const Object &other) | |
virtual | ~Object () |
virtual void | virtual_hook (int id, void *ptr) |
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 |
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 |
Definition at line 60 of file values_p.h.
|
inlinevirtual |
Definition at line 61 of file values_p.h.
The documentation for this class was generated from the following file:
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.