summaryrefslogtreecommitdiffstats
path: root/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:10:55 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:10:55 -0600
commite2cfc7c4dd819ab463f0cccaaff99e0a7bc33b29 (patch)
treedb75780f2eef6c8d18fafb6d2cc432cd3415aa63 /knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp
parent43b12e2e89ff2531ae5af4103346a793348a4e1d (diff)
downloadknetworkmanager8-e2cfc7c4dd819ab463f0cccaaff99e0a7bc33b29.tar.gz
knetworkmanager8-e2cfc7c4dd819ab463f0cccaaff99e0a7bc33b29.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp')
-rw-r--r--knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp4
1 files changed, 2 insertions, 2 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 0593a08..8ce99a8 100644
--- a/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp
+++ b/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp
@@ -166,7 +166,7 @@ TQString OpenVPNConfig::findOpenVPNBinary()
void OpenVPNConfig::receiveCipherData(KProcess*, char* buffer, int len)
{
// add possible cipher modes to the combobox
- TQStringList cipherModes = TQStringList::split("\n", TQString::tqfromLatin1(buffer, len), false );
+ TQStringList cipherModes = TQStringList::split("\n", TQString::fromLatin1(buffer, len), false );
for (TQStringList::ConstIterator it = cipherModes.begin(); it != cipherModes.end(); ++it)
{
_openvpnWidget->cboCipher->insertItem((*it));
@@ -181,7 +181,7 @@ void OpenVPNConfig::getCipherModes()
{
KProcess* cipherHelper = new KProcess();
cipherHelper->setUseShell(true, "/bin/sh");
- *cipherHelper << TQString::tqfromLatin1("%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 }'").tqarg(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))