diff options
Diffstat (limited to 'kjsembed/qtbindings/qcanvas_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcanvas_imp.cpp | 276 |
1 files changed, 138 insertions, 138 deletions
diff --git a/kjsembed/qtbindings/qcanvas_imp.cpp b/kjsembed/qtbindings/qcanvas_imp.cpp index f653416b..d686d862 100644 --- a/kjsembed/qtbindings/qcanvas_imp.cpp +++ b/kjsembed/qtbindings/qcanvas_imp.cpp @@ -23,19 +23,19 @@ */ namespace KJSEmbed { -QCanvasImp::QCanvasImp( KJS::ExecState *exec, int mid, bool constructor ) +TTQCanvasImp::TQCanvasImp( KJS::ExecState *exec, int mid, bool constructor ) : JSProxyImp(exec), id(mid), cons(constructor) { } -QCanvasImp::~QCanvasImp() +TTQCanvasImp::~TQCanvasImp() { } /** * Adds bindings for static methods and enum constants to the specified Object. */ -void QCanvasImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQCanvasImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -43,11 +43,11 @@ void QCanvasImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { - QCanvasImp *meth = new QCanvasImp( exec, methods[idx].id ); + TQCanvasImp *meth = new TQCanvasImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -60,7 +60,7 @@ void QCanvasImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) /** * Adds bindings for instance methods to the specified Object. */ -void QCanvasImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQCanvasImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -116,11 +116,11 @@ void QCanvasImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { - QCanvasImp *meth = new QCanvasImp( exec, methods[idx].id ); + TQCanvasImp *meth = new TQCanvasImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -129,77 +129,77 @@ void QCanvasImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) } /** - * Extract a TQCanvas pointer from an Object. + * Extract a TTQCanvas pointer from an Object. */ -TQCanvas *QCanvasImp::toQCanvas( KJS::Object &self ) +TTQCanvas *TQCanvasImp::toTQCanvas( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - TQObject *obj = ob->object(); + TTQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<TQCanvas *>( obj ); + return dynamic_cast<TTQCanvas *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - if ( op->typeName() != "TQCanvas" ) + if ( op->typeName() != "TTQCanvas" ) return 0; - return op->toNative<TQCanvas>(); + return op->toNative<TTQCanvas>(); } /** * Select and invoke the correct constructor. */ -KJS::Object QCanvasImp::construct( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQCanvasImp::construct( KJS::ExecState *exec, const KJS::List &args ) { switch( id ) { case Constructor_QCanvas_1: - return QCanvas_1( exec, args ); + return TQCanvas_1( exec, args ); break; case Constructor_QCanvas_2: - return QCanvas_2( exec, args ); + return TQCanvas_2( exec, args ); break; case Constructor_QCanvas_3: - return QCanvas_3( exec, args ); + return TQCanvas_3( exec, args ); break; default: break; } - TQString msg = i18n("QCanvasCons has no constructor with id '%1'.").arg(id); + TTQString msg = i18n("TQCanvasCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Object QCanvasImp::QCanvas_1( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQCanvasImp::TQCanvas_1( KJS::ExecState *exec, const KJS::List &args ) { - // Unsupported parameter TQObject * + // Unsupported parameter TTQObject * - TQObject * arg0 = extractQObject(exec,args,0); + TTQObject * arg0 = extractTQObject(exec,args,0); const char *arg1 = (args.size() >= 2) ? args[1].toString(exec).ascii() : 0; - // We should now create an instance of the TQCanvas object + // We should now create an instance of the TTQCanvas object - TQCanvas *ret = new TQCanvas( + TTQCanvas *ret = new TTQCanvas( arg0, arg1 ); - JSOpaqueProxy *prx = new JSOpaqueProxy( ret, "TQCanvas"); + JSOpaqueProxy *prx = new JSOpaqueProxy( ret, "TTQCanvas"); return KJS::Object( prx ); } -KJS::Object QCanvasImp::QCanvas_2( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQCanvasImp::TQCanvas_2( KJS::ExecState *exec, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -207,23 +207,23 @@ KJS::Object QCanvasImp::QCanvas_2( KJS::ExecState *exec, const KJS::List &args ) int arg1 = extractInt(exec, args, 1); - // We should now create an instance of the TQCanvas object + // We should now create an instance of the TTQCanvas object - TQCanvas *ret = new TQCanvas( + TTQCanvas *ret = new TTQCanvas( arg0, arg1 ); - JSOpaqueProxy *prx = new JSOpaqueProxy( ret, "TQCanvas"); + JSOpaqueProxy *prx = new JSOpaqueProxy( ret, "TTQCanvas"); return KJS::Object( prx ); } -KJS::Object QCanvasImp::QCanvas_3( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQCanvasImp::TQCanvas_3( KJS::ExecState *exec, const KJS::List &args ) { - // Unsupported parameter QPixmap + // Unsupported parameter TQPixmap - TQPixmap arg0 = extractQPixmap(exec, args, 0); + TTQPixmap arg0 = extractTQPixmap(exec, args, 0); int arg1 = extractInt(exec, args, 1); @@ -234,9 +234,9 @@ KJS::Object QCanvasImp::QCanvas_3( KJS::ExecState *exec, const KJS::List &args ) int arg4 = extractInt(exec, args, 4); - // We should now create an instance of the TQCanvas object + // We should now create an instance of the TTQCanvas object - TQCanvas *ret = new TQCanvas( + TTQCanvas *ret = new TTQCanvas( arg0, arg1, @@ -244,13 +244,13 @@ KJS::Object QCanvasImp::QCanvas_3( KJS::ExecState *exec, const KJS::List &args ) arg3, arg4 ); - JSOpaqueProxy *prx = new JSOpaqueProxy( ret, "TQCanvas"); + JSOpaqueProxy *prx = new JSOpaqueProxy( ret, "TTQCanvas"); return KJS::Object( prx ); } -KJS::Value QCanvasImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) +KJS::Value TQCanvasImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) { - instance = QCanvasImp::toQCanvas( self ); + instance = TQCanvasImp::toTQCanvas( self ); switch( id ) { @@ -450,18 +450,18 @@ KJS::Value QCanvasImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS: break; } - TQString msg = i18n( "QCanvasImp has no method with id '%1'." ).arg( id ); + TTQString msg = i18n( "TQCanvasImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Value QCanvasImp::setTiles_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setTiles_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter QPixmap + // Unsupported parameter TQPixmap return KJS::Value(); - TQPixmap arg0; // Dummy + TTQPixmap arg0; // Dummy int arg1 = extractInt(exec, args, 1); @@ -481,10 +481,10 @@ KJS::Value QCanvasImp::setTiles_5( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasImp::setBackgroundPixmap_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setBackgroundPixmap_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPixmap arg0 = extractQPixmap(exec, args, 0); + TTQPixmap arg0 = extractTQPixmap(exec, args, 0); instance->setBackgroundPixmap( arg0 ); @@ -492,19 +492,19 @@ KJS::Value QCanvasImp::setBackgroundPixmap_6( KJS::ExecState *exec, KJS::Object } -KJS::Value QCanvasImp::backgroundPixmap_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::backgroundPixmap_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPixmap ret; + TTQPixmap ret; ret = instance->backgroundPixmap( ); return convertToValue( exec, ret ); } -KJS::Value QCanvasImp::setBackgroundColor_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setBackgroundColor_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQColor arg0 = extractQColor(exec, args, 0); + TTQColor arg0 = extractTQColor(exec, args, 0); instance->setBackgroundColor( arg0 ); @@ -512,15 +512,15 @@ KJS::Value QCanvasImp::setBackgroundColor_8( KJS::ExecState *exec, KJS::Object & } -KJS::Value QCanvasImp::backgroundColor_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::backgroundColor_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->backgroundColor( ); - return KJS::Value(); // Returns 'QColor' + return KJS::Value(); // Returns 'TQColor' } -KJS::Value QCanvasImp::setTile_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setTile_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -537,7 +537,7 @@ KJS::Value QCanvasImp::setTile_10( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasImp::tile_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::tile_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -552,7 +552,7 @@ KJS::Value QCanvasImp::tile_11( KJS::ExecState *exec, KJS::Object &obj, const KJ } -KJS::Value QCanvasImp::tilesHorizontally_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::tilesHorizontally_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -561,7 +561,7 @@ KJS::Value QCanvasImp::tilesHorizontally_12( KJS::ExecState *exec, KJS::Object & } -KJS::Value QCanvasImp::tilesVertically_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::tilesVertically_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -570,7 +570,7 @@ KJS::Value QCanvasImp::tilesVertically_13( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QCanvasImp::tileWidth_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::tileWidth_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -579,7 +579,7 @@ KJS::Value QCanvasImp::tileWidth_14( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QCanvasImp::tileHeight_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::tileHeight_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -588,7 +588,7 @@ KJS::Value QCanvasImp::tileHeight_15( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QCanvasImp::resize_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::resize_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -602,7 +602,7 @@ KJS::Value QCanvasImp::resize_16( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasImp::width_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::width_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -611,7 +611,7 @@ KJS::Value QCanvasImp::width_17( KJS::ExecState *exec, KJS::Object &obj, const K } -KJS::Value QCanvasImp::height_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::height_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -620,25 +620,25 @@ KJS::Value QCanvasImp::height_18( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasImp::size_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::size_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQSize ret; + TTQSize ret; ret = instance->size( ); return convertToValue( exec, ret ); } -KJS::Value QCanvasImp::rect_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::rect_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQRect ret; + TTQRect ret; ret = instance->rect( ); return convertToValue( exec, ret ); } -KJS::Value QCanvasImp::onCanvas_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::onCanvas_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -653,10 +653,10 @@ KJS::Value QCanvasImp::onCanvas_21( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QCanvasImp::onCanvas_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::onCanvas_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPoint arg0 = extractQPoint(exec, args, 0); + TTQPoint arg0 = extractTQPoint(exec, args, 0); bool ret; ret = instance->onCanvas( @@ -665,7 +665,7 @@ KJS::Value QCanvasImp::onCanvas_22( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QCanvasImp::validChunk_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::validChunk_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -680,10 +680,10 @@ KJS::Value QCanvasImp::validChunk_23( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QCanvasImp::validChunk_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::validChunk_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPoint arg0 = extractQPoint(exec, args, 0); + TTQPoint arg0 = extractTQPoint(exec, args, 0); bool ret; ret = instance->validChunk( @@ -692,7 +692,7 @@ KJS::Value QCanvasImp::validChunk_24( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QCanvasImp::chunkSize_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::chunkSize_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -701,7 +701,7 @@ KJS::Value QCanvasImp::chunkSize_25( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QCanvasImp::retune_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::retune_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -715,7 +715,7 @@ KJS::Value QCanvasImp::retune_26( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasImp::sameChunk_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::sameChunk_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -736,7 +736,7 @@ KJS::Value QCanvasImp::sameChunk_27( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QCanvasImp::setChangedChunk_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setChangedChunk_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -750,7 +750,7 @@ KJS::Value QCanvasImp::setChangedChunk_28( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QCanvasImp::setChangedChunkContaining_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setChangedChunkContaining_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -764,7 +764,7 @@ KJS::Value QCanvasImp::setChangedChunkContaining_29( KJS::ExecState *exec, KJS:: } -KJS::Value QCanvasImp::setAllChanged_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setAllChanged_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->setAllChanged( ); @@ -772,10 +772,10 @@ KJS::Value QCanvasImp::setAllChanged_30( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasImp::setChanged_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setChanged_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQRect arg0 = extractQRect(exec, args, 0); + TTQRect arg0 = extractTQRect(exec, args, 0); instance->setChanged( arg0 ); @@ -783,10 +783,10 @@ KJS::Value QCanvasImp::setChanged_31( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QCanvasImp::setUnchanged_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setUnchanged_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQRect arg0 = extractQRect(exec, args, 0); + TTQRect arg0 = extractTQRect(exec, args, 0); instance->setUnchanged( arg0 ); @@ -794,13 +794,13 @@ KJS::Value QCanvasImp::setUnchanged_32( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasImp::addItemToChunk_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::addItemToChunk_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasItem * + // Unsupported parameter TTQCanvasItem * return KJS::Value(); - TQCanvasItem * arg0; // Dummy + TTQCanvasItem * arg0; // Dummy int arg1 = extractInt(exec, args, 1); @@ -814,13 +814,13 @@ KJS::Value QCanvasImp::addItemToChunk_33( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QCanvasImp::removeItemFromChunk_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::removeItemFromChunk_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasItem * + // Unsupported parameter TTQCanvasItem * return KJS::Value(); - TQCanvasItem * arg0; // Dummy + TTQCanvasItem * arg0; // Dummy int arg1 = extractInt(exec, args, 1); @@ -834,13 +834,13 @@ KJS::Value QCanvasImp::removeItemFromChunk_34( KJS::ExecState *exec, KJS::Object } -KJS::Value QCanvasImp::addItemToChunkContaining_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::addItemToChunkContaining_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasItem * + // Unsupported parameter TTQCanvasItem * return KJS::Value(); - TQCanvasItem * arg0; // Dummy + TTQCanvasItem * arg0; // Dummy int arg1 = extractInt(exec, args, 1); @@ -854,13 +854,13 @@ KJS::Value QCanvasImp::addItemToChunkContaining_35( KJS::ExecState *exec, KJS::O } -KJS::Value QCanvasImp::removeItemFromChunkContaining_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::removeItemFromChunkContaining_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasItem * + // Unsupported parameter TTQCanvasItem * return KJS::Value(); - TQCanvasItem * arg0; // Dummy + TTQCanvasItem * arg0; // Dummy int arg1 = extractInt(exec, args, 1); @@ -874,45 +874,45 @@ KJS::Value QCanvasImp::removeItemFromChunkContaining_36( KJS::ExecState *exec, K } -KJS::Value QCanvasImp::allItems_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::allItems_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->allItems( ); - return KJS::Value(); // Returns 'QCanvasItemList' + return KJS::Value(); // Returns 'TQCanvasItemList' } -KJS::Value QCanvasImp::collisions_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::collisions_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPoint arg0 = extractQPoint(exec, args, 0); + TTQPoint arg0 = extractTQPoint(exec, args, 0); instance->collisions( arg0 ); - return KJS::Value(); // Returns 'QCanvasItemList' + return KJS::Value(); // Returns 'TQCanvasItemList' } -KJS::Value QCanvasImp::collisions_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::collisions_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQRect arg0 = extractQRect(exec, args, 0); + TTQRect arg0 = extractTQRect(exec, args, 0); instance->collisions( arg0 ); - return KJS::Value(); // Returns 'QCanvasItemList' + return KJS::Value(); // Returns 'TQCanvasItemList' } -KJS::Value QCanvasImp::collisions_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::collisions_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPointArray arg0; // TODO (hack for qcanvas) + TTQPointArray arg0; // TODO (hack for qcanvas) - // Unsupported parameter const TQCanvasItem * + // Unsupported parameter const TTQCanvasItem * return KJS::Value(); - const TQCanvasItem * arg1; // Dummy + const TTQCanvasItem * arg1; // Dummy bool arg2 = extractBool(exec, args, 2); @@ -920,19 +920,19 @@ KJS::Value QCanvasImp::collisions_40( KJS::ExecState *exec, KJS::Object &obj, co arg0, arg1, arg2 ); - return KJS::Value(); // Returns 'QCanvasItemList' + return KJS::Value(); // Returns 'TQCanvasItemList' } -KJS::Value QCanvasImp::drawArea_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::drawArea_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQRect arg0 = extractQRect(exec, args, 0); + TTQRect arg0 = extractTQRect(exec, args, 0); - // Unsupported parameter TQPainter * + // Unsupported parameter TTQPainter * return KJS::Value(); - TQPainter * arg1; // Dummy + TTQPainter * arg1; // Dummy bool arg2 = extractBool(exec, args, 2); @@ -944,13 +944,13 @@ KJS::Value QCanvasImp::drawArea_41( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QCanvasImp::addView_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::addView_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasView * + // Unsupported parameter TTQCanvasView * return KJS::Value(); - TQCanvasView * arg0; // Dummy + TTQCanvasView * arg0; // Dummy instance->addView( arg0 ); @@ -958,13 +958,13 @@ KJS::Value QCanvasImp::addView_42( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasImp::removeView_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::removeView_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasView * + // Unsupported parameter TTQCanvasView * return KJS::Value(); - TQCanvasView * arg0; // Dummy + TTQCanvasView * arg0; // Dummy instance->removeView( arg0 ); @@ -972,15 +972,15 @@ KJS::Value QCanvasImp::removeView_43( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QCanvasImp::drawCanvasArea_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::drawCanvasArea_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQRect arg0 = extractQRect(exec, args, 0); + TTQRect arg0 = extractTQRect(exec, args, 0); - // Unsupported parameter TQPainter * + // Unsupported parameter TTQPainter * return KJS::Value(); - TQPainter * arg1; // Dummy + TTQPainter * arg1; // Dummy bool arg2 = extractBool(exec, args, 2); @@ -992,20 +992,20 @@ KJS::Value QCanvasImp::drawCanvasArea_44( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QCanvasImp::drawViewArea_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::drawViewArea_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasView * + // Unsupported parameter TTQCanvasView * return KJS::Value(); - TQCanvasView * arg0; // Dummy + TTQCanvasView * arg0; // Dummy - // Unsupported parameter TQPainter * + // Unsupported parameter TTQPainter * return KJS::Value(); - TQPainter * arg1; // Dummy + TTQPainter * arg1; // Dummy - TQRect arg2 = extractQRect(exec, args, 2); + TTQRect arg2 = extractTQRect(exec, args, 2); bool arg3 = extractBool(exec, args, 3); @@ -1018,13 +1018,13 @@ KJS::Value QCanvasImp::drawViewArea_45( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasImp::addItem_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::addItem_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasItem * + // Unsupported parameter TTQCanvasItem * return KJS::Value(); - TQCanvasItem * arg0; // Dummy + TTQCanvasItem * arg0; // Dummy instance->addItem( arg0 ); @@ -1032,13 +1032,13 @@ KJS::Value QCanvasImp::addItem_46( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QCanvasImp::addAnimation_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::addAnimation_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasItem * + // Unsupported parameter TTQCanvasItem * return KJS::Value(); - TQCanvasItem * arg0; // Dummy + TTQCanvasItem * arg0; // Dummy instance->addAnimation( arg0 ); @@ -1046,13 +1046,13 @@ KJS::Value QCanvasImp::addAnimation_47( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QCanvasImp::removeItem_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::removeItem_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasItem * + // Unsupported parameter TTQCanvasItem * return KJS::Value(); - TQCanvasItem * arg0; // Dummy + TTQCanvasItem * arg0; // Dummy instance->removeItem( arg0 ); @@ -1060,13 +1060,13 @@ KJS::Value QCanvasImp::removeItem_48( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QCanvasImp::removeAnimation_49( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::removeAnimation_49( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQCanvasItem * + // Unsupported parameter TTQCanvasItem * return KJS::Value(); - TQCanvasItem * arg0; // Dummy + TTQCanvasItem * arg0; // Dummy instance->removeAnimation( arg0 ); @@ -1074,7 +1074,7 @@ KJS::Value QCanvasImp::removeAnimation_49( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QCanvasImp::setAdvancePeriod_50( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setAdvancePeriod_50( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -1085,7 +1085,7 @@ KJS::Value QCanvasImp::setAdvancePeriod_50( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QCanvasImp::setUpdatePeriod_51( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setUpdatePeriod_51( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -1096,7 +1096,7 @@ KJS::Value QCanvasImp::setUpdatePeriod_51( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QCanvasImp::setDoubleBuffering_52( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQCanvasImp::setDoubleBuffering_52( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); |