diff options
Diffstat (limited to 'knetworkmanager-0.8/vpn-plugins/openvpn')
-rw-r--r-- | knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp | 8 | ||||
-rw-r--r-- | knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.h | 2 |
2 files changed, 5 insertions, 5 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 020df5a..f043aad 100644 --- a/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp +++ b/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp @@ -163,7 +163,7 @@ TQString OpenVPNConfig::findOpenVPNBinary() } -void OpenVPNConfig::receiveCipherData(KProcess*, char* buffer, int len) +void OpenVPNConfig::receiveCipherData(TDEProcess*, char* buffer, int len) { // add possible cipher modes to the combobox TQStringList cipherModes = TQStringList::split("\n", TQString::fromLatin1(buffer, len), false ); @@ -179,12 +179,12 @@ void OpenVPNConfig::getCipherModes() TQString openvpn = findOpenVPNBinary(); if (!openvpn.isNull()) { - KProcess* cipherHelper = new KProcess(); + TDEProcess* cipherHelper = new TDEProcess(); cipherHelper->setUseShell(true, "/bin/sh"); *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))); + connect (cipherHelper, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(receiveCipherData(TDEProcess*, char*, int))); kdDebug() << "starting openvpn to get cipher modes" << endl; - if (!cipherHelper->start(KProcess::Block, KProcess::Stdout)) + if (!cipherHelper->start(TDEProcess::Block, TDEProcess::Stdout)) kdDebug() << "error starting openvpn" << endl; } diff --git a/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.h b/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.h index 4b43b18..1a65d04 100644 --- a/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.h +++ b/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.h @@ -78,7 +78,7 @@ class OpenVPNConfig : public VPNConfigWidget ~OpenVPNConfig(); public slots: - void receiveCipherData(KProcess*, char*, int); + void receiveCipherData(TDEProcess*, char*, int); private: OpenVPNConfigWidget* _openvpnWidget; |