kjsembed
static_binding.h
Go to the documentation of this file.
49 KJS::JSValue *callAsFunction( KJS::ExecState *exec, KJS::JSObject *self, const KJS::List &args );
93 KJS::JSValue *callAsFunction( KJS::ExecState *exec, KJS::JSObject * /*self*/, const KJS::List &args ) {
103 static KJS::JSObject *add( KJS::ExecState *exec, KJS::JSObject *object, const Constructor *constructor );
119 static KJS::JSObject* bind(KJS::ExecState* exec, const QString &className, PointerBase& objPtr);
KJS::JSValue * callAsFunction(KJS::ExecState *exec, KJS::JSObject *self, const KJS::List &args)
Executes the callback for this method.
Definition static_binding.cpp:41
bool implementsConstruct() const
Definition static_binding.h:50
StaticBinding(KJS::ExecState *exec, const Method *method)
Create a new method.
Definition static_binding.cpp:33
KJS::JSValue * callAsFunction(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition static_binding.h:93
static const Method * methods(const KJS::UString &className)
Definition static_binding.cpp:120
KJS::JSObject * construct(KJS::ExecState *exec, const KJS::List &args)
Calls the callback that will in turn create a new instance of this object with the arguments passed i...
Definition static_binding.cpp:79
void addStaticMethods(KJS::ExecState *exec, const Method *methods)
Add static methods to the object.
static const Constructor * constructor(const KJS::UString &className)
Definition static_binding.cpp:125
const Constructor * m_constructor
Definition static_binding.h:124
bool implementsConstruct() const
Definition static_binding.h:86
StaticConstructor(KJS::ExecState *exec, const Constructor *constructor)
Create a new constructor.
Definition static_binding.cpp:70
Definition application.h:33
Definition binding_support.h:346
Definition pointer.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.