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/qlistview_imp.cpp | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kjsembed/qtbindings/qlistview_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qlistview_imp.cpp | 308 |
1 files changed, 154 insertions, 154 deletions
diff --git a/kjsembed/qtbindings/qlistview_imp.cpp b/kjsembed/qtbindings/qlistview_imp.cpp index ef670d95..610d5fc0 100644 --- a/kjsembed/qtbindings/qlistview_imp.cpp +++ b/kjsembed/qtbindings/qlistview_imp.cpp @@ -22,16 +22,16 @@ */ namespace KJSEmbed { -QListViewImp::QListViewImp( KJS::ExecState *exec, int mid, bool constructor ) +TTQListViewImp::TQListViewImp( KJS::ExecState *exec, int mid, bool constructor ) : JSProxyImp(exec), id(mid), cons(constructor) { } -QListViewImp::~QListViewImp() +TTQListViewImp::~TQListViewImp() { } -void QListViewImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQListViewImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -108,11 +108,11 @@ void QListViewImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].id ) { if ( lastName != methods[idx].name ) { - QListViewImp *meth = new QListViewImp( exec, methods[idx].id ); + TQListViewImp *meth = new TQListViewImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -131,20 +131,20 @@ void QListViewImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) EnumValue enums[] = { // enum WidthMode - { "Manual", TQListView::Manual }, - { "Maximum", TQListView::Maximum }, + { "Manual", TTQListView::Manual }, + { "Maximum", TTQListView::Maximum }, // enum SelectionMode - { "Single", TQListView::Single }, - { "Multi", TQListView::Multi }, - { "Extended", TQListView::Extended }, - { "NoSelection", TQListView::NoSelection }, + { "Single", TTQListView::Single }, + { "Multi", TTQListView::Multi }, + { "Extended", TTQListView::Extended }, + { "NoSelection", TTQListView::NoSelection }, // enum ResizeMode - { "NoColumn", TQListView::NoColumn }, - { "AllColumns", TQListView::AllColumns }, - { "LastColumn", TQListView::LastColumn }, + { "NoColumn", TTQListView::NoColumn }, + { "AllColumns", TTQListView::AllColumns }, + { "LastColumn", TTQListView::LastColumn }, // enum RenameAction - { "Accept", TQListView::Accept }, - { "Reject", TQListView::Reject }, + { "Accept", TTQListView::Accept }, + { "Reject", TTQListView::Reject }, { 0, 0 } }; @@ -156,60 +156,60 @@ void QListViewImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) } -TQListView *QListViewImp::toQListView( KJS::Object &self ) +TTQListView *TQListViewImp::toTQListView( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - TQObject *obj = ob->object(); + TTQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<TQListView *>( obj ); + return dynamic_cast<TTQListView *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - if ( op->typeName() != "TQListView" ) + if ( op->typeName() != "TTQListView" ) return 0; - return op->toNative<TQListView>(); + return op->toNative<TTQListView>(); } -KJS::Object QListViewImp::construct( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewImp::construct( KJS::ExecState *exec, const KJS::List &args ) { switch( id ) { case Constructor_QListView_1: - return QListView_1( exec, args ); + return TQListView_1( exec, args ); break; default: break; } - TQString msg = i18n("QListViewCons has no constructor with id '%1'.").arg(id); + TTQString msg = i18n("TQListViewCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Object QListViewImp::QListView_1( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQListViewImp::TQListView_1( KJS::ExecState *exec, const KJS::List &args ) { // TODO - TQWidget *arg0 = 0L; + TTQWidget *arg0 = 0L; // TODO - TQWidget *arg1 = 0L; + TTQWidget *arg1 = 0L; // TODO - TQWidget *arg2 = 0L; + TTQWidget *arg2 = 0L; } -KJS::Value QListViewImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) +KJS::Value TQListViewImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) { - instance = QListViewImp::toQListView( self ); + instance = TQListViewImp::toTQListView( self ); switch( id ) { @@ -493,12 +493,12 @@ KJS::Value QListViewImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ break; } - TQString msg = i18n( "QListViewImp has no method with id '%1'." ).arg( id ); + TTQString msg = i18n( "TQListViewImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Value QListViewImp::treeStepSize_3( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::treeStepSize_3( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -507,7 +507,7 @@ KJS::Value QListViewImp::treeStepSize_3( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::setTreeStepSize_4( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setTreeStepSize_4( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -518,13 +518,13 @@ KJS::Value QListViewImp::setTreeStepSize_4( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewImp::insertItem_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::insertItem_5( 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 ); @@ -532,13 +532,13 @@ KJS::Value QListViewImp::insertItem_5( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QListViewImp::takeItem_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::takeItem_6( 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 ); @@ -546,13 +546,13 @@ KJS::Value QListViewImp::takeItem_6( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QListViewImp::removeItem_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::removeItem_7( 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 ); @@ -560,18 +560,18 @@ KJS::Value QListViewImp::removeItem_7( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QListViewImp::header_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::header_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->header( ); - return KJS::Value(); // Returns 'TQHeader *' + return KJS::Value(); // Returns 'TTQHeader *' } -KJS::Value QListViewImp::addColumn_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::addColumn_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQString arg0 = (args.size() >= 1) ? args[0].toString(exec).qstring() : TQString::null; + TTQString arg0 = (args.size() >= 1) ? args[0].toString(exec).qstring() : TTQString::null; int arg1 = (args.size() >= 2) ? args[1].toInteger(exec) : -1; @@ -583,15 +583,15 @@ KJS::Value QListViewImp::addColumn_9( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QListViewImp::addColumn_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::addColumn_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const QIconSet + // Unsupported parameter const TQIconSet return KJS::Value(); - const TQIconSet arg0; // Dummy + const TTQIconSet arg0; // Dummy - TQString arg1 = (args.size() >= 2) ? args[1].toString(exec).qstring() : TQString::null; + TTQString arg1 = (args.size() >= 2) ? args[1].toString(exec).qstring() : TTQString::null; int arg2 = (args.size() >= 3) ? args[2].toInteger(exec) : -1; @@ -604,7 +604,7 @@ KJS::Value QListViewImp::addColumn_10( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QListViewImp::removeColumn_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::removeColumn_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -615,12 +615,12 @@ KJS::Value QListViewImp::removeColumn_11( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QListViewImp::setColumnText_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setColumnText_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; - TQString arg1 = (args.size() >= 2) ? args[1].toString(exec).qstring() : TQString::null; + TTQString arg1 = (args.size() >= 2) ? args[1].toString(exec).qstring() : TTQString::null; instance->setColumnText( arg0, @@ -629,17 +629,17 @@ KJS::Value QListViewImp::setColumnText_12( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewImp::setColumnText_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setColumnText_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; - // Unsupported parameter const QIconSet + // Unsupported parameter const TQIconSet return KJS::Value(); - const TQIconSet arg1; // Dummy + const TTQIconSet arg1; // Dummy - TQString arg2 = (args.size() >= 3) ? args[2].toString(exec).qstring() : TQString::null; + TTQString arg2 = (args.size() >= 3) ? args[2].toString(exec).qstring() : TTQString::null; instance->setColumnText( arg0, @@ -649,19 +649,19 @@ KJS::Value QListViewImp::setColumnText_13( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewImp::columnText_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::columnText_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; - TQString ret; + TTQString ret; ret = instance->columnText( arg0 ); return KJS::String( ret ); } -KJS::Value QListViewImp::setColumnWidth_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setColumnWidth_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -675,7 +675,7 @@ KJS::Value QListViewImp::setColumnWidth_15( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewImp::columnWidth_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::columnWidth_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -687,7 +687,7 @@ KJS::Value QListViewImp::columnWidth_16( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::setColumnWidthMode_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setColumnWidthMode_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -704,7 +704,7 @@ KJS::Value QListViewImp::setColumnWidthMode_17( KJS::ExecState *exec, KJS::Objec } -KJS::Value QListViewImp::columnWidthMode_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::columnWidthMode_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -715,7 +715,7 @@ KJS::Value QListViewImp::columnWidthMode_18( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewImp::columns_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::columns_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -724,7 +724,7 @@ KJS::Value QListViewImp::columns_19( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QListViewImp::setColumnAlignment_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setColumnAlignment_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -738,7 +738,7 @@ KJS::Value QListViewImp::setColumnAlignment_20( KJS::ExecState *exec, KJS::Objec } -KJS::Value QListViewImp::columnAlignment_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::columnAlignment_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -750,7 +750,7 @@ KJS::Value QListViewImp::columnAlignment_21( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewImp::show_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::show_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->show( ); @@ -758,41 +758,41 @@ KJS::Value QListViewImp::show_22( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QListViewImp::itemAt_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::itemAt_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQPoint & + // Unsupported parameter const TTQPoint & return KJS::Value(); - const TQPoint & arg0; // Dummy + const TTQPoint & arg0; // Dummy instance->itemAt( arg0 ); - return KJS::Value(); // Returns 'TQListViewItem *' + return KJS::Value(); // Returns 'TTQListViewItem *' } -KJS::Value QListViewImp::itemRect_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::itemRect_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQListViewItem * + // Unsupported parameter const TTQListViewItem * return KJS::Value(); - const TQListViewItem * arg0; // Dummy + const TTQListViewItem * arg0; // Dummy instance->itemRect( arg0 ); - return KJS::Value(); // Returns 'QRect' + return KJS::Value(); // Returns 'TQRect' } -KJS::Value QListViewImp::itemPos_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::itemPos_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQListViewItem * + // Unsupported parameter const TTQListViewItem * return KJS::Value(); - const TQListViewItem * arg0; // Dummy + const TTQListViewItem * arg0; // Dummy int ret; ret = instance->itemPos( @@ -801,13 +801,13 @@ KJS::Value QListViewImp::itemPos_25( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QListViewImp::ensureItemVisible_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::ensureItemVisible_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQListViewItem * + // Unsupported parameter const TTQListViewItem * return KJS::Value(); - const TQListViewItem * arg0; // Dummy + const TTQListViewItem * arg0; // Dummy instance->ensureItemVisible( arg0 ); @@ -815,13 +815,13 @@ KJS::Value QListViewImp::ensureItemVisible_26( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewImp::repaintItem_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::repaintItem_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQListViewItem * + // Unsupported parameter const TTQListViewItem * return KJS::Value(); - const TQListViewItem * arg0; // Dummy + const TTQListViewItem * arg0; // Dummy instance->repaintItem( arg0 ); @@ -829,7 +829,7 @@ KJS::Value QListViewImp::repaintItem_27( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::setMultiSelection_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setMultiSelection_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = (args.size() >= 1) ? args[0].toBoolean(exec) : false; @@ -840,7 +840,7 @@ KJS::Value QListViewImp::setMultiSelection_28( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewImp::isMultiSelection_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::isMultiSelection_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -849,7 +849,7 @@ KJS::Value QListViewImp::isMultiSelection_29( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewImp::setSelectionMode_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setSelectionMode_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { // Unsupported parameter SelectionMode @@ -863,7 +863,7 @@ KJS::Value QListViewImp::setSelectionMode_30( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewImp::selectionMode_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::selectionMode_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->selectionMode( ); @@ -871,7 +871,7 @@ KJS::Value QListViewImp::selectionMode_31( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewImp::clearSelection_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::clearSelection_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->clearSelection( ); @@ -879,13 +879,13 @@ KJS::Value QListViewImp::clearSelection_32( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewImp::setSelected_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setSelected_33( 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 bool arg1 = (args.size() >= 2) ? args[1].toBoolean(exec) : false; @@ -896,13 +896,13 @@ KJS::Value QListViewImp::setSelected_33( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::setSelectionAnchor_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setSelectionAnchor_34( 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->setSelectionAnchor( arg0 ); @@ -910,13 +910,13 @@ KJS::Value QListViewImp::setSelectionAnchor_34( KJS::ExecState *exec, KJS::Objec } -KJS::Value QListViewImp::isSelected_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::isSelected_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQListViewItem * + // Unsupported parameter const TTQListViewItem * return KJS::Value(); - const TQListViewItem * arg0; // Dummy + const TTQListViewItem * arg0; // Dummy bool ret; ret = instance->isSelected( @@ -925,21 +925,21 @@ KJS::Value QListViewImp::isSelected_35( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::selectedItem_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::selectedItem_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->selectedItem( ); - return KJS::Value(); // Returns 'TQListViewItem *' + return KJS::Value(); // Returns 'TTQListViewItem *' } -KJS::Value QListViewImp::setOpen_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setOpen_37( 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 bool arg1 = (args.size() >= 2) ? args[1].toBoolean(exec) : false; @@ -950,13 +950,13 @@ KJS::Value QListViewImp::setOpen_37( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QListViewImp::isOpen_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::isOpen_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQListViewItem * + // Unsupported parameter const TTQListViewItem * return KJS::Value(); - const TQListViewItem * arg0; // Dummy + const TTQListViewItem * arg0; // Dummy bool ret; ret = instance->isOpen( @@ -965,13 +965,13 @@ KJS::Value QListViewImp::isOpen_38( KJS::ExecState *exec, KJS::Object &obj, cons } -KJS::Value QListViewImp::setCurrentItem_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setCurrentItem_39( 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->setCurrentItem( arg0 ); @@ -979,31 +979,31 @@ KJS::Value QListViewImp::setCurrentItem_39( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QListViewImp::currentItem_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::currentItem_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->currentItem( ); - return KJS::Value(); // Returns 'TQListViewItem *' + return KJS::Value(); // Returns 'TTQListViewItem *' } -KJS::Value QListViewImp::firstChild_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::firstChild_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->firstChild( ); - return KJS::Value(); // Returns 'TQListViewItem *' + return KJS::Value(); // Returns 'TTQListViewItem *' } -KJS::Value QListViewImp::lastItem_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::lastItem_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->lastItem( ); - return KJS::Value(); // Returns 'TQListViewItem *' + return KJS::Value(); // Returns 'TTQListViewItem *' } -KJS::Value QListViewImp::childCount_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::childCount_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -1012,7 +1012,7 @@ KJS::Value QListViewImp::childCount_43( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::setAllColumnsShowFocus_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setAllColumnsShowFocus_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = (args.size() >= 1) ? args[0].toBoolean(exec) : false; @@ -1023,7 +1023,7 @@ KJS::Value QListViewImp::setAllColumnsShowFocus_44( KJS::ExecState *exec, KJS::O } -KJS::Value QListViewImp::allColumnsShowFocus_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::allColumnsShowFocus_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1032,7 +1032,7 @@ KJS::Value QListViewImp::allColumnsShowFocus_45( KJS::ExecState *exec, KJS::Obje } -KJS::Value QListViewImp::setItemMargin_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setItemMargin_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -1043,7 +1043,7 @@ KJS::Value QListViewImp::setItemMargin_46( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewImp::itemMargin_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::itemMargin_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -1052,7 +1052,7 @@ KJS::Value QListViewImp::itemMargin_47( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::setRootIsDecorated_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setRootIsDecorated_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = (args.size() >= 1) ? args[0].toBoolean(exec) : false; @@ -1063,7 +1063,7 @@ KJS::Value QListViewImp::setRootIsDecorated_48( KJS::ExecState *exec, KJS::Objec } -KJS::Value QListViewImp::rootIsDecorated_49( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::rootIsDecorated_49( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1072,7 +1072,7 @@ KJS::Value QListViewImp::rootIsDecorated_49( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewImp::setSorting_50( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setSorting_50( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -1086,7 +1086,7 @@ KJS::Value QListViewImp::setSorting_50( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::sortColumn_51( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::sortColumn_51( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -1095,7 +1095,7 @@ KJS::Value QListViewImp::sortColumn_51( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::setSortColumn_52( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setSortColumn_52( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; @@ -1106,7 +1106,7 @@ KJS::Value QListViewImp::setSortColumn_52( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewImp::sortOrder_53( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::sortOrder_53( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->sortOrder( ); @@ -1114,7 +1114,7 @@ KJS::Value QListViewImp::sortOrder_53( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QListViewImp::setSortOrder_54( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setSortOrder_54( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { // Unsupported parameter SortOrder @@ -1128,7 +1128,7 @@ KJS::Value QListViewImp::setSortOrder_54( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QListViewImp::sort_55( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::sort_55( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->sort( ); @@ -1136,10 +1136,10 @@ KJS::Value QListViewImp::sort_55( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QListViewImp::setFont_56( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setFont_56( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQFont arg0; // TODO + TTQFont arg0; // TODO instance->setFont( arg0 ); @@ -1147,10 +1147,10 @@ KJS::Value QListViewImp::setFont_56( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QListViewImp::setPalette_57( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setPalette_57( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPalette arg0; // TODO + TTQPalette arg0; // TODO instance->setPalette( arg0 ); @@ -1158,18 +1158,18 @@ KJS::Value QListViewImp::setPalette_57( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::eventFilter_58( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::eventFilter_58( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQObject * + // Unsupported parameter TTQObject * return KJS::Value(); - TQObject * arg0; // Dummy + TTQObject * arg0; // Dummy - // Unsupported parameter TQEvent * + // Unsupported parameter TTQEvent * return KJS::Value(); - TQEvent * arg1; // Dummy + TTQEvent * arg1; // Dummy bool ret; ret = instance->eventFilter( @@ -1179,23 +1179,23 @@ KJS::Value QListViewImp::eventFilter_58( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::sizeHint_59( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::sizeHint_59( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->sizeHint( ); - return KJS::Value(); // Returns 'QSize' + return KJS::Value(); // Returns 'TQSize' } -KJS::Value QListViewImp::minimumSizeHint_60( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::minimumSizeHint_60( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->minimumSizeHint( ); - return KJS::Value(); // Returns 'QSize' + return KJS::Value(); // Returns 'TQSize' } -KJS::Value QListViewImp::setShowSortIndicator_61( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setShowSortIndicator_61( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = (args.size() >= 1) ? args[0].toBoolean(exec) : false; @@ -1206,7 +1206,7 @@ KJS::Value QListViewImp::setShowSortIndicator_61( KJS::ExecState *exec, KJS::Obj } -KJS::Value QListViewImp::showSortIndicator_62( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::showSortIndicator_62( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1215,7 +1215,7 @@ KJS::Value QListViewImp::showSortIndicator_62( KJS::ExecState *exec, KJS::Object } -KJS::Value QListViewImp::setShowToolTips_63( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setShowToolTips_63( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = (args.size() >= 1) ? args[0].toBoolean(exec) : false; @@ -1226,7 +1226,7 @@ KJS::Value QListViewImp::setShowToolTips_63( KJS::ExecState *exec, KJS::Object & } -KJS::Value QListViewImp::showToolTips_64( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::showToolTips_64( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1235,7 +1235,7 @@ KJS::Value QListViewImp::showToolTips_64( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QListViewImp::setResizeMode_65( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setResizeMode_65( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { // Unsupported parameter ResizeMode @@ -1249,7 +1249,7 @@ KJS::Value QListViewImp::setResizeMode_65( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QListViewImp::resizeMode_66( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::resizeMode_66( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->resizeMode( ); @@ -1257,10 +1257,10 @@ KJS::Value QListViewImp::resizeMode_66( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::findItem_67( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::findItem_67( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQString arg0 = (args.size() >= 1) ? args[0].toString(exec).qstring() : TQString::null; + TTQString arg0 = (args.size() >= 1) ? args[0].toString(exec).qstring() : TTQString::null; int arg1 = (args.size() >= 2) ? args[1].toInteger(exec) : -1; @@ -1273,11 +1273,11 @@ KJS::Value QListViewImp::findItem_67( KJS::ExecState *exec, KJS::Object &obj, co arg0, arg1, arg2 ); - return KJS::Value(); // Returns 'TQListViewItem *' + return KJS::Value(); // Returns 'TTQListViewItem *' } -KJS::Value QListViewImp::setDefaultRenameAction_68( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::setDefaultRenameAction_68( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { // Unsupported parameter RenameAction @@ -1291,7 +1291,7 @@ KJS::Value QListViewImp::setDefaultRenameAction_68( KJS::ExecState *exec, KJS::O } -KJS::Value QListViewImp::defaultRenameAction_69( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::defaultRenameAction_69( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->defaultRenameAction( ); @@ -1299,7 +1299,7 @@ KJS::Value QListViewImp::defaultRenameAction_69( KJS::ExecState *exec, KJS::Obje } -KJS::Value QListViewImp::isRenaming_70( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::isRenaming_70( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -1308,7 +1308,7 @@ KJS::Value QListViewImp::isRenaming_70( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QListViewImp::hideColumn_71( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQListViewImp::hideColumn_71( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1; |