summaryrefslogtreecommitdiffstats
path: root/wifi/networkscanning.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /wifi/networkscanning.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'wifi/networkscanning.cpp')
-rw-r--r--wifi/networkscanning.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/wifi/networkscanning.cpp b/wifi/networkscanning.cpp
index 46b3a27d..0e2a42a8 100644
--- a/wifi/networkscanning.cpp
+++ b/wifi/networkscanning.cpp
@@ -19,7 +19,7 @@
#include <tqstring.h>
#include <tqwidget.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqtable.h>
@@ -119,26 +119,26 @@ NetworkScanning::switchToNetwork()
TQString tempfilename = tempfile->name();
cmdline = (TQString)"ifconfig %1 down\n";
- cmdline = cmdline.arg( device->get_interface_name() );
+ cmdline = cmdline.tqarg( device->get_interface_name() );
write( tempfile->handle(), cmdline.ascii(), strlen( cmdline.ascii() ) );
cmdline = (TQString)"iwconfig %1 essid %2 mode %3 enc %4\n";
- cmdline = cmdline.arg( device->get_interface_name() );
- cmdline = cmdline.arg( KProcess::quote( networks->text( networks->currentRow(), 0 ) ) );
+ cmdline = cmdline.tqarg( device->get_interface_name() );
+ cmdline = cmdline.tqarg( KProcess::quote( networks->text( networks->currentRow(), 0 ) ) );
TQString modetemp;
if (networks->text( networks->currentRow(), 1 ) == i18n("Managed") ) modetemp = "Managed"; else modetemp = "Ad-Hoc";
- cmdline = cmdline.arg( modetemp );
+ cmdline = cmdline.tqarg( modetemp );
if ( encryption != NONE ) {
- cmdline = cmdline.arg( (encryption == VALID_STRING ? "s:" : "" ) + KProcess::quote( networks->text( networks->currentRow(), 3 ) ) );
+ cmdline = cmdline.tqarg( (encryption == VALID_STRING ? "s:" : "" ) + KProcess::quote( networks->text( networks->currentRow(), 3 ) ) );
} else {
- cmdline = cmdline.arg("off");
+ cmdline = cmdline.tqarg("off");
}
write( tempfile->handle(), cmdline.ascii(), strlen( cmdline.ascii() ) );
cmdline = (TQString)"ifconfig %1 up\n";
- cmdline = cmdline.arg( device->get_interface_name() );
+ cmdline = cmdline.tqarg( device->get_interface_name() );
write( tempfile->handle(), cmdline.ascii(), strlen( cmdline.ascii() ) );
delete tempfile; // autoDeletion off, so the file remains on disk