diff options
Diffstat (limited to 'kjsembed/qtbindings/qcanvasellipse_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcanvasellipse_imp.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kjsembed/qtbindings/qcanvasellipse_imp.cpp b/kjsembed/qtbindings/qcanvasellipse_imp.cpp index deab7241..3f4d53a5 100644 --- a/kjsembed/qtbindings/qcanvasellipse_imp.cpp +++ b/kjsembed/qtbindings/qcanvasellipse_imp.cpp @@ -23,12 +23,12 @@ */ namespace KJSEmbed { -TTQCanvasEllipseImp::TQCanvasEllipseImp( KJS::ExecState *exec, int mid, bool constructor ) +TQCanvasEllipseImp::TQCanvasEllipseImp( KJS::ExecState *exec, int mid, bool constructor ) : JSProxyImp(exec), id(mid), cons(constructor) { } -TTQCanvasEllipseImp::~TQCanvasEllipseImp() +TQCanvasEllipseImp::~TQCanvasEllipseImp() { } @@ -43,7 +43,7 @@ void TQCanvasEllipseImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &o }; int idx = 0; - TTQCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -77,7 +77,7 @@ void TQCanvasEllipseImp::addBindings( KJS::ExecState *exec, KJS::Object &object }; int idx = 0; - TTQCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -90,25 +90,25 @@ void TQCanvasEllipseImp::addBindings( KJS::ExecState *exec, KJS::Object &object } /** - * Extract a TTQCanvasEllipse pointer from an Object. + * Extract a TQCanvasEllipse pointer from an Object. */ -TTQCanvasEllipse *TQCanvasEllipseImp::toTQCanvasEllipse( KJS::Object &self ) +TQCanvasEllipse *TQCanvasEllipseImp::toTQCanvasEllipse( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - TTQObject *obj = ob->object(); + TQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<TTQCanvasEllipse *>( obj ); + return dynamic_cast<TQCanvasEllipse *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - if ( op->typeName() != "TTQCanvasEllipse" ) + if ( op->typeName() != "TQCanvasEllipse" ) return 0; - return op->toNative<TTQCanvasEllipse>(); + return op->toNative<TQCanvasEllipse>(); } /** @@ -134,7 +134,7 @@ KJS::Object TQCanvasEllipseImp::construct( KJS::ExecState *exec, const KJS::List break; } - TTQString msg = i18n("TQCanvasEllipseCons has no constructor with id '%1'.").arg(id); + TQString msg = i18n("TQCanvasEllipseCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } @@ -142,15 +142,15 @@ KJS::Object TQCanvasEllipseImp::construct( KJS::ExecState *exec, const KJS::List KJS::Object TQCanvasEllipseImp::TQCanvasEllipse_1( KJS::ExecState *exec, const KJS::List &args ) { - // Unsupported parameter TTQCanvas * + // Unsupported parameter TQCanvas * return KJS::Object(); - TTQCanvas * arg0; // Dummy + TQCanvas * arg0; // Dummy - // We should now create an instance of the TTQCanvasEllipse object + // We should now create an instance of the TQCanvasEllipse object - TTQCanvasEllipse *ret = new TTQCanvasEllipse( + TQCanvasEllipse *ret = new TQCanvasEllipse( arg0 ); @@ -164,15 +164,15 @@ KJS::Object TQCanvasEllipseImp::TQCanvasEllipse_2( KJS::ExecState *exec, const K int arg1 = extractInt(exec, args, 1); - // Unsupported parameter TTQCanvas * + // Unsupported parameter TQCanvas * return KJS::Object(); - TTQCanvas * arg2; // Dummy + TQCanvas * arg2; // Dummy - // We should now create an instance of the TTQCanvasEllipse object + // We should now create an instance of the TQCanvasEllipse object - TTQCanvasEllipse *ret = new TTQCanvasEllipse( + TQCanvasEllipse *ret = new TQCanvasEllipse( arg0, arg1, @@ -192,15 +192,15 @@ KJS::Object TQCanvasEllipseImp::TQCanvasEllipse_3( KJS::ExecState *exec, const K int arg3 = extractInt(exec, args, 3); - // Unsupported parameter TTQCanvas * + // Unsupported parameter TQCanvas * return KJS::Object(); - TTQCanvas * arg4; // Dummy + TQCanvas * arg4; // Dummy - // We should now create an instance of the TTQCanvasEllipse object + // We should now create an instance of the TQCanvasEllipse object - TTQCanvasEllipse *ret = new TTQCanvasEllipse( + TQCanvasEllipse *ret = new TQCanvasEllipse( arg0, arg1, @@ -257,7 +257,7 @@ KJS::Value TQCanvasEllipseImp::call( KJS::ExecState *exec, KJS::Object &self, co break; } - TTQString msg = i18n( "TQCanvasEllipseImp has no method with id '%1'." ).arg( id ); + TQString msg = i18n( "TQCanvasEllipseImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } @@ -337,10 +337,10 @@ KJS::Value TQCanvasEllipseImp::areaPoints_11( KJS::ExecState *exec, KJS::Object KJS::Value TQCanvasEllipseImp::collidesWith_12( 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( |