diff options
Diffstat (limited to 'kjsembed/qtbindings/qcombobox_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcombobox_imp.cpp | 226 |
1 files changed, 113 insertions, 113 deletions
diff --git a/kjsembed/qtbindings/qcombobox_imp.cpp b/kjsembed/qtbindings/qcombobox_imp.cpp index 330da994..28cf620c 100644 --- a/kjsembed/qtbindings/qcombobox_imp.cpp +++ b/kjsembed/qtbindings/qcombobox_imp.cpp @@ -21,19 +21,19 @@ */ namespace KJSEmbed { -QComboBoxImp::QComboBoxImp( KJS::ExecState *exec, int mid, bool constructor ) +TTQComboBoxImp::TQComboBoxImp( KJS::ExecState *exec, int mid, bool constructor ) : JSProxyImp(exec), id(mid), cons(constructor) { } -QComboBoxImp::~QComboBoxImp() +TTQComboBoxImp::~TQComboBoxImp() { } /** * Adds bindings for static methods and enum constants to the specified Object. */ -void QComboBoxImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQComboBoxImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -41,11 +41,11 @@ void QComboBoxImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { - QComboBoxImp *meth = new QComboBoxImp( exec, methods[idx].id ); + TQComboBoxImp *meth = new TQComboBoxImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -64,12 +64,12 @@ void QComboBoxImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object EnumValue enums[] = { // enum Policy - { "NoInsertion", TQComboBox::NoInsertion }, - { "AtTop", TQComboBox::AtTop }, - { "AtCurrent", TQComboBox::AtCurrent }, - { "AtBottom", TQComboBox::AtBottom }, - { "AfterCurrent", TQComboBox::AfterCurrent }, - { "BeforeCurrent", TQComboBox::BeforeCurrent }, + { "NoInsertion", TTQComboBox::NoInsertion }, + { "AtTop", TTQComboBox::AtTop }, + { "AtCurrent", TTQComboBox::AtCurrent }, + { "AtBottom", TTQComboBox::AtBottom }, + { "AfterCurrent", TTQComboBox::AfterCurrent }, + { "BeforeCurrent", TTQComboBox::BeforeCurrent }, { 0, 0 } }; @@ -84,7 +84,7 @@ void QComboBoxImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object /** * Adds bindings for instance methods to the specified Object. */ -void QComboBoxImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) +void TQComboBoxImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) { JSProxy::MethodTable methods[] = { @@ -137,11 +137,11 @@ void QComboBoxImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) }; int idx = 0; - TQCString lastName; + TTQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { - QComboBoxImp *meth = new QComboBoxImp( exec, methods[idx].id ); + TQComboBoxImp *meth = new TQComboBoxImp( exec, methods[idx].id ); object.put( exec , methods[idx].name, KJS::Object(meth) ); lastName = methods[idx].name; } @@ -150,63 +150,63 @@ void QComboBoxImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) } /** - * Extract a TQComboBox pointer from an Object. + * Extract a TTQComboBox pointer from an Object. */ -TQComboBox *QComboBoxImp::toQComboBox( KJS::Object &self ) +TTQComboBox *TQComboBoxImp::toTQComboBox( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - TQObject *obj = ob->object(); + TTQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<TQComboBox *>( obj ); + return dynamic_cast<TTQComboBox *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - if ( op->typeName() != "TQComboBox" ) + if ( op->typeName() != "TTQComboBox" ) return 0; - return op->toNative<TQComboBox>(); + return op->toNative<TTQComboBox>(); } /** * Select and invoke the correct constructor. */ -KJS::Object QComboBoxImp::construct( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQComboBoxImp::construct( KJS::ExecState *exec, const KJS::List &args ) { switch( id ) { case Constructor_QComboBox_1: - return QComboBox_1( exec, args ); + return TQComboBox_1( exec, args ); break; case Constructor_QComboBox_2: - return QComboBox_2( exec, args ); + return TQComboBox_2( exec, args ); break; default: break; } - TQString msg = i18n("QComboBoxCons has no constructor with id '%1'.").arg(id); + TTQString msg = i18n("TQComboBoxCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Object QComboBoxImp::QComboBox_1( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQComboBoxImp::TQComboBox_1( KJS::ExecState *exec, const KJS::List &args ) { #if 0 - // Unsupported parameter TQWidget * + // Unsupported parameter TTQWidget * return KJS::Value(); - TQWidget * arg0; // Dummy + TTQWidget * arg0; // Dummy const char *arg1 = (args.size() >= 2) ? args[1].toString(exec).ascii() : 0; - // We should now create an object of type QComboBoxQComboBox *ret = new TQComboBox( + // We should now create an object of type TQComboBoxTQComboBox *ret = new TTQComboBox( arg0, arg1 ); @@ -214,20 +214,20 @@ KJS::Object QComboBoxImp::QComboBox_1( KJS::ExecState *exec, const KJS::List &ar return KJS::Object(); } -KJS::Object QComboBoxImp::QComboBox_2( KJS::ExecState *exec, const KJS::List &args ) +KJS::Object TQComboBoxImp::TQComboBox_2( KJS::ExecState *exec, const KJS::List &args ) { #if 0 bool arg0 = extractBool(exec, args, 0); - // Unsupported parameter TQWidget * + // Unsupported parameter TTQWidget * return KJS::Value(); - TQWidget * arg1; // Dummy + TTQWidget * arg1; // Dummy const char *arg2 = (args.size() >= 3) ? args[2].toString(exec).ascii() : 0; - // We should now create an object of type QComboBoxQComboBox *ret = new TQComboBox( + // We should now create an object of type TQComboBoxTQComboBox *ret = new TTQComboBox( arg0, arg1, @@ -237,9 +237,9 @@ return KJS::Object(); } -KJS::Value QComboBoxImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) +KJS::Value TQComboBoxImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) { - instance = QComboBoxImp::toQComboBox( self ); + instance = TQComboBoxImp::toTQComboBox( self ); switch( id ) { @@ -427,12 +427,12 @@ KJS::Value QComboBoxImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ break; } - TQString msg = i18n( "QComboBoxImp has no method with id '%1'." ).arg( id ); + TTQString msg = i18n( "TQComboBoxImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } -KJS::Value QComboBoxImp::count_4( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::count_4( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -441,10 +441,10 @@ KJS::Value QComboBoxImp::count_4( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QComboBoxImp::insertStringList_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::insertStringList_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQStringList arg0 = extractQStringList(exec, args, 0); + TTQStringList arg0 = extractTQStringList(exec, args, 0); int arg1 = extractInt(exec, args, 1); @@ -455,10 +455,10 @@ KJS::Value QComboBoxImp::insertStringList_5( KJS::ExecState *exec, KJS::Object & } -KJS::Value QComboBoxImp::insertStrList_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::insertStrList_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQStrList arg0 = extractQStrList(exec, args, 0); + TTQStrList arg0 = extractTQStrList(exec, args, 0); int arg1 = extractInt(exec, args, 1); @@ -469,13 +469,13 @@ KJS::Value QComboBoxImp::insertStrList_6( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QComboBoxImp::insertStrList_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::insertStrList_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQStrList * + // Unsupported parameter const TTQStrList * return KJS::Value(); - const TQStrList * arg0; // Dummy + const TTQStrList * arg0; // Dummy int arg1 = extractInt(exec, args, 1); @@ -486,7 +486,7 @@ KJS::Value QComboBoxImp::insertStrList_7( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QComboBoxImp::insertStrList_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::insertStrList_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { // Unsupported parameter const char ** @@ -506,10 +506,10 @@ KJS::Value QComboBoxImp::insertStrList_8( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QComboBoxImp::insertItem_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::insertItem_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQString arg0 = extractQString(exec, args, 0); + TTQString arg0 = extractTQString(exec, args, 0); int arg1 = extractInt(exec, args, 1); @@ -520,10 +520,10 @@ KJS::Value QComboBoxImp::insertItem_9( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QComboBoxImp::insertItem_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::insertItem_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPixmap arg0 = extractQPixmap(exec, args, 0); + TTQPixmap arg0 = extractTQPixmap(exec, args, 0); int arg1 = extractInt(exec, args, 1); @@ -534,12 +534,12 @@ KJS::Value QComboBoxImp::insertItem_10( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::insertItem_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::insertItem_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPixmap arg0 = extractQPixmap(exec, args, 0); + TTQPixmap arg0 = extractTQPixmap(exec, args, 0); - TQString arg1 = extractQString(exec, args, 1); + TTQString arg1 = extractTQString(exec, args, 1); int arg2 = extractInt(exec, args, 2); @@ -551,7 +551,7 @@ KJS::Value QComboBoxImp::insertItem_11( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::removeItem_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::removeItem_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -562,7 +562,7 @@ KJS::Value QComboBoxImp::removeItem_12( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::currentItem_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::currentItem_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -571,7 +571,7 @@ KJS::Value QComboBoxImp::currentItem_13( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::setCurrentItem_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setCurrentItem_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -582,19 +582,19 @@ KJS::Value QComboBoxImp::setCurrentItem_14( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QComboBoxImp::currentText_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::currentText_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQString ret; + TTQString ret; ret = instance->currentText( ); return KJS::String( ret ); } -KJS::Value QComboBoxImp::setCurrentText_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setCurrentText_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQString arg0 = extractQString(exec, args, 0); + TTQString arg0 = extractTQString(exec, args, 0); instance->setCurrentText( arg0 ); @@ -602,33 +602,33 @@ KJS::Value QComboBoxImp::setCurrentText_16( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QComboBoxImp::text_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::text_17( 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 QComboBoxImp::pixmap_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::pixmap_18( 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 QComboBoxImp::changeItem_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::changeItem_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQString arg0 = extractQString(exec, args, 0); + TTQString arg0 = extractTQString(exec, args, 0); int arg1 = extractInt(exec, args, 1); @@ -639,10 +639,10 @@ KJS::Value QComboBoxImp::changeItem_19( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::changeItem_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::changeItem_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPixmap arg0 = extractQPixmap(exec, args, 0); + TTQPixmap arg0 = extractTQPixmap(exec, args, 0); int arg1 = extractInt(exec, args, 1); @@ -653,12 +653,12 @@ KJS::Value QComboBoxImp::changeItem_20( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::changeItem_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::changeItem_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPixmap arg0 = extractQPixmap(exec, args, 0); + TTQPixmap arg0 = extractTQPixmap(exec, args, 0); - TQString arg1 = extractQString(exec, args, 1); + TTQString arg1 = extractTQString(exec, args, 1); int arg2 = extractInt(exec, args, 2); @@ -670,7 +670,7 @@ KJS::Value QComboBoxImp::changeItem_21( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::autoResize_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::autoResize_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -679,7 +679,7 @@ KJS::Value QComboBoxImp::autoResize_22( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::setAutoResize_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setAutoResize_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -690,19 +690,19 @@ KJS::Value QComboBoxImp::setAutoResize_23( KJS::ExecState *exec, KJS::Object &ob } -KJS::Value QComboBoxImp::sizeHint_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::sizeHint_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQSize ret; + TTQSize ret; ret = instance->sizeHint( ); return convertToValue( exec, ret ); } -KJS::Value QComboBoxImp::setPalette_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setPalette_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQPalette arg0 = extractQPalette(exec, args, 0); + TTQPalette arg0 = extractTQPalette(exec, args, 0); instance->setPalette( arg0 ); @@ -710,10 +710,10 @@ KJS::Value QComboBoxImp::setPalette_25( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::setFont_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setFont_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQFont arg0 = extractQFont(exec, args, 0); + TTQFont arg0 = extractTQFont(exec, args, 0); instance->setFont( arg0 ); @@ -721,7 +721,7 @@ KJS::Value QComboBoxImp::setFont_26( KJS::ExecState *exec, KJS::Object &obj, con } -KJS::Value QComboBoxImp::setEnabled_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setEnabled_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -732,7 +732,7 @@ KJS::Value QComboBoxImp::setEnabled_27( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::setSizeLimit_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setSizeLimit_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -743,7 +743,7 @@ KJS::Value QComboBoxImp::setSizeLimit_28( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QComboBoxImp::sizeLimit_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::sizeLimit_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -752,7 +752,7 @@ KJS::Value QComboBoxImp::sizeLimit_29( KJS::ExecState *exec, KJS::Object &obj, c } -KJS::Value QComboBoxImp::setMaxCount_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setMaxCount_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int arg0 = extractInt(exec, args, 0); @@ -763,7 +763,7 @@ KJS::Value QComboBoxImp::setMaxCount_30( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::maxCount_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::maxCount_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { int ret; @@ -772,10 +772,10 @@ KJS::Value QComboBoxImp::maxCount_31( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QComboBoxImp::setInsertionPolicy_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setInsertionPolicy_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - TQComboBox::Policy arg0 = TQComboBox::AtBottom; // TODO (hack for combo box) + TTQComboBox::Policy arg0 = TTQComboBox::AtBottom; // TODO (hack for combo box) instance->setInsertionPolicy( arg0 ); @@ -783,7 +783,7 @@ KJS::Value QComboBoxImp::setInsertionPolicy_32( KJS::ExecState *exec, KJS::Objec } -KJS::Value QComboBoxImp::insertionPolicy_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::insertionPolicy_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->insertionPolicy( ); @@ -791,13 +791,13 @@ KJS::Value QComboBoxImp::insertionPolicy_33( KJS::ExecState *exec, KJS::Object & } -KJS::Value QComboBoxImp::setValidator_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setValidator_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter const TQValidator * + // Unsupported parameter const TTQValidator * return KJS::Value(); - const TQValidator * arg0; // Dummy + const TTQValidator * arg0; // Dummy instance->setValidator( arg0 ); @@ -805,21 +805,21 @@ KJS::Value QComboBoxImp::setValidator_34( KJS::ExecState *exec, KJS::Object &obj } -KJS::Value QComboBoxImp::validator_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::validator_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->validator( ); - return KJS::Value(); // Returns 'const TQValidator *' + return KJS::Value(); // Returns 'const TTQValidator *' } -KJS::Value QComboBoxImp::setListBox_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setListBox_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQListBox * + // Unsupported parameter TTQListBox * return KJS::Value(); - TQListBox * arg0; // Dummy + TTQListBox * arg0; // Dummy instance->setListBox( arg0 ); @@ -827,21 +827,21 @@ KJS::Value QComboBoxImp::setListBox_36( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::listBox_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::listBox_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->listBox( ); - return KJS::Value(); // Returns 'TQListBox *' + return KJS::Value(); // Returns 'TTQListBox *' } -KJS::Value QComboBoxImp::setLineEdit_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setLineEdit_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - // Unsupported parameter TQLineEdit * + // Unsupported parameter TTQLineEdit * return KJS::Value(); - TQLineEdit * arg0; // Dummy + TTQLineEdit * arg0; // Dummy instance->setLineEdit( arg0 ); @@ -849,15 +849,15 @@ KJS::Value QComboBoxImp::setLineEdit_38( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::lineEdit_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::lineEdit_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->lineEdit( ); - return KJS::Value(); // Returns 'TQLineEdit *' + return KJS::Value(); // Returns 'TTQLineEdit *' } -KJS::Value QComboBoxImp::setAutoCompletion_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setAutoCompletion_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -868,7 +868,7 @@ KJS::Value QComboBoxImp::setAutoCompletion_40( KJS::ExecState *exec, KJS::Object } -KJS::Value QComboBoxImp::autoCompletion_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::autoCompletion_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -877,18 +877,18 @@ KJS::Value QComboBoxImp::autoCompletion_41( KJS::ExecState *exec, KJS::Object &o } -KJS::Value QComboBoxImp::eventFilter_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::eventFilter_42( 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( @@ -898,7 +898,7 @@ KJS::Value QComboBoxImp::eventFilter_42( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::setDuplicatesEnabled_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setDuplicatesEnabled_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -909,7 +909,7 @@ KJS::Value QComboBoxImp::setDuplicatesEnabled_43( KJS::ExecState *exec, KJS::Obj } -KJS::Value QComboBoxImp::duplicatesEnabled_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::duplicatesEnabled_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -918,7 +918,7 @@ KJS::Value QComboBoxImp::duplicatesEnabled_44( KJS::ExecState *exec, KJS::Object } -KJS::Value QComboBoxImp::editable_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::editable_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool ret; @@ -927,7 +927,7 @@ KJS::Value QComboBoxImp::editable_45( KJS::ExecState *exec, KJS::Object &obj, co } -KJS::Value QComboBoxImp::setEditable_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::setEditable_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { bool arg0 = extractBool(exec, args, 0); @@ -938,7 +938,7 @@ KJS::Value QComboBoxImp::setEditable_46( KJS::ExecState *exec, KJS::Object &obj, } -KJS::Value QComboBoxImp::popup_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::popup_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->popup( ); @@ -946,7 +946,7 @@ KJS::Value QComboBoxImp::popup_47( KJS::ExecState *exec, KJS::Object &obj, const } -KJS::Value QComboBoxImp::hide_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) +KJS::Value TQComboBoxImp::hide_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { instance->hide( ); |