kjsembed
value_binding.h
Go to the documentation of this file.
46 KJSEmbed::ValueBinding *imp = KJSEmbed::extractBindingImp<KJSEmbed::ValueBinding>(exec, self ); \
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) )));
static const Method ValueMethods[]
Definition: value_binding.h:96
KJS::UString toString(KJS::ExecState *exec) const
Definition: value_binding.cpp:66
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
Definition: binding_support.h:247
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::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
Definition: pointer.h:31
Definition: pointer.h:73
Definition: variant_binding.cpp:130
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
virtual void * voidStar()=0
KJS::JSValue * createValue(KJS::ExecState *exec, const KJS::UString &className, const T &value)
Definition: value_binding.h:195
JSObject * throwError(ExecState *e, ErrorType t, const QString &m)
Definition: binding_support.h:241
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 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:47:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.