diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:21:41 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:21:41 -0600 |
commit | 05632906054ae054c8f026de8a798f224640ac87 (patch) | |
tree | 8acffeea7e694737f775e7b4019bece89133eda5 /knetworkmanager-0.8/vpn-plugins | |
parent | cade21b0f58261371a3d1e7203f0962b44b3bf62 (diff) | |
download | knetworkmanager8-05632906054ae054c8f026de8a798f224640ac87.tar.gz knetworkmanager8-05632906054ae054c8f026de8a798f224640ac87.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'knetworkmanager-0.8/vpn-plugins')
5 files changed, 8 insertions, 8 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; diff --git a/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.cpp b/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.cpp index 452fb23..c7d76ac 100644 --- a/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.cpp +++ b/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.cpp @@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY( knetworkmanager_pptp, PPTPPluginFactory("knetworkman PPTPPlugin::PPTPPlugin(TQObject* parent, const char* name, const TQStringList& args) : VPNPlugin(parent, name, args) { - KLocale* loc = KGlobal::locale(); + KLocale* loc = TDEGlobal::locale(); loc->insertCatalogue("NetworkManager-pptp"); } diff --git a/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.cpp b/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.cpp index 39a512c..4be64e1 100644 --- a/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.cpp +++ b/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.cpp @@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY( knetworkmanager_strongswan, StrongswanPluginFactory( StrongswanPlugin::StrongswanPlugin(TQObject* parent, const char* name, const TQStringList& args) : VPNPlugin(parent, name, args) { - KLocale* loc = KGlobal::locale(); + KLocale* loc = TDEGlobal::locale(); loc->insertCatalogue("NetworkManager-strongswan"); } 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 5bab84c..be79bb8 100644 --- a/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp +++ b/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp @@ -54,7 +54,7 @@ char linedata [2048]; VPNCPlugin::VPNCPlugin(TQObject* parent, const char* name, const TQStringList& args) : VPNPlugin(parent, name, args) { - KLocale* loc = KGlobal::locale(); + KLocale* loc = TDEGlobal::locale(); loc->insertCatalogue("NetworkManager-vpnc"); } |