diff options
Diffstat (limited to 'kjsembed/qtbindings/qcanvasitem_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcanvasitem_imp.cpp | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/kjsembed/qtbindings/qcanvasitem_imp.cpp b/kjsembed/qtbindings/qcanvasitem_imp.cpp index 9a3d0a5b..9e009567 100644 --- a/kjsembed/qtbindings/qcanvasitem_imp.cpp +++ b/kjsembed/qtbindings/qcanvasitem_imp.cpp @@ -23,19 +23,19 @@ */ namespace KJSEmbed { -QCanvasItemImp::QCanvasItemImp( KJS::ExecState *exec, int mid, bool constructor ) +TTQCanvasItemImp::TQCanvasItemImp( KJS::ExecState *exec, int mid, bool constructor ) : JSProxyImp(exec), id(mid), cons(constructor) { } -QCanvasItemImp::~QCanvasItemImp() +TTQCanvasItemImp::~TQCanvasItemImp() { } /** * Adds bindings for static methods and enum constants to the specified Object. */ -void QCanvasItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQCanvasItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -43,11 +43,11 @@ void QCanvasItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &objec }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { - QCanvasItemImp *meth = new QCanvasItemImp( exec, methods[idx].id ); + TQCanvasItemImp *meth = new TQCanvasItemImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -66,15 +66,15 @@ void QCanvasItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &objec EnumValue enums[] = { // enum RttiValues - { "Rtti_Item", TQCanvasItem::Rtti_Item }, - { "Rtti_Sprite", TQCanvasItem::Rtti_Sprite }, - { "Rtti_PolygonalItem", TQCanvasItem::Rtti_PolygonalItem }, - { "Rtti_Text", TQCanvasItem::Rtti_Text }, - { "Rtti_Polygon", TQCanvasItem::Rtti_Polygon }, - { "Rtti_Rectangle", TQCanvasItem::Rtti_Rectangle }, - { "Rtti_Ellipse", TQCanvasItem::Rtti_Ellipse }, - { "Rtti_Line", TQCanvasItem::Rtti_Line }, - { "Rtti_Spline", TQCanvasItem::Rtti_Spline }, + { "Rtti_Item", TTQCanvasItem::Rtti_Item }, + { "Rtti_Sprite", TTQCanvasItem::Rtti_Sprite }, + { "Rtti_PolygonalItem", TTQCanvasItem::Rtti_PolygonalItem }, + { "Rtti_Text", TTQCanvasItem::Rtti_Text }, + { "Rtti_Polygon", TTQCanvasItem::Rtti_Polygon }, + { "Rtti_Rectangle", TTQCanvasItem::Rtti_Rectangle }, + { "Rtti_Ellipse", TTQCanvasItem::Rtti_Ellipse }, + { "Rtti_Line", TTQCanvasItem::Rtti_Line }, + { "Rtti_Spline", TTQCanvasItem::Rtti_Spline }, { 0, 0 } }; @@ -89,7 +89,7 @@ void QCanvasItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &objec /** * Adds bindings for instance methods to the specified Object. */ -void QCanvasItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQCanvasItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -135,11 +135,11 @@ void QCanvasItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { - QCanvasItemImp *meth = new QCanvasItemImp( exec, methods[idx].id ); + TQCanvasItemImp *meth = new TQCanvasItemImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -148,64 +148,64 @@ void QCanvasItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) } /** - * Extract a TQCanvasItem pointer from an Object. + * Extract a TTQCanvasItem pointer from an Object. */ -TQCanvasItem *QCanvasItemImp::toQCanvasItem( KJS::Object &self ) +TTQCanvasItem *TQCanvasItemImp::toTQCanvasItem( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - TQObject *obj = ob->object(); + TTQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<TQCanvasItem *>( obj ); + return dynamic_cast<TTQCanvasItem *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; /* - if ( !op->inherits(TQCANVASITEM_OBJECT_NAME_STRING) ) { + if ( !op->inherits(TTQCANVASITEM_OBJECT_NAME_STRING) ) { kdDebug() << "Typename of opaque canvas item is " << op->typeName() << endl; // Check superclasses return 0; } */ - return op->toNative<TQCanvasItem>(); + return op->toNative<TTQCanvasItem>(); } /** * Select and invoke the correct constructor. */ -KJS::Object QCanvasItemImp::construct( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQCanvasItemImp::construct( KJS::ExecState *exec, const KJS::List &args ) { switch( id ) { case Constructor_QCanvasItem_1: - return QCanvasItem_1( exec, args ); + return TQCanvasItem_1( exec, args ); break; default: break; } - TQString msg = i18n("QCanvasItemCons has no constructor with id '%1'.").arg(id); + TTQString msg = i18n("TQCanvasItemCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Object QCanvasItemImp::QCanvasItem_1( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQCanvasItemImp::TQCanvasItem_1( KJS::ExecState *exec, const KJS::List &args ) { #if 0 // This constructor has been disabled by the XSL template - // Unsupported parameter TQCanvas * + // Unsupported parameter TTQCanvas * return KJS::Object(); - TQCanvas * arg0; // Dummy + TTQCanvas * arg0; // Dummy - // We should now create an instance of the TQCanvasItem object + // We should now create an instance of the TTQCanvasItem object - TQCanvasItem *ret = new TQCanvasItem( + TTQCanvasItem *ret = new TTQCanvasItem( arg0 ); @@ -215,13 +215,13 @@ KJS::Object QCanvasItemImp::QCanvasItem_1( KJS::ExecState *exec, const KJS::List } -KJS::Value QCanvasItemImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) +KJS::Value TQCanvasItemImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) { - instance = QCanvasItemImp::toQCanvasItem( self ); + instance = TQCanvasItemImp::toTQCanvasItem( self ); /* if ( !instance ) { - TQString msg = i18n( "QCanvasItemImp was not valid" ); + TTQString msg = i18n( "TQCanvasItemImp was not valid" ); return throwError(exec, msg,KJS::ReferenceError); } */ @@ -384,12 +384,12 @@ KJS::Value QCanvasItemImp::call( KJS::ExecState *exec, KJS::Object &self, const break; } - TQString msg = i18n( "QCanvasItemImp has no method with id '%1'." ).arg( id ); + TTQString msg = i18n( "TQCanvasItemImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Value QCanvasItemImp::x_3( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::x_3( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double ret; @@ -398,7 +398,7 @@ KJS::Value QCanvasItemImp::x_3( KJS::ExecState *exec, KJS::Object &obj, const KJ } -KJS::Value QCanvasItemImp::y_4( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::y_4( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double ret; @@ -407,7 +407,7 @@ KJS::Value QCanvasItemImp::y_4( KJS::ExecState *exec, KJS::Object &obj, const KJ } -KJS::Value QCanvasItemImp::z_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::z_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double ret; @@ -416,7 +416,7 @@ KJS::Value QCanvasItemImp::z_5( KJS::ExecState *exec, KJS::Object &obj, const KJ } -KJS::Value QCanvasItemImp::moveBy_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::moveBy_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double arg0 = extractDouble(exec, args, 0); @@ -430,7 +430,7 @@ KJS::Value QCanvasItemImp::moveBy_6( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QCanvasItemImp::move_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::move_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double arg0 = extractDouble(exec, args, 0); @@ -444,7 +444,7 @@ KJS::Value QCanvasItemImp::move_7( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasItemImp::setX_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setX_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double arg0 = extractDouble(exec, args, 0); @@ -455,7 +455,7 @@ KJS::Value QCanvasItemImp::setX_8( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasItemImp::setY_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setY_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double arg0 = extractDouble(exec, args, 0); @@ -466,7 +466,7 @@ KJS::Value QCanvasItemImp::setY_9( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasItemImp::setZ_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setZ_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double arg0 = extractDouble(exec, args, 0); @@ -477,7 +477,7 @@ KJS::Value QCanvasItemImp::setZ_10( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QCanvasItemImp::animated_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::animated_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -486,7 +486,7 @@ KJS::Value QCanvasItemImp::animated_11( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::setAnimated_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setAnimated_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -497,7 +497,7 @@ KJS::Value QCanvasItemImp::setAnimated_12( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QCanvasItemImp::setVelocity_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setVelocity_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double arg0 = extractDouble(exec, args, 0); @@ -511,7 +511,7 @@ KJS::Value QCanvasItemImp::setVelocity_13( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QCanvasItemImp::setXVelocity_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setXVelocity_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double arg0 = extractDouble(exec, args, 0); @@ -522,7 +522,7 @@ KJS::Value QCanvasItemImp::setXVelocity_14( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QCanvasItemImp::setYVelocity_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setYVelocity_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double arg0 = extractDouble(exec, args, 0); @@ -533,7 +533,7 @@ KJS::Value QCanvasItemImp::setYVelocity_15( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QCanvasItemImp::xVelocity_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::xVelocity_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double ret; @@ -542,7 +542,7 @@ KJS::Value QCanvasItemImp::xVelocity_16( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::yVelocity_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::yVelocity_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { double ret; @@ -551,7 +551,7 @@ KJS::Value QCanvasItemImp::yVelocity_17( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::advance_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::advance_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -562,13 +562,13 @@ KJS::Value QCanvasItemImp::advance_18( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QCanvasItemImp::collidesWith_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::collidesWith_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQCanvasItem * + // Unsupported parameter const TTQCanvasItem * return KJS::Value(); - const TQCanvasItem * arg0; // Dummy + const TTQCanvasItem * arg0; // Dummy bool ret; ret = instance->collidesWith( @@ -577,24 +577,24 @@ KJS::Value QCanvasItemImp::collidesWith_19( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QCanvasItemImp::collisions_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::collisions_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); instance->collisions( arg0 ); - return KJS::Value(); // Returns 'QCanvasItemList' + return KJS::Value(); // Returns 'TQCanvasItemList' } -KJS::Value QCanvasItemImp::setCanvas_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setCanvas_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvas * + // Unsupported parameter TTQCanvas * return KJS::Value(); - TQCanvas * arg0; // Dummy + TTQCanvas * arg0; // Dummy instance->setCanvas( arg0 ); @@ -602,10 +602,10 @@ KJS::Value QCanvasItemImp::setCanvas_21( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::draw_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::draw_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPainter arg0; // TODO (hack for qcanvas) + TTQPainter arg0; // TODO (hack for qcanvas) instance->draw( arg0 ); @@ -613,7 +613,7 @@ KJS::Value QCanvasItemImp::draw_22( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QCanvasItemImp::show_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::show_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->show( ); @@ -621,7 +621,7 @@ KJS::Value QCanvasItemImp::show_23( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QCanvasItemImp::hide_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::hide_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->hide( ); @@ -629,7 +629,7 @@ KJS::Value QCanvasItemImp::hide_24( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QCanvasItemImp::setVisible_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setVisible_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -640,7 +640,7 @@ KJS::Value QCanvasItemImp::setVisible_25( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QCanvasItemImp::isVisible_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::isVisible_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -649,7 +649,7 @@ KJS::Value QCanvasItemImp::isVisible_26( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::setSelected_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setSelected_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -660,7 +660,7 @@ KJS::Value QCanvasItemImp::setSelected_27( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QCanvasItemImp::isSelected_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::isSelected_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -669,7 +669,7 @@ KJS::Value QCanvasItemImp::isSelected_28( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QCanvasItemImp::setEnabled_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setEnabled_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -680,7 +680,7 @@ KJS::Value QCanvasItemImp::setEnabled_29( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QCanvasItemImp::isEnabled_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::isEnabled_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -689,7 +689,7 @@ KJS::Value QCanvasItemImp::isEnabled_30( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::setActive_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::setActive_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -700,7 +700,7 @@ KJS::Value QCanvasItemImp::setActive_31( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::isActive_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::isActive_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -709,7 +709,7 @@ KJS::Value QCanvasItemImp::isActive_32( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::visible_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::visible_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -718,7 +718,7 @@ KJS::Value QCanvasItemImp::visible_33( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QCanvasItemImp::selected_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::selected_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -727,7 +727,7 @@ KJS::Value QCanvasItemImp::selected_34( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasItemImp::enabled_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::enabled_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -736,7 +736,7 @@ KJS::Value QCanvasItemImp::enabled_35( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QCanvasItemImp::active_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::active_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -745,7 +745,7 @@ KJS::Value QCanvasItemImp::active_36( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QCanvasItemImp::rtti_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::rtti_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -754,29 +754,29 @@ KJS::Value QCanvasItemImp::rtti_37( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QCanvasItemImp::boundingRect_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::boundingRect_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQRect ret; + TTQRect ret; ret = instance->boundingRect( ); return convertToValue( exec, ret ); } -KJS::Value QCanvasItemImp::boundingRectAdvanced_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::boundingRectAdvanced_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQRect ret; + TTQRect ret; ret = instance->boundingRectAdvanced( ); return convertToValue( exec, ret ); } -KJS::Value QCanvasItemImp::canvas_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasItemImp::canvas_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->canvas( ); - return KJS::Value(); // Returns 'TQCanvas *' + return KJS::Value(); // Returns 'TTQCanvas *' } |