diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/qtbindings/qcanvaspixmaparray_imp.cpp | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'kjsembed/qtbindings/qcanvaspixmaparray_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcanvaspixmaparray_imp.cpp | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/kjsembed/qtbindings/qcanvaspixmaparray_imp.cpp b/kjsembed/qtbindings/qcanvaspixmaparray_imp.cpp index 73a6f58b..8d5a8b79 100644 --- a/kjsembed/qtbindings/qcanvaspixmaparray_imp.cpp +++ b/kjsembed/qtbindings/qcanvaspixmaparray_imp.cpp @@ -23,12 +23,12 @@ */ namespace KJSEmbed { -TTQCanvasPixmapArrayImp::TQCanvasPixmapArrayImp( KJS::ExecState *exec, int mid, bool constructor ) +TQCanvasPixmapArrayImp::TQCanvasPixmapArrayImp( KJS::ExecState *exec, int mid, bool constructor ) : JSProxyImp(exec), id(mid), cons(constructor) { } -TTQCanvasPixmapArrayImp::~TQCanvasPixmapArrayImp() +TQCanvasPixmapArrayImp::~TQCanvasPixmapArrayImp() { } @@ -43,7 +43,7 @@ void TQCanvasPixmapArrayImp::addStaticBindings( KJS::ExecState *exec, KJS::Objec }; int idx = 0; - TTQCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -74,7 +74,7 @@ void TQCanvasPixmapArrayImp::addBindings( KJS::ExecState *exec, KJS::Object &obj }; int idx = 0; - TTQCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -87,25 +87,25 @@ void TQCanvasPixmapArrayImp::addBindings( KJS::ExecState *exec, KJS::Object &obj } /** - * Extract a TTQCanvasPixmapArray pointer from an Object. + * Extract a TQCanvasPixmapArray pointer from an Object. */ -TTQCanvasPixmapArray *TQCanvasPixmapArrayImp::toTQCanvasPixmapArray( KJS::Object &self ) +TQCanvasPixmapArray *TQCanvasPixmapArrayImp::toTQCanvasPixmapArray( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - TTQObject *obj = ob->object(); + TQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<TTQCanvasPixmapArray *>( obj ); + return dynamic_cast<TQCanvasPixmapArray *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - if ( op->typeName() != "TTQCanvasPixmapArray" ) + if ( op->typeName() != "TQCanvasPixmapArray" ) return 0; - return op->toNative<TTQCanvasPixmapArray>(); + return op->toNative<TQCanvasPixmapArray>(); } /** @@ -135,7 +135,7 @@ KJS::Object TQCanvasPixmapArrayImp::construct( KJS::ExecState *exec, const KJS:: break; } - TTQString msg = i18n("TQCanvasPixmapArrayCons has no constructor with id '%1'.").arg(id); + TQString msg = i18n("TQCanvasPixmapArrayCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } @@ -144,9 +144,9 @@ KJS::Object TQCanvasPixmapArrayImp::TQCanvasPixmapArray_1( KJS::ExecState *exec, { - // We should now create an instance of the TTQCanvasPixmapArray object + // We should now create an instance of the TQCanvasPixmapArray object - TTQCanvasPixmapArray *ret = new TTQCanvasPixmapArray( + TQCanvasPixmapArray *ret = new TQCanvasPixmapArray( ); return KJS::Object(); @@ -155,14 +155,14 @@ KJS::Object TQCanvasPixmapArrayImp::TQCanvasPixmapArray_1( KJS::ExecState *exec, KJS::Object TQCanvasPixmapArrayImp::TQCanvasPixmapArray_2( KJS::ExecState *exec, const KJS::List &args ) { - TTQString arg0 = extractTQString(exec, args, 0); + TQString arg0 = extractTQString(exec, args, 0); int arg1 = extractInt(exec, args, 1); - // We should now create an instance of the TTQCanvasPixmapArray object + // We should now create an instance of the TQCanvasPixmapArray object - TTQCanvasPixmapArray *ret = new TTQCanvasPixmapArray( + TQCanvasPixmapArray *ret = new TQCanvasPixmapArray( arg0, arg1 ); @@ -173,20 +173,20 @@ KJS::Object TQCanvasPixmapArrayImp::TQCanvasPixmapArray_2( KJS::ExecState *exec, KJS::Object TQCanvasPixmapArrayImp::TQCanvasPixmapArray_3( KJS::ExecState *exec, const KJS::List &args ) { - // Unsupported parameter TTQPtrList< TTQPixmap > + // Unsupported parameter TQPtrList< TQPixmap > return KJS::Object(); - TTQPtrList< TTQPixmap > arg0; // Dummy + TQPtrList< TQPixmap > arg0; // Dummy - // Unsupported parameter TTQPtrList< TTQPoint > + // Unsupported parameter TQPtrList< TQPoint > return KJS::Object(); - TTQPtrList< TTQPoint > arg1; // Dummy + TQPtrList< TQPoint > arg1; // Dummy - // We should now create an instance of the TTQCanvasPixmapArray object + // We should now create an instance of the TQCanvasPixmapArray object - TTQCanvasPixmapArray *ret = new TTQCanvasPixmapArray( + TQCanvasPixmapArray *ret = new TQCanvasPixmapArray( arg0, arg1 ); @@ -197,20 +197,20 @@ KJS::Object TQCanvasPixmapArrayImp::TQCanvasPixmapArray_3( KJS::ExecState *exec, KJS::Object TQCanvasPixmapArrayImp::TQCanvasPixmapArray_4( KJS::ExecState *exec, const KJS::List &args ) { - // Unsupported parameter TTQValueList< TTQPixmap > + // Unsupported parameter TQValueList< TQPixmap > return KJS::Object(); - TTQValueList< TTQPixmap > arg0; // Dummy + TQValueList< TQPixmap > arg0; // Dummy // Unsupported parameter TQPointArray return KJS::Object(); - TTQPointArray arg1; // Dummy + TQPointArray arg1; // Dummy - // We should now create an instance of the TTQCanvasPixmapArray object + // We should now create an instance of the TQCanvasPixmapArray object - TTQCanvasPixmapArray *ret = new TTQCanvasPixmapArray( + TQCanvasPixmapArray *ret = new TQCanvasPixmapArray( arg0, arg1 ); @@ -252,7 +252,7 @@ KJS::Value TQCanvasPixmapArrayImp::call( KJS::ExecState *exec, KJS::Object &self break; } - TTQString msg = i18n( "TQCanvasPixmapArrayImp has no method with id '%1'." ).arg( id ); + TQString msg = i18n( "TQCanvasPixmapArrayImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } @@ -260,7 +260,7 @@ KJS::Value TQCanvasPixmapArrayImp::call( KJS::ExecState *exec, KJS::Object &self KJS::Value TQCanvasPixmapArrayImp::readPixmaps_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TTQString arg0 = extractTQString(exec, args, 0); + TQString arg0 = extractTQString(exec, args, 0); int arg1 = extractInt(exec, args, 1); @@ -275,7 +275,7 @@ KJS::Value TQCanvasPixmapArrayImp::readPixmaps_6( KJS::ExecState *exec, KJS::Obj KJS::Value TQCanvasPixmapArrayImp::readCollisionMasks_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TTQString arg0 = extractTQString(exec, args, 0); + TQString arg0 = extractTQString(exec, args, 0); bool ret; ret = instance->readCollisionMasks( @@ -300,7 +300,7 @@ KJS::Value TQCanvasPixmapArrayImp::image_10( KJS::ExecState *exec, KJS::Object & instance->image( arg0 ); - return KJS::Value(); // Returns 'TTQCanvasPixmap *' + return KJS::Value(); // Returns 'TQCanvasPixmap *' } @@ -309,10 +309,10 @@ KJS::Value TQCanvasPixmapArrayImp::setImage_11( KJS::ExecState *exec, KJS::Objec int arg0 = extractInt(exec, args, 0); - // Unsupported parameter TTQCanvasPixmap * + // Unsupported parameter TQCanvasPixmap * return KJS::Value(); - TTQCanvasPixmap * arg1; // Dummy + TQCanvasPixmap * arg1; // Dummy instance->setImage( arg0, |