kjsembed
value_binding.h
Go to the documentation of this file.
184 T extractValue( KJS::ExecState *exec, const KJS::List &args, int idx, const T &defaultValue = T())
208 KJS::throwError(exec, KJS::TypeError, toUString(QString("Created failed to cast to %1 failed").arg(toQString(className))));
214 KJS::throwError(exec, KJS::TypeError, toUString(QString("Could not construct a %1").arg(toQString(className) )));
ProxyBinding(KJS::ExecState *exec)
Definition binding_support.cpp:28
static void publish(KJS::ExecState *exec, KJS::JSObject *object, const Method *methods)
Publishes an array of Methods to an object.
Definition static_binding.cpp:60
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
ValueBinding(KJS::ExecState *exec, const char *typeName, T val)
Definition value_binding.h:107
static T castValue(ValueBinding *imp)
Definition value_binding.h:144
KJS::UString toString(KJS::ExecState *exec) const
Definition value_binding.cpp:66
Definition application.h:33
T extractValue(KJS::ExecState *exec, KJS::JSValue *arg, const T &defaultValue)
Extracts a pointer based type from an ObjectBinding object.
Definition value_binding.h:167
KJS::JSValue * createValue(KJS::ExecState *exec, const KJS::UString &className, const T &value)
Definition value_binding.h:195
T * extractBindingImp(KJS::ExecState *exec, KJS::JSValue *val)
This will extract a binding implementation from a KJS::JSValue.
Definition binding_support.h:268
JSObject * throwError(ExecState *e, ErrorType t, const QString &m)
Definition binding_support.h:241
Definition pointer.h:32
virtual void * voidStar()=0
Definition pointer.h:74
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.