diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:48:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:48:31 -0600 |
commit | c48e769eb275917717e2b55eb869f7e559293ac8 (patch) | |
tree | 8f650b907e21c918b826f854dbe1c8174cc2c0c6 /wifi/networkscanning.cpp | |
parent | 8011d84f483f3628f3f04ea5cb2c1c3c86b2dba7 (diff) | |
download | tdenetwork-c48e769eb275917717e2b55eb869f7e559293ac8.tar.gz tdenetwork-c48e769eb275917717e2b55eb869f7e559293ac8.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'wifi/networkscanning.cpp')
-rw-r--r-- | wifi/networkscanning.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wifi/networkscanning.cpp b/wifi/networkscanning.cpp index 509e1f9f..d7f07db7 100644 --- a/wifi/networkscanning.cpp +++ b/wifi/networkscanning.cpp @@ -124,14 +124,14 @@ NetworkScanning::switchToNetwork() 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.arg( TDEProcess::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 ); if ( encryption != NONE ) { - cmdline = cmdline.arg( (encryption == VALID_STRING ? "s:" : "" ) + KProcess::quote( networks->text( networks->currentRow(), 3 ) ) ); + cmdline = cmdline.arg( (encryption == VALID_STRING ? "s:" : "" ) + TDEProcess::quote( networks->text( networks->currentRow(), 3 ) ) ); } else { cmdline = cmdline.arg("off"); } @@ -143,9 +143,9 @@ NetworkScanning::switchToNetwork() delete tempfile; // autoDeletion off, so the file remains on disk - KProcess switchProc; + TDEProcess switchProc; switchProc << "tdesu" << tempfilename; - switchProc.start( KProcess::Block ); + switchProc.start( TDEProcess::Block ); remove(tempfilename.ascii()); |