diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/qtbindings/qlistviewitem_imp.cpp | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kjsembed/qtbindings/qlistviewitem_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qlistviewitem_imp.cpp | 410 |
1 files changed, 205 insertions, 205 deletions
diff --git a/kjsembed/qtbindings/qlistviewitem_imp.cpp b/kjsembed/qtbindings/qlistviewitem_imp.cpp index 13765e2b..69d94009 100644 --- a/kjsembed/qtbindings/qlistviewitem_imp.cpp +++ b/kjsembed/qtbindings/qlistviewitem_imp.cpp @@ -22,7 +22,7 @@ namespace KJSEmbed { namespace Bindings { - KJS::Object QListViewItemLoader::createBinding(KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const + KJS::Object TQListViewItemLoader::createBinding(KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const { if ( args.size() == 0 ) { // FALL THRU @@ -31,17 +31,17 @@ namespace Bindings { JSOpaqueProxy *prx = 0; if ( arg0 ) { - if ( arg0->typeName() == "TQListViewItem" ) { - TQListViewItem * parent = arg0->toNative<TQListViewItem>(); - prx = new JSOpaqueProxy( new TQListViewItem( parent ), "TQListViewItem" ); + if ( arg0->typeName() == "TTQListViewItem" ) { + TTQListViewItem * parent = arg0->toNative<TTQListViewItem>(); + prx = new JSOpaqueProxy( new TTQListViewItem( parent ), "TTQListViewItem" ); } else { return KJS::Object(); } } else { JSObjectProxy *arg0 = JSProxy::toObjectProxy( args[ 0 ].imp() ); if ( arg0 ) { - TQListView * parent = ( TQListView * ) ( arg0->widget() ); - prx = new JSOpaqueProxy( new TQListViewItem( parent ), "TQListViewItem" ); + TTQListView * parent = ( TTQListView * ) ( arg0->widget() ); + prx = new JSOpaqueProxy( new TTQListViewItem( parent ), "TTQListViewItem" ); } else { return KJS::Object(); } @@ -54,25 +54,25 @@ namespace Bindings { return KJS::Object(); } - void QListViewItemLoader::addBindings( KJSEmbedPart *jspart, KJS::ExecState *exec, KJS::Object &proxy ) const + void TQListViewItemLoader::addBindings( KJSEmbedPart *jspart, KJS::ExecState *exec, KJS::Object &proxy ) const { - QListViewItemImp::addBindings( exec, proxy ); + TQListViewItemImp::addBindings( exec, proxy ); } } -QListViewItemImp::QListViewItemImp( KJS::ExecState *exec, int mid, bool constructor ) +TTQListViewItemImp::TQListViewItemImp( KJS::ExecState *exec, int mid, bool constructor ) : JSProxyImp(exec), id(mid), cons(constructor) { } -QListViewItemImp::~QListViewItemImp() +TTQListViewItemImp::~TQListViewItemImp() { } /** * Adds bindings for static methods and enum constants to the specified Object. */ -void QListViewItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQListViewItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -80,11 +80,11 @@ void QListViewItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &obj }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { - QListViewItemImp *meth = new QListViewItemImp( exec, methods[idx].id ); + TQListViewItemImp *meth = new TQListViewItemImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -97,7 +97,7 @@ void QListViewItemImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &obj /** * Adds bindings for instance methods to the specified Object. */ -void QListViewItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQListViewItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -159,11 +159,11 @@ void QListViewItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { - QListViewItemImp *meth = new QListViewItemImp( exec, methods[idx].id ); + TQListViewItemImp *meth = new TQListViewItemImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -172,81 +172,81 @@ void QListViewItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) } /** - * Extract a TQListViewItem pointer from an Object. + * Extract a TTQListViewItem pointer from an Object. */ -TQListViewItem *QListViewItemImp::toQListViewItem( KJS::Object &self ) +TTQListViewItem *TQListViewItemImp::toTQListViewItem( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - TQObject *obj = ob->object(); + TTQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<TQListViewItem *>( obj ); + return dynamic_cast<TTQListViewItem *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - return op->toNative<TQListViewItem>(); + return op->toNative<TTQListViewItem>(); } /** * Select and invoke the correct constructor. */ -KJS::Object QListViewItemImp::construct( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::construct( KJS::ExecState *exec, const KJS::List &args ) { switch( id ) { case Constructor_QListViewItem_1: - return QListViewItem_1( exec, args ); + return TQListViewItem_1( exec, args ); break; case Constructor_QListViewItem_2: - return QListViewItem_2( exec, args ); + return TQListViewItem_2( exec, args ); break; case Constructor_QListViewItem_3: - return QListViewItem_3( exec, args ); + return TQListViewItem_3( exec, args ); break; case Constructor_QListViewItem_4: - return QListViewItem_4( exec, args ); + return TQListViewItem_4( exec, args ); break; case Constructor_QListViewItem_5: - return QListViewItem_5( exec, args ); + return TQListViewItem_5( exec, args ); break; case Constructor_QListViewItem_6: - return QListViewItem_6( exec, args ); + return TQListViewItem_6( exec, args ); break; case Constructor_QListViewItem_7: - return QListViewItem_7( exec, args ); + return TQListViewItem_7( exec, args ); break; case Constructor_QListViewItem_8: - return QListViewItem_8( exec, args ); + return TQListViewItem_8( exec, args ); break; default: break; } - TQString msg = i18n("QListViewItemCons has no constructor with id '%1'.").arg(id); + TTQString msg = i18n("TQListViewItemCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Object QListViewItemImp::QListViewItem_1( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::TQListViewItem_1( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQListView * + // Unsupported parameter TTQListView * return KJS::Value(); - TQListView * arg0; // Dummy + TTQListView * arg0; // Dummy - // We should now create an object of type QListViewItemQListViewItem *ret = new TQListViewItem( + // We should now create an object of type TQListViewItemTQListViewItem *ret = new TTQListViewItem( arg0 ); #endif @@ -254,38 +254,38 @@ return KJS::Object(); } -KJS::Object QListViewItemImp::QListViewItem_2( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::TQListViewItem_2( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy - // We should now create an object of type QListViewItemQListViewItem *ret = new TQListViewItem( + // We should now create an object of type TQListViewItemTQListViewItem *ret = new TTQListViewItem( arg0 ); #endif return KJS::Object(); } -KJS::Object QListViewItemImp::QListViewItem_3( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::TQListViewItem_3( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQListView * + // Unsupported parameter TTQListView * return KJS::Value(); - TQListView * arg0; // Dummy + TTQListView * arg0; // Dummy - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg1; // Dummy + TTQListViewItem * arg1; // Dummy - // We should now create an object of type QListViewItemQListViewItem *ret = new TQListViewItem( + // We should now create an object of type TQListViewItemTQListViewItem *ret = new TTQListViewItem( arg0, arg1 ); @@ -293,22 +293,22 @@ KJS::Object QListViewItemImp::QListViewItem_3( KJS::ExecState *exec, const KJS:: return KJS::Object(); } -KJS::Object QListViewItemImp::QListViewItem_4( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::TQListViewItem_4( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg1; // Dummy + TTQListViewItem * arg1; // Dummy - // We should now create an object of type QListViewItemQListViewItem *ret = new TQListViewItem( + // We should now create an object of type TQListViewItemTQListViewItem *ret = new TTQListViewItem( arg0, arg1 ); @@ -317,33 +317,33 @@ return KJS::Object(); } -KJS::Object QListViewItemImp::QListViewItem_5( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::TQListViewItem_5( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQListView * + // Unsupported parameter TTQListView * return KJS::Value(); - TQListView * arg0; // Dummy + TTQListView * arg0; // Dummy - TQString arg1 = extractQString(exec, args, 1); + TTQString arg1 = extractTQString(exec, args, 1); - TQString arg2 = extractQString(exec, args, 2); + TTQString arg2 = extractTQString(exec, args, 2); - TQString arg3 = extractQString(exec, args, 3); + TTQString arg3 = extractTQString(exec, args, 3); - TQString arg4 = extractQString(exec, args, 4); + TTQString arg4 = extractTQString(exec, args, 4); - TQString arg5 = extractQString(exec, args, 5); + TTQString arg5 = extractTQString(exec, args, 5); - TQString arg6 = extractQString(exec, args, 6); + TTQString arg6 = extractTQString(exec, args, 6); - TQString arg7 = extractQString(exec, args, 7); + TTQString arg7 = extractTQString(exec, args, 7); - TQString arg8 = extractQString(exec, args, 8); + TTQString arg8 = extractTQString(exec, args, 8); - // We should now create an object of type QListViewItemQListViewItem *ret = new TQListViewItem( + // We should now create an object of type TQListViewItemTQListViewItem *ret = new TTQListViewItem( arg0, arg1, @@ -359,33 +359,33 @@ return KJS::Object(); } -KJS::Object QListViewItemImp::QListViewItem_6( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::TQListViewItem_6( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy - TQString arg1 = extractQString(exec, args, 1); + TTQString arg1 = extractTQString(exec, args, 1); - TQString arg2 = extractQString(exec, args, 2); + TTQString arg2 = extractTQString(exec, args, 2); - TQString arg3 = extractQString(exec, args, 3); + TTQString arg3 = extractTQString(exec, args, 3); - TQString arg4 = extractQString(exec, args, 4); + TTQString arg4 = extractTQString(exec, args, 4); - TQString arg5 = extractQString(exec, args, 5); + TTQString arg5 = extractTQString(exec, args, 5); - TQString arg6 = extractQString(exec, args, 6); + TTQString arg6 = extractTQString(exec, args, 6); - TQString arg7 = extractQString(exec, args, 7); + TTQString arg7 = extractTQString(exec, args, 7); - TQString arg8 = extractQString(exec, args, 8); + TTQString arg8 = extractTQString(exec, args, 8); - // We should now create an object of type QListViewItemQListViewItem *ret = new TQListViewItem( + // We should now create an object of type TQListViewItemTQListViewItem *ret = new TTQListViewItem( arg0, arg1, @@ -402,37 +402,37 @@ return KJS::Object(); } -KJS::Object QListViewItemImp::QListViewItem_7( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::TQListViewItem_7( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQListView * + // Unsupported parameter TTQListView * return KJS::Value(); - TQListView * arg0; // Dummy + TTQListView * arg0; // Dummy - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg1; // Dummy + TTQListViewItem * arg1; // Dummy - TQString arg2 = extractQString(exec, args, 2); + TTQString arg2 = extractTQString(exec, args, 2); - TQString arg3 = extractQString(exec, args, 3); + TTQString arg3 = extractTQString(exec, args, 3); - TQString arg4 = extractQString(exec, args, 4); + TTQString arg4 = extractTQString(exec, args, 4); - TQString arg5 = extractQString(exec, args, 5); + TTQString arg5 = extractTQString(exec, args, 5); - TQString arg6 = extractQString(exec, args, 6); + TTQString arg6 = extractTQString(exec, args, 6); - TQString arg7 = extractQString(exec, args, 7); + TTQString arg7 = extractTQString(exec, args, 7); - TQString arg8 = extractQString(exec, args, 8); + TTQString arg8 = extractTQString(exec, args, 8); - TQString arg9 = extractQString(exec, args, 9); + TTQString arg9 = extractTQString(exec, args, 9); - // We should now create an object of type QListViewItemQListViewItem *ret = new TQListViewItem( + // We should now create an object of type TQListViewItemTQListViewItem *ret = new TTQListViewItem( arg0, arg1, @@ -449,37 +449,37 @@ return KJS::Object(); } -KJS::Object QListViewItemImp::QListViewItem_8( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewItemImp::TQListViewItem_8( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg1; // Dummy + TTQListViewItem * arg1; // Dummy - TQString arg2 = extractQString(exec, args, 2); + TTQString arg2 = extractTQString(exec, args, 2); - TQString arg3 = extractQString(exec, args, 3); + TTQString arg3 = extractTQString(exec, args, 3); - TQString arg4 = extractQString(exec, args, 4); + TTQString arg4 = extractTQString(exec, args, 4); - TQString arg5 = extractQString(exec, args, 5); + TTQString arg5 = extractTQString(exec, args, 5); - TQString arg6 = extractQString(exec, args, 6); + TTQString arg6 = extractTQString(exec, args, 6); - TQString arg7 = extractQString(exec, args, 7); + TTQString arg7 = extractTQString(exec, args, 7); - TQString arg8 = extractQString(exec, args, 8); + TTQString arg8 = extractTQString(exec, args, 8); - TQString arg9 = extractQString(exec, args, 9); + TTQString arg9 = extractTQString(exec, args, 9); - // We should now create an object of type QListViewItemQListViewItem *ret = new TQListViewItem( + // We should now create an object of type TQListViewItemTQListViewItem *ret = new TTQListViewItem( arg0, arg1, @@ -496,9 +496,9 @@ return KJS::Object(); } -KJS::Value QListViewItemImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) +KJS::Value TQListViewItemImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) { - instance = QListViewItemImp::toQListViewItem( self ); + instance = TQListViewItemImp::toTQListViewItem( self ); switch( id ) { @@ -722,18 +722,18 @@ KJS::Value QListViewItemImp::call( KJS::ExecState *exec, KJS::Object &self, cons break; } - TQString msg = i18n( "QListViewItemImp has no method with id '%1'." ).arg( id ); + TTQString msg = i18n( "TQListViewItemImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Value QListViewItemImp::insertItem_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::insertItem_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy instance->insertItem( arg0 ); @@ -741,13 +741,13 @@ KJS::Value QListViewItemImp::insertItem_10( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewItemImp::takeItem_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::takeItem_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy instance->takeItem( arg0 ); @@ -755,13 +755,13 @@ KJS::Value QListViewItemImp::takeItem_11( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QListViewItemImp::removeItem_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::removeItem_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy instance->removeItem( arg0 ); @@ -769,7 +769,7 @@ KJS::Value QListViewItemImp::removeItem_12( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewItemImp::height_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::height_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -778,7 +778,7 @@ KJS::Value QListViewItemImp::height_13( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewItemImp::invalidateHeight_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::invalidateHeight_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->invalidateHeight( ); @@ -786,7 +786,7 @@ KJS::Value QListViewItemImp::invalidateHeight_14( KJS::ExecState *exec, KJS::Obj } -KJS::Value QListViewItemImp::totalHeight_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::totalHeight_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -795,18 +795,18 @@ KJS::Value QListViewItemImp::totalHeight_15( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewItemImp::width_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::width_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { #if 0 - // Unsupported parameter const TQFontMetrics & + // Unsupported parameter const TTQFontMetrics & return KJS::Value(); - const TQFontMetrics & arg0; // Dummy + const TTQFontMetrics & arg0; // Dummy - // Unsupported parameter const TQListView * + // Unsupported parameter const TTQListView * return KJS::Value(); - const TQListView * arg1; // Dummy + const TTQListView * arg1; // Dummy int arg2 = extractInt(exec, args, 2); @@ -821,7 +821,7 @@ return KJS::Object(); } -KJS::Value QListViewItemImp::widthChanged_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::widthChanged_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -832,7 +832,7 @@ KJS::Value QListViewItemImp::widthChanged_17( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewItemImp::depth_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::depth_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -841,12 +841,12 @@ KJS::Value QListViewItemImp::depth_18( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QListViewItemImp::setText_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setText_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); - TQString arg1 = extractQString(exec, args, 1); + TTQString arg1 = extractTQString(exec, args, 1); instance->setText( arg0, @@ -855,24 +855,24 @@ KJS::Value QListViewItemImp::setText_19( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewItemImp::text_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::text_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); - TQString ret; + TTQString ret; ret = instance->text( arg0 ); return KJS::String( ret ); } -KJS::Value QListViewItemImp::setPixmap_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setPixmap_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); - TQPixmap arg1 = extractQPixmap(exec, args, 1); + TTQPixmap arg1 = extractTQPixmap(exec, args, 1); instance->setPixmap( arg0, @@ -881,25 +881,25 @@ KJS::Value QListViewItemImp::setPixmap_21( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewItemImp::pixmap_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::pixmap_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); instance->pixmap( arg0 ); - return KJS::Value(); // Returns 'const TQPixmap *' + return KJS::Value(); // Returns 'const TTQPixmap *' } -KJS::Value QListViewItemImp::key_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::key_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); bool arg1 = extractBool(exec, args, 1); - TQString ret; + TTQString ret; ret = instance->key( arg0, arg1 ); @@ -907,13 +907,13 @@ KJS::Value QListViewItemImp::key_23( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QListViewItemImp::compare_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::compare_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy int arg1 = extractInt(exec, args, 1); @@ -928,7 +928,7 @@ KJS::Value QListViewItemImp::compare_24( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewItemImp::sortChildItems_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::sortChildItems_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -942,7 +942,7 @@ KJS::Value QListViewItemImp::sortChildItems_25( KJS::ExecState *exec, KJS::Objec } -KJS::Value QListViewItemImp::childCount_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::childCount_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -951,7 +951,7 @@ KJS::Value QListViewItemImp::childCount_26( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewItemImp::isOpen_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::isOpen_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -960,7 +960,7 @@ KJS::Value QListViewItemImp::isOpen_27( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewItemImp::setOpen_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setOpen_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -971,7 +971,7 @@ KJS::Value QListViewItemImp::setOpen_28( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewItemImp::setup_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setup_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->setup( ); @@ -979,7 +979,7 @@ KJS::Value QListViewItemImp::setup_29( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QListViewItemImp::setSelected_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setSelected_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -990,7 +990,7 @@ KJS::Value QListViewItemImp::setSelected_30( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewItemImp::isSelected_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::isSelected_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -999,18 +999,18 @@ KJS::Value QListViewItemImp::isSelected_31( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewItemImp::paintCell_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::paintCell_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { #if 0 - // Unsupported parameter TQPainter * + // Unsupported parameter TTQPainter * return KJS::Value(); - TQPainter * arg0; // Dummy + TTQPainter * arg0; // Dummy - // Unsupported parameter const TQColorGroup & + // Unsupported parameter const TTQColorGroup & return KJS::Value(); - const TQColorGroup & arg1; // Dummy + const TTQColorGroup & arg1; // Dummy int arg2 = extractInt(exec, args, 2); @@ -1030,18 +1030,18 @@ KJS::Value QListViewItemImp::paintCell_32( KJS::ExecState *exec, KJS::Object &ob return KJS::Object(); } -KJS::Value QListViewItemImp::paintBranches_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::paintBranches_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { #if 0 - // Unsupported parameter TQPainter * + // Unsupported parameter TTQPainter * return KJS::Value(); - TQPainter * arg0; // Dummy + TTQPainter * arg0; // Dummy - // Unsupported parameter const TQColorGroup & + // Unsupported parameter const TTQColorGroup & return KJS::Value(); - const TQColorGroup & arg1; // Dummy + const TTQColorGroup & arg1; // Dummy int arg2 = extractInt(exec, args, 2); @@ -1061,20 +1061,20 @@ return KJS::Object(); } -KJS::Value QListViewItemImp::paintFocus_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::paintFocus_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { #if 0 - // Unsupported parameter TQPainter * + // Unsupported parameter TTQPainter * return KJS::Value(); - TQPainter * arg0; // Dummy + TTQPainter * arg0; // Dummy - // Unsupported parameter const TQColorGroup & + // Unsupported parameter const TTQColorGroup & return KJS::Value(); - const TQColorGroup & arg1; // Dummy + const TTQColorGroup & arg1; // Dummy - TQRect arg2 = extractQRect(exec, args, 2); + TTQRect arg2 = extractTQRect(exec, args, 2); instance->paintFocus( arg0, @@ -1086,13 +1086,13 @@ return KJS::Object(); } -KJS::Value QListViewItemImp::firstChild_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::firstChild_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQListViewItem *item = instance->firstChild( ); + TTQListViewItem *item = instance->firstChild( ); if( item ) { - JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TQListViewItem" ); + JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TTQListViewItem" ); prx->setOwner( JSProxy::Native ); KJS::Object proxyObj( prx ); addBindings(exec,proxyObj); @@ -1103,13 +1103,13 @@ KJS::Value QListViewItemImp::firstChild_35( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewItemImp::nextSibling_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::nextSibling_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQListViewItem *item = instance->nextSibling( ); + TTQListViewItem *item = instance->nextSibling( ); if( item ) { - JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TQListViewItem" ); + JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TTQListViewItem" ); prx->setOwner( JSProxy::Native ); KJS::Object proxyObj( prx ); addBindings(exec,proxyObj); @@ -1120,13 +1120,13 @@ KJS::Value QListViewItemImp::nextSibling_36( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewItemImp::parent_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::parent_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQListViewItem *item = instance->parent( ); + TTQListViewItem *item = instance->parent( ); if( item ) { - JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TQListViewItem" ); + JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TTQListViewItem" ); prx->setOwner( JSProxy::Native ); KJS::Object proxyObj( prx ); addBindings(exec,proxyObj); @@ -1137,13 +1137,13 @@ KJS::Value QListViewItemImp::parent_37( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewItemImp::itemAbove_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::itemAbove_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQListViewItem *item = instance->itemAbove( ); + TTQListViewItem *item = instance->itemAbove( ); if( item ) { - JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TQListViewItem" ); + JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TTQListViewItem" ); prx->setOwner( JSProxy::Native ); KJS::Object proxyObj( prx ); addBindings(exec,proxyObj); @@ -1154,13 +1154,13 @@ KJS::Value QListViewItemImp::itemAbove_38( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewItemImp::itemBelow_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::itemBelow_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQListViewItem *item = instance->itemBelow( ); + TTQListViewItem *item = instance->itemBelow( ); if( item ) { - JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TQListViewItem" ); + JSOpaqueProxy *prx = new JSOpaqueProxy( item, "TTQListViewItem" ); prx->setOwner( JSProxy::Native ); KJS::Object proxyObj( prx ); addBindings(exec,proxyObj); @@ -1171,7 +1171,7 @@ KJS::Value QListViewItemImp::itemBelow_39( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewItemImp::itemPos_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::itemPos_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -1180,15 +1180,15 @@ KJS::Value QListViewItemImp::itemPos_40( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewItemImp::listView_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::listView_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->listView( ); - return KJS::Value(); // Returns 'TQListView *' + return KJS::Value(); // Returns 'TTQListView *' } -KJS::Value QListViewItemImp::setSelectable_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setSelectable_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -1199,7 +1199,7 @@ KJS::Value QListViewItemImp::setSelectable_42( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewItemImp::isSelectable_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::isSelectable_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1208,7 +1208,7 @@ KJS::Value QListViewItemImp::isSelectable_43( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewItemImp::setExpandable_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setExpandable_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -1219,7 +1219,7 @@ KJS::Value QListViewItemImp::setExpandable_44( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewItemImp::isExpandable_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::isExpandable_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1228,7 +1228,7 @@ KJS::Value QListViewItemImp::isExpandable_45( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewItemImp::repaint_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::repaint_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->repaint( ); @@ -1236,7 +1236,7 @@ KJS::Value QListViewItemImp::repaint_46( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewItemImp::sort_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::sort_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->sort( ); @@ -1244,13 +1244,13 @@ KJS::Value QListViewItemImp::sort_47( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QListViewItemImp::moveItem_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::moveItem_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQListViewItem * + // Unsupported parameter TTQListViewItem * return KJS::Value(); - TQListViewItem * arg0; // Dummy + TTQListViewItem * arg0; // Dummy instance->moveItem( arg0 ); @@ -1258,7 +1258,7 @@ KJS::Value QListViewItemImp::moveItem_48( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QListViewItemImp::setDragEnabled_49( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setDragEnabled_49( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -1269,7 +1269,7 @@ KJS::Value QListViewItemImp::setDragEnabled_49( KJS::ExecState *exec, KJS::Objec } -KJS::Value QListViewItemImp::setDropEnabled_50( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setDropEnabled_50( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -1280,7 +1280,7 @@ KJS::Value QListViewItemImp::setDropEnabled_50( KJS::ExecState *exec, KJS::Objec } -KJS::Value QListViewItemImp::dragEnabled_51( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::dragEnabled_51( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1289,7 +1289,7 @@ KJS::Value QListViewItemImp::dragEnabled_51( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewItemImp::dropEnabled_52( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::dropEnabled_52( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1298,13 +1298,13 @@ KJS::Value QListViewItemImp::dropEnabled_52( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewItemImp::acceptDrop_53( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::acceptDrop_53( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQMimeSource * + // Unsupported parameter const TTQMimeSource * return KJS::Value(); - const TQMimeSource * arg0; // Dummy + const TTQMimeSource * arg0; // Dummy bool ret; ret = instance->acceptDrop( @@ -1313,7 +1313,7 @@ KJS::Value QListViewItemImp::acceptDrop_53( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewItemImp::setVisible_54( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setVisible_54( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -1324,7 +1324,7 @@ KJS::Value QListViewItemImp::setVisible_54( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewItemImp::isVisible_55( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::isVisible_55( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1333,7 +1333,7 @@ KJS::Value QListViewItemImp::isVisible_55( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewItemImp::setRenameEnabled_56( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setRenameEnabled_56( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -1347,7 +1347,7 @@ KJS::Value QListViewItemImp::setRenameEnabled_56( KJS::ExecState *exec, KJS::Obj } -KJS::Value QListViewItemImp::renameEnabled_57( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::renameEnabled_57( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -1359,7 +1359,7 @@ KJS::Value QListViewItemImp::renameEnabled_57( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewItemImp::startRename_58( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::startRename_58( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -1370,7 +1370,7 @@ KJS::Value QListViewItemImp::startRename_58( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewItemImp::setEnabled_59( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setEnabled_59( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -1381,7 +1381,7 @@ KJS::Value QListViewItemImp::setEnabled_59( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewItemImp::isEnabled_60( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::isEnabled_60( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1390,7 +1390,7 @@ KJS::Value QListViewItemImp::isEnabled_60( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewItemImp::rtti_61( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::rtti_61( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -1399,7 +1399,7 @@ KJS::Value QListViewItemImp::rtti_61( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QListViewItemImp::setMultiLinesEnabled_62( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::setMultiLinesEnabled_62( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -1410,7 +1410,7 @@ KJS::Value QListViewItemImp::setMultiLinesEnabled_62( KJS::ExecState *exec, KJS: } -KJS::Value QListViewItemImp::multiLinesEnabled_63( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewItemImp::multiLinesEnabled_63( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; |