diff options
Diffstat (limited to 'kjsembed/qtbindings/qcanvaspolygonalitem_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcanvaspolygonalitem_imp.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kjsembed/qtbindings/qcanvaspolygonalitem_imp.cpp b/kjsembed/qtbindings/qcanvaspolygonalitem_imp.cpp index 8dc06e3a..4f09509d 100644 --- a/kjsembed/qtbindings/qcanvaspolygonalitem_imp.cpp +++ b/kjsembed/qtbindings/qcanvaspolygonalitem_imp.cpp @@ -23,12 +23,12 @@ */ namespace KJSEmbed { -TTQCanvasPolygonalItemImp::TQCanvasPolygonalItemImp( KJS::ExecState *exec, int mid, bool constructor ) +TQCanvasPolygonalItemImp::TQCanvasPolygonalItemImp( KJS::ExecState *exec, int mid, bool constructor ) : JSProxyImp(exec), id(mid), cons(constructor) { } -TTQCanvasPolygonalItemImp::~TQCanvasPolygonalItemImp() +TQCanvasPolygonalItemImp::~TQCanvasPolygonalItemImp() { } @@ -43,7 +43,7 @@ void TQCanvasPolygonalItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Obj }; int idx = 0; - TTQCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -77,7 +77,7 @@ void TQCanvasPolygonalItemImp::addBindings( KJS::ExecState *exec, KJS::Object &o }; int idx = 0; - TTQCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -90,25 +90,25 @@ void TQCanvasPolygonalItemImp::addBindings( KJS::ExecState *exec, KJS::Object &o } /** - * Extract a TTQCanvasPolygonalItem pointer from an Object. + * Extract a TQCanvasPolygonalItem pointer from an Object. */ -TTQCanvasPolygonalItem *TQCanvasPolygonalItemImp::toTQCanvasPolygonalItem( KJS::Object &self ) +TQCanvasPolygonalItem *TQCanvasPolygonalItemImp::toTQCanvasPolygonalItem( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - TTQObject *obj = ob->object(); + TQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<TTQCanvasPolygonalItem *>( obj ); + return dynamic_cast<TQCanvasPolygonalItem *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - if ( op->typeName() != "TTQCanvasPolygonalItem" ) + if ( op->typeName() != "TQCanvasPolygonalItem" ) return 0; - return op->toNative<TTQCanvasPolygonalItem>(); + return op->toNative<TQCanvasPolygonalItem>(); } /** @@ -126,7 +126,7 @@ KJS::Object TQCanvasPolygonalItemImp::construct( KJS::ExecState *exec, const KJS break; } - TTQString msg = i18n("TQCanvasPolygonalItemCons has no constructor with id '%1'.").arg(id); + TQString msg = i18n("TQCanvasPolygonalItemCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } @@ -136,15 +136,15 @@ KJS::Object TQCanvasPolygonalItemImp::TQCanvasPolygonalItem_1( KJS::ExecState *e #if 0 // This constructor has been disabled by the XSL template - // Unsupported parameter TTQCanvas * + // Unsupported parameter TQCanvas * return KJS::Object(); - TTQCanvas * arg0; // Dummy + TQCanvas * arg0; // Dummy - // We should now create an instance of the TTQCanvasPolygonalItem object + // We should now create an instance of the TQCanvasPolygonalItem object - TTQCanvasPolygonalItem *ret = new TTQCanvasPolygonalItem( + TQCanvasPolygonalItem *ret = new TQCanvasPolygonalItem( arg0 ); @@ -199,7 +199,7 @@ KJS::Value TQCanvasPolygonalItemImp::call( KJS::ExecState *exec, KJS::Object &se break; } - TTQString msg = i18n( "TQCanvasPolygonalItemImp has no method with id '%1'." ).arg( id ); + TQString msg = i18n( "TQCanvasPolygonalItemImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } @@ -207,10 +207,10 @@ KJS::Value TQCanvasPolygonalItemImp::call( KJS::ExecState *exec, KJS::Object &se KJS::Value TQCanvasPolygonalItemImp::collidesWith_3( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TTQCanvasItem * + // Unsupported parameter const TQCanvasItem * return KJS::Value(); - const TTQCanvasItem * arg0; // Dummy + const TQCanvasItem * arg0; // Dummy bool ret; ret = instance->collidesWith( @@ -225,7 +225,7 @@ KJS::Value TQCanvasPolygonalItemImp::setPen_4( KJS::ExecState *exec, KJS::Object // Unsupported parameter TQPen return KJS::Value(); - TTQPen arg0; // Dummy + TQPen arg0; // Dummy instance->setPen( arg0 ); @@ -239,7 +239,7 @@ KJS::Value TQCanvasPolygonalItemImp::setBrush_5( KJS::ExecState *exec, KJS::Obje // Unsupported parameter TQBrush return KJS::Value(); - TTQBrush arg0; // Dummy + TQBrush arg0; // Dummy instance->setBrush( arg0 ); @@ -249,7 +249,7 @@ KJS::Value TQCanvasPolygonalItemImp::setBrush_5( KJS::ExecState *exec, KJS::Obje KJS::Value TQCanvasPolygonalItemImp::pen_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TTQPen ret; + TQPen ret; ret = instance->pen( ); return convertToValue( exec, ret ); @@ -258,7 +258,7 @@ KJS::Value TQCanvasPolygonalItemImp::pen_6( KJS::ExecState *exec, KJS::Object &o KJS::Value TQCanvasPolygonalItemImp::brush_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TTQBrush ret; + TQBrush ret; ret = instance->brush( ); return convertToValue( exec, ret ); @@ -283,7 +283,7 @@ KJS::Value TQCanvasPolygonalItemImp::areaPointsAdvanced_9( KJS::ExecState *exec, KJS::Value TQCanvasPolygonalItemImp::boundingRect_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TTQRect ret; + TQRect ret; ret = instance->boundingRect( ); return convertToValue( exec, ret ); |