diff options
Diffstat (limited to 'knetworkmanager-0.8/vpn-plugins')
15 files changed, 41 insertions, 41 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..0593a08 100644 --- a/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp +++ b/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.cpp @@ -108,9 +108,9 @@ int OpenVPNConnectionType::mapConnectionType2String(CONNECTIONTYPE connType) OpenVPNConfig::OpenVPNConfig(TQWidget* parent) : VPNConfigWidget(parent) { - TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); _openvpnWidget = new OpenVPNConfigWidget(this); - layout->addWidget(_openvpnWidget); + tqlayout->addWidget(_openvpnWidget); connect(_openvpnWidget->chkUseCipher, TQT_SIGNAL(toggled(bool)), _openvpnWidget->cboCipher, TQT_SLOT(setEnabled(bool))); connect(_openvpnWidget->chkUseTLS, TQT_SIGNAL(toggled(bool)), _openvpnWidget->cboDirection, TQT_SLOT(setEnabled(bool))); @@ -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::fromLatin1(buffer, len), false ); + TQStringList cipherModes = TQStringList::split("\n", TQString::tqfromLatin1(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::fromLatin1("%1 --show-ciphers | awk '/^[A-Z][A-Z0-9]+-/ { print $1 }'").arg(openvpn); + *cipherHelper << TQString::tqfromLatin1("%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)) @@ -275,7 +275,7 @@ void OpenVPNConfig::setVPNData(const TQStringList& routes, const TQMap<TQString, } else { - kdDebug() << TQString("OpenVPN: Property '%1' not handled").arg(entry) << endl; + kdDebug() << TQString("OpenVPN: Property '%1' not handled").tqarg(entry) << endl; } } @@ -516,9 +516,9 @@ bool OpenVPNConfig::isValid(TQStringList& err_msg) OpenVPNAuthentication::OpenVPNAuthentication(TQWidget* parent, char* name) : VPNAuthenticationWidget(parent, name) { - TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); _openvpnAuth = new OpenVPNAuthenticationWidget(this); - layout->addWidget(_openvpnAuth); + tqlayout->addWidget(_openvpnAuth); } OpenVPNAuthentication::~OpenVPNAuthentication() 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 95d58d0..c78f524 100644 --- a/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.h +++ b/knetworkmanager-0.8/vpn-plugins/openvpn/src/knetworkmanager-openvpn.h @@ -28,7 +28,7 @@ #include <tqmap.h> #include <tqstring.h> #include <tqwidget.h> -#include <layout.h> +#include <tqlayout.h> #include <kprocess.h> #include "knetworkmanager-vpnplugin.h" diff --git a/knetworkmanager-0.8/vpn-plugins/openvpn/src/openvpnauth.ui b/knetworkmanager-0.8/vpn-plugins/openvpn/src/openvpnauth.ui index 3bea9b4..4cb6578 100644 --- a/knetworkmanager-0.8/vpn-plugins/openvpn/src/openvpnauth.ui +++ b/knetworkmanager-0.8/vpn-plugins/openvpn/src/openvpnauth.ui @@ -40,7 +40,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>40</width> <height>20</height> @@ -57,7 +57,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>40</height> diff --git a/knetworkmanager-0.8/vpn-plugins/openvpn/src/openvpnprop.ui b/knetworkmanager-0.8/vpn-plugins/openvpn/src/openvpnprop.ui index a6d0945..c136050 100644 --- a/knetworkmanager-0.8/vpn-plugins/openvpn/src/openvpnprop.ui +++ b/knetworkmanager-0.8/vpn-plugins/openvpn/src/openvpnprop.ui @@ -44,7 +44,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>16</height> @@ -444,7 +444,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>30</height> 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..091b400 100644 --- a/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.cpp +++ b/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.cpp @@ -67,9 +67,9 @@ VPNAuthenticationWidget* PPTPPlugin::CreateAuthenticationWidget(TQWidget* parent PPTPConfig::PPTPConfig(TQWidget* parent) : VPNConfigWidget(parent) { - TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); _pptpWidget = new PPTPConfigWidget(this); - layout->addWidget(_pptpWidget); + tqlayout->addWidget(_pptpWidget); connect(_pptpWidget->chkIPAdresses, TQT_SIGNAL(toggled(bool)), _pptpWidget->routes, TQT_SLOT(setEnabled(bool))); @@ -201,9 +201,9 @@ bool PPTPConfig::isValid(TQStringList& err_msg) PPTPAuthentication::PPTPAuthentication(TQWidget* parent, char* name) : VPNAuthenticationWidget(parent, name) { - TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); _pptpAuth = new PPTPAuthenticationWidget(this); - layout->addWidget(_pptpAuth); + tqlayout->addWidget(_pptpAuth); } PPTPAuthentication::~PPTPAuthentication() diff --git a/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.h b/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.h index 4bce41f..d703743 100644 --- a/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.h +++ b/knetworkmanager-0.8/vpn-plugins/pptp/src/knetworkmanager-pptp.h @@ -28,7 +28,7 @@ #include <tqmap.h> #include <tqstring.h> #include <tqwidget.h> -#include <layout.h> +#include <tqlayout.h> #include "knetworkmanager-vpnplugin.h" #include "pptpprop.h" diff --git a/knetworkmanager-0.8/vpn-plugins/pptp/src/pptpauth.ui b/knetworkmanager-0.8/vpn-plugins/pptp/src/pptpauth.ui index 4078684..5388561 100644 --- a/knetworkmanager-0.8/vpn-plugins/pptp/src/pptpauth.ui +++ b/knetworkmanager-0.8/vpn-plugins/pptp/src/pptpauth.ui @@ -32,7 +32,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>20</height> diff --git a/knetworkmanager-0.8/vpn-plugins/pptp/src/pptpprop.ui b/knetworkmanager-0.8/vpn-plugins/pptp/src/pptpprop.ui index c966535..b57e065 100644 --- a/knetworkmanager-0.8/vpn-plugins/pptp/src/pptpprop.ui +++ b/knetworkmanager-0.8/vpn-plugins/pptp/src/pptpprop.ui @@ -60,7 +60,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>30</height> @@ -99,7 +99,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>40</height> @@ -124,7 +124,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>220</width> <height>20</height> @@ -141,7 +141,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>230</width> <height>20</height> 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..37cee81 100644 --- a/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.cpp +++ b/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.cpp @@ -67,9 +67,9 @@ VPNAuthenticationWidget* StrongswanPlugin::CreateAuthenticationWidget(TQWidget* StrongswanConfig::StrongswanConfig(TQWidget* parent) : VPNConfigWidget(parent) { - TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); _strongswanWidget = new StrongswanConfigWidget(this); - layout->addWidget(_strongswanWidget); + tqlayout->addWidget(_strongswanWidget); /* TODO not sure if we need this here */ this->languageChange(); @@ -208,9 +208,9 @@ bool StrongswanConfig::isValid(TQStringList& err_msg) StrongswanAuthentication::StrongswanAuthentication(TQWidget* parent, char* name) : VPNAuthenticationWidget(parent, name) { - TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); _strongswanAuth = new StrongswanAuthenticationWidget(this); - layout->addWidget(_strongswanAuth); + tqlayout->addWidget(_strongswanAuth); } StrongswanAuthentication::~StrongswanAuthentication() diff --git a/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.h b/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.h index 92c3aa5..74f82a5 100644 --- a/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.h +++ b/knetworkmanager-0.8/vpn-plugins/strongswan/src/knetworkmanager-strongswan.h @@ -28,7 +28,7 @@ #include <tqmap.h> #include <tqstring.h> #include <tqwidget.h> -#include <layout.h> +#include <tqlayout.h> #include "knetworkmanager-vpnplugin.h" #include "strongswanprop.h" diff --git a/knetworkmanager-0.8/vpn-plugins/strongswan/src/strongswanauth.ui b/knetworkmanager-0.8/vpn-plugins/strongswan/src/strongswanauth.ui index 244a6ac..332d3c8 100644 --- a/knetworkmanager-0.8/vpn-plugins/strongswan/src/strongswanauth.ui +++ b/knetworkmanager-0.8/vpn-plugins/strongswan/src/strongswanauth.ui @@ -32,7 +32,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>100</height> @@ -75,7 +75,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>130</width> <height>20</height> diff --git a/knetworkmanager-0.8/vpn-plugins/strongswan/src/strongswanprop.ui b/knetworkmanager-0.8/vpn-plugins/strongswan/src/strongswanprop.ui index a728a1d..d55c066 100644 --- a/knetworkmanager-0.8/vpn-plugins/strongswan/src/strongswanprop.ui +++ b/knetworkmanager-0.8/vpn-plugins/strongswan/src/strongswanprop.ui @@ -143,7 +143,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>16</height> @@ -197,7 +197,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>51</height> @@ -214,7 +214,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>231</width> <height>31</height> 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..526d5d5 100644 --- a/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp +++ b/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp @@ -77,9 +77,9 @@ VPNAuthenticationWidget* VPNCPlugin::CreateAuthenticationWidget(TQWidget* parent VPNCConfig::VPNCConfig(TQWidget* parent) : VPNConfigWidget(parent) { - TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); _vpncWidget = new VPNCConfigWidget(this); - layout->addWidget(_vpncWidget); + tqlayout->addWidget(_vpncWidget); connect(_vpncWidget->pcfImport, TQT_SIGNAL(clicked()), this, TQT_SLOT( pcfImport()) ); @@ -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").arg(linedata)); + KMessageBox::information(this, TQString("Your group password is: %1\n\r\n\rYou will need this information when you log on").tqarg(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").arg(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)); } } } @@ -344,9 +344,9 @@ bool VPNCConfig::isValid(TQStringList& err_msg) VPNCAuthentication::VPNCAuthentication(TQWidget* parent, char* name) : VPNAuthenticationWidget(parent, name) { - TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); _vpncAuth = new VPNCAuthenticationWidget(this); - layout->addWidget(_vpncAuth); + tqlayout->addWidget(_vpncAuth); } VPNCAuthentication::~VPNCAuthentication() diff --git a/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.h b/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.h index 9fdcdec..429bc55 100644 --- a/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.h +++ b/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.h @@ -29,7 +29,7 @@ #include <tqmap.h> #include <tqstring.h> #include <tqwidget.h> -#include <layout.h> +#include <tqlayout.h> #include "knetworkmanager-vpnplugin.h" #include "vpncprop.h" diff --git a/knetworkmanager-0.8/vpn-plugins/vpnc/src/vpncprop.ui b/knetworkmanager-0.8/vpn-plugins/vpnc/src/vpncprop.ui index c9fbd43..ab2b8fc 100644 --- a/knetworkmanager-0.8/vpn-plugins/vpnc/src/vpncprop.ui +++ b/knetworkmanager-0.8/vpn-plugins/vpnc/src/vpncprop.ui @@ -132,7 +132,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>40</height> @@ -253,7 +253,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>20</height> |