diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:37:22 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:37:22 -0600 |
commit | aa76ad73287dfdb114ee6959bc633eafdb7470b7 (patch) | |
tree | 057989853928a8ec4e8f4cbd5263aa905dd797e7 /knetworkmanager-0.8/vpn-plugins | |
parent | e2cfc7c4dd819ab463f0cccaaff99e0a7bc33b29 (diff) | |
download | knetworkmanager8-aa76ad73287dfdb114ee6959bc633eafdb7470b7.tar.gz knetworkmanager8-aa76ad73287dfdb114ee6959bc633eafdb7470b7.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'knetworkmanager-0.8/vpn-plugins')
-rw-r--r-- | knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp | 4 | ||||
-rw-r--r-- | knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp b/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp index 8ce99a8..bfb5349 100644 --- a/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp +++ b/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp @@ -181,7 +181,7 @@ void OpenVPNConfig::getCipherModes() { KProcess* cipherHelper = new KProcess(); cipherHelper->setUseShell(true, "/bin/sh"); - *cipherHelper << TQString::fromLatin1("%1 --show-ciphers | awk '/^[A-Z][A-Z0-9]+-/ { print $1 }'").tqarg(openvpn); + *cipherHelper << TQString::fromLatin1("%1 --show-ciphers | awk '/^[A-Z][A-Z0-9]+-/ { print $1 }'").arg(openvpn); connect (cipherHelper, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)), this, TQT_SLOT(receiveCipherData(KProcess*, char*, int))); kdDebug() << "starting openvpn to get cipher modes" << endl; if (!cipherHelper->start(KProcess::Block, KProcess::Stdout)) @@ -275,7 +275,7 @@ void OpenVPNConfig::setVPNData(const TQStringList& routes, const TQMap<TQString, } else { - kdDebug() << TQString("OpenVPN: Property '%1' not handled").tqarg(entry) << endl; + kdDebug() << TQString("OpenVPN: Property '%1' not handled").arg(entry) << endl; } } diff --git a/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp b/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp index 526d5d5..5a35177 100644 --- a/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp +++ b/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp @@ -170,7 +170,7 @@ void VPNCConfig::pcfImport() if (getFileConfig("GroupPwd=", line) == 0) { if (strlen(linedata) > 0) { printf("Got configuration parameter GroupPwd with data %s\n\r", linedata); - KMessageBox::information(this, TQString("Your group password is: %1\n\r\n\rYou will need this information when you log on").tqarg(linedata)); + KMessageBox::information(this, TQString("Your group password is: %1\n\r\n\rYou will need this information when you log on").arg(linedata)); } } if (getFileConfig("enc_GroupPwd=", line) == 0) { @@ -200,7 +200,7 @@ void VPNCConfig::pcfImport() } printf("Group password decrypt result: '%s'\n\r", decrypted_result); } - KMessageBox::information(this, TQString("Your group password is: %1\n\r\n\rYou will need this information when you log on").tqarg(decrypted_result)); + KMessageBox::information(this, TQString("Your group password is: %1\n\r\n\rYou will need this information when you log on").arg(decrypted_result)); } } } |