kjsembed
qpainter_binding.cpp
Go to the documentation of this file.
503 KJS::throwError( exec, KJS::EvalError, QString("Cannot paint to object %1").arg(toQString(args[0]->toString(exec))));
Definition object_binding.h:89
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 application.h:33
QString KJSEMBED_EXPORT extractQString(KJS::ExecState *exec, const KJS::List &args, int idx, const QString defaultValue=QString())
Extracts a QString from an argument list.
Definition binding_support.cpp:34
int KJSEMBED_EXPORT extractInt(KJS::ExecState *exec, const KJS::List &args, int idx, int defaultValue=0)
Extracts an integer from an argument list.
Definition binding_support.cpp:72
T KJSEMBED_EXPORT extractString(KJS::ExecState *exec, KJS::JSValue *value, T defaultValue=T())
Definition binding_support.h:416
QVariant KJSEMBED_EXPORT extractVariant(KJS::ExecState *exec, KJS::JSValue *value)
Extracts a QVariant from a KJS::JSValue if the conversion fails a QVariant::Null is returned.
Definition variant_binding.cpp:407
KJS::JSValue * createVariant(KJS::ExecState *exec, const KJS::UString &className, const T &value)
Can create any known KJSEmbed::VariantBinding object and set the value.
Definition variant_binding.h:185
JSObject * throwError(ExecState *e, ErrorType t, const QString &m)
Definition binding_support.h:241
#define START_OBJECT_METHOD(METHODNAME, TYPE)
A simple pointer syle method.
Definition object_binding.h:40
#define END_OBJECT_METHOD
End a variant method started by START_OBJECT_METHOD.
Definition object_binding.h:57
QPaintDevice * extractPaintDevice(KJS::ExecState *exec, KJS::JSValue *arg)
Definition qpainter_binding.cpp:44
object drawConvexPolygon(arg0)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.