diff options
Diffstat (limited to 'knetworkmanager-0.8/vpn-plugins')
4 files changed, 16 insertions, 16 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 bfb5349..020df5a 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* tqlayout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); _openvpnWidget = new OpenVPNConfigWidget(this); - tqlayout->addWidget(_openvpnWidget); + layout->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))); @@ -516,9 +516,9 @@ bool OpenVPNConfig::isValid(TQStringList& err_msg) OpenVPNAuthentication::OpenVPNAuthentication(TQWidget* parent, char* name) : VPNAuthenticationWidget(parent, name) { - TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); _openvpnAuth = new OpenVPNAuthenticationWidget(this); - tqlayout->addWidget(_openvpnAuth); + layout->addWidget(_openvpnAuth); } OpenVPNAuthentication::~OpenVPNAuthentication() 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 091b400..452fb23 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* tqlayout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); _pptpWidget = new PPTPConfigWidget(this); - tqlayout->addWidget(_pptpWidget); + layout->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* tqlayout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); _pptpAuth = new PPTPAuthenticationWidget(this); - tqlayout->addWidget(_pptpAuth); + layout->addWidget(_pptpAuth); } PPTPAuthentication::~PPTPAuthentication() 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 37cee81..39a512c 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* tqlayout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); _strongswanWidget = new StrongswanConfigWidget(this); - tqlayout->addWidget(_strongswanWidget); + layout->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* tqlayout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); _strongswanAuth = new StrongswanAuthenticationWidget(this); - tqlayout->addWidget(_strongswanAuth); + layout->addWidget(_strongswanAuth); } StrongswanAuthentication::~StrongswanAuthentication() 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 5a35177..5bab84c 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* tqlayout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); _vpncWidget = new VPNCConfigWidget(this); - tqlayout->addWidget(_vpncWidget); + layout->addWidget(_vpncWidget); connect(_vpncWidget->pcfImport, TQT_SIGNAL(clicked()), this, TQT_SLOT( pcfImport()) ); @@ -344,9 +344,9 @@ bool VPNCConfig::isValid(TQStringList& err_msg) VPNCAuthentication::VPNCAuthentication(TQWidget* parent, char* name) : VPNAuthenticationWidget(parent, name) { - TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 1, 1); + TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); _vpncAuth = new VPNCAuthenticationWidget(this); - tqlayout->addWidget(_vpncAuth); + layout->addWidget(_vpncAuth); } VPNCAuthentication::~VPNCAuthentication() |