diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:31:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:31:11 -0600 |
commit | def182a745c9f7c9f91600c31d133389d0d59b82 (patch) | |
tree | c8f5139c2aea2bd36b8540a37a6a3ca6410e45b8 /knetworkmanager-0.8/vpn-plugins/vpnc | |
parent | 8232572e677b7a1d86d9fa0ce1ccac8efb09ce0d (diff) | |
download | knetworkmanager8-def182a745c9f7c9f91600c31d133389d0d59b82.tar.gz knetworkmanager8-def182a745c9f7c9f91600c31d133389d0d59b82.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'knetworkmanager-0.8/vpn-plugins/vpnc')
3 files changed, 9 insertions, 9 deletions
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 526d5d5..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()) ); @@ -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").tqarg(linedata)); + KMessageBox::information(this, TQString("Your group password is: %1\n\r\n\rYou will need this information when you log on").arg(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").tqarg(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)); } } } @@ -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() 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 429bc55..9fdcdec 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 <tqlayout.h> +#include <layout.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 ab2b8fc..c9fbd43 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="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>40</height> @@ -253,7 +253,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>20</height> |