diff options
Diffstat (limited to 'wifi/kcmwifi/vendorconfig.cpp')
-rw-r--r-- | wifi/kcmwifi/vendorconfig.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wifi/kcmwifi/vendorconfig.cpp b/wifi/kcmwifi/vendorconfig.cpp index 01936667..395cbc58 100644 --- a/wifi/kcmwifi/vendorconfig.cpp +++ b/wifi/kcmwifi/vendorconfig.cpp @@ -89,7 +89,7 @@ VendorConfig::initSuSE_92plus ( ) TQString var = buffer.section ( '=', 0, 0 ); TQString value = buffer.section ( '=', 1, 1 ); value = value.mid ( 1, value.length ( ) - 3 ); - kdDebug ( ) << "Variable " << var << " tqcontains " << value << ".\n"; + kdDebug ( ) << "Variable " << var << " contains " << value << ".\n"; // evaluate the meaningful lines if ( var == "WIRELESS_ESSID" ) { @@ -182,7 +182,7 @@ is incremented _after_ successful setup of each given config. */ // lines look like wireless-defaultkey bla, so split it into wireless-defaultkey and bla TQString var = buffer.section ( ' ', 0, 0 ); TQString value = buffer.section ( ' ', 1, 1 ); - kdDebug ( ) << "Variable " << var << " tqcontains " << value << ".\n"; + kdDebug ( ) << "Variable " << var << " contains " << value << ".\n"; // evaluate the meaningful lines if ( var.tqstartsWith ( "wireless", false ) ) { @@ -191,7 +191,7 @@ is incremented _after_ successful setup of each given config. */ newtab->le_networkName->setText ( value ); } - else if ( var.endsWith ( "mode" ) && !var.tqcontains ( "key" ) ) + else if ( var.endsWith ( "mode" ) && !var.contains ( "key" ) ) { newtab->cmb_wifiMode->setCurrentItem ( IfConfig::convertToWifiModeFromString ( value ) ); @@ -203,15 +203,15 @@ is incremented _after_ successful setup of each given config. */ newtab->cmb_speed->setCurrentItem ( IfConfig::convertToSpeedFromString ( value ) ); } - else if ( var.tqcontains ( "key" ) ) + else if ( var.contains ( "key" ) ) { // Could be any of key, key1, key2, ..., or defaultkey - if ( var.tqcontains ( "default" ) ) + if ( var.contains ( "default" ) ) { crypto->cmb_activeKey->setCurrentItem ( value.toInt ( ) ); } - else if ( var.tqcontains ( "mode" ) ) + else if ( var.contains ( "mode" ) ) { if ( value == "shared" || value == "sharedkey" || value == "restricted" ) { |