1
#include "QPaintDevice_bind.h"
2
#include <qPaintDevice.h>
3
#include <object_binding.h>
4
#include <value_binding.h>
7
using namespace KJSEmbed;
9
const KJS::ClassInfo QPaintDeviceBinding::info = { "QPaintDevice", 0, 0, 0 };
10
QPaintDeviceBinding::QPaintDeviceBinding( KJS::ExecState *exec, QPaintDevice *value )
11
: ObjectBinding<QPaintDevice>(exec, value)
13
StaticBinding::publish(exec, this, QPaintDeviceData::methods() );
14
StaticBinding::publish(exec, this, VariantFactory::methods() );
18
namespace QPaintDeviceNS
22
const Enumerator KJSEmbed::QPaintDeviceData::p_enums[] = {{0, 0 }};
24
NO_STATICS( KJSEmbed::QPaintDeviceData )
25
const Constructor KJSEmbed::QPaintDeviceData::p_constructor =
26
{"QPaintDevice", 0, KJS::DontDelete|KJS::ReadOnly, &QPaintDeviceData::ctorMethod, p_statics, p_enums, KJSEmbed::QPaintDeviceData::p_methods };
27
KJS::JSObject *KJSEmbed::QPaintDeviceData::ctorMethod( KJS::ExecState *exec, const KJS::List &args )
29
if (args.size() == 0 )
30
return new KJSEmbed::QPaintDeviceBinding(exec, new QPaintDevice);
32
return KJS::throwError(exec, KJS::SyntaxError, "Syntax error in parameter list for QPaintDevice");
35
const Method KJSEmbed::QPaintDeviceData::p_methods[] =