summaryrefslogtreecommitdiffstats
path: root/src/newprofilewizard.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
commit1b89319fd93b88313cab40f1e9de24c067b04efb (patch)
tree80132996de993c3dcab4040864d7729842875b2d /src/newprofilewizard.cpp
parentd08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (diff)
downloadkvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.tar.gz
kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.zip
Initial TQt conversion
Diffstat (limited to 'src/newprofilewizard.cpp')
-rw-r--r--src/newprofilewizard.cpp590
1 files changed, 295 insertions, 295 deletions
diff --git a/src/newprofilewizard.cpp b/src/newprofilewizard.cpp
index 296d80c..e627bb9 100644
--- a/src/newprofilewizard.cpp
+++ b/src/newprofilewizard.cpp
@@ -20,24 +20,24 @@
//BEGIN INCLUDES
#include <klocale.h>
-#include <qlabel.h>
-#include <qhbox.h>
-#include <qvbox.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
+#include <tqlabel.h>
+#include <tqhbox.h>
+#include <tqvbox.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
#include <klineedit.h>
-#include <qlineedit.h>
+#include <tqlineedit.h>
#include <kmessagebox.h>
#include <kcombobox.h>
#include <kurlrequester.h>
#include <knuminput.h>
#include <kpassdlg.h>
#include <kfiledialog.h>
-#include <qspinbox.h>
-#include <qcursor.h>
-#include <qbuttongroup.h>
-#include <qtooltip.h>
+#include <tqspinbox.h>
+#include <tqcursor.h>
+#include <tqbuttongroup.h>
+#include <tqtooltip.h>
#include <iostream>
#include <kstddirs.h>
@@ -58,8 +58,8 @@ NewProfileWizard::NewProfileWizard ( KVpncConfig* GlobalConfig )
setCaption ( i18n ( "Add new profile..." ) );
//setMinimumSize( 400,300);
- SetupPixmap = new QPixmap ( locate ( "data", "kvpnc/newprofilewizard.png" ) );
- SetupPixmapFinal = new QPixmap ( locate ( "data", "kvpnc/newprofilewizard_final.png" ) );
+ SetupPixmap = new TQPixmap ( locate ( "data", "kvpnc/newprofilewizard.png" ) );
+ SetupPixmapFinal = new TQPixmap ( locate ( "data", "kvpnc/newprofilewizard_final.png" ) );
// currently static for new profile
VpnAccountData::ConnectionType ConnType = VpnAccountData::ConnectionType ( VpnAccountData::other );
@@ -157,66 +157,66 @@ void NewProfileWizard::accept()
if ( newProfileCreated && profileData->getAuthType() == VpnAccountData::cert )
{}
- QWizard::accept();
+ TQWizard::accept();
}
void NewProfileWizard::reject()
{
finished = false;
- QWizard::reject();
+ TQWizard::reject();
}
void NewProfileWizard::setupPages()
{
// setup start page
- page1 = new QHBox ( 0 );
+ page1 = new TQHBox ( 0 );
// page1->setSpacing(8);
- QLabel *setupPixmapContent1 = new QLabel ( page1 );
+ TQLabel *setupPixmapContent1 = new TQLabel ( page1 );
setupPixmapContent1->setPixmap ( *SetupPixmap );
- setupPixmapContent1->resize ( setupPixmapContent1->sizeHint() );
+ setupPixmapContent1->resize ( setupPixmapContent1->tqsizeHint() );
newprofilewizardstartcontent = new NewProfileWizardStart ( page1 );
- newprofilewizardstartcontent->resize ( newprofilewizardstartcontent->sizeHint() );
- page1->sizeHint();
+ newprofilewizardstartcontent->resize ( newprofilewizardstartcontent->tqsizeHint() );
+ page1->tqsizeHint();
addPage ( page1, "<b>" + i18n ( "Welcome" ) + "</b>" );
// type selection
- newprofilewizardtypeselectionpage = new QHBox ( 0 );
+ newprofilewizardtypeselectionpage = new TQHBox ( 0 );
// newprofilewizardtypeselectionpage->setSpacing(8);
- QLabel *setupPixmapContent2 = new QLabel ( newprofilewizardtypeselectionpage );
+ TQLabel *setupPixmapContent2 = new TQLabel ( newprofilewizardtypeselectionpage );
setupPixmapContent2->setPixmap ( *SetupPixmap );
- setupPixmapContent2->resize ( setupPixmapContent2->sizeHint() );
+ setupPixmapContent2->resize ( setupPixmapContent2->tqsizeHint() );
newprofilewizardtypeselectionpagecontent = new NewProfileWizardTypeSelection ( newprofilewizardtypeselectionpage );
newprofilewizardtypeselectionpagecontent->FreeswanRadioButton->setText ( i18n ( "IPSec (%1)" ).arg ( "FreeS/WAN/Openswan/strongSwan" ) );
newprofilewizardtypeselectionpagecontent->L2tpFreeswanRadioButton->setText ( i18n ( "L2TP over IPSec (%1)" ).arg ( "FreeS/WAN/Openswan/strongSwan" ) );
- newprofilewizardtypeselectionpage->sizeHint();
+ newprofilewizardtypeselectionpage->tqsizeHint();
addPage ( newprofilewizardtypeselectionpage, "<b>" + i18n ( "Type selection" ) + "</b>" );
// cisco
- newprofilewizardciscoselectionpage = new QHBox ( 0 );
+ newprofilewizardciscoselectionpage = new TQHBox ( 0 );
// newprofilewizardciscoselectionpage->setSpacing(8);
- QLabel *setupPixmapContent3 = new QLabel ( newprofilewizardciscoselectionpage );
+ TQLabel *setupPixmapContent3 = new TQLabel ( newprofilewizardciscoselectionpage );
setupPixmapContent3->setPixmap ( *SetupPixmap );
- setupPixmapContent3->resize ( setupPixmapContent3->sizeHint() );
+ setupPixmapContent3->resize ( setupPixmapContent3->tqsizeHint() );
newprofilewizardciscoselectionpagecontent = new NewProfileWizardCiscoSelection ( newprofilewizardciscoselectionpage );
- newprofilewizardciscoselectionpage->sizeHint();
+ newprofilewizardciscoselectionpage->tqsizeHint();
- newprofilewizardciscomanuallypage = new QHBox ( 0 );
+ newprofilewizardciscomanuallypage = new TQHBox ( 0 );
// newprofilewizardciscomanuallypage->setSpacing(8);
- QLabel *setupPixmapContent4 = new QLabel ( newprofilewizardciscomanuallypage );
+ TQLabel *setupPixmapContent4 = new TQLabel ( newprofilewizardciscomanuallypage );
setupPixmapContent4->setPixmap ( *SetupPixmap );
- setupPixmapContent4->resize ( setupPixmapContent4->sizeHint() );
+ setupPixmapContent4->resize ( setupPixmapContent4->tqsizeHint() );
newprofilewizardciscomanuallypagecontent = new NewProfileWizardCiscoManually ( newprofilewizardciscomanuallypage );
- newprofilewizardciscomanuallypage->sizeHint();
+ newprofilewizardciscomanuallypage->tqsizeHint();
- connect ( newprofilewizardciscomanuallypagecontent->GroupPasswordLineEdit , SIGNAL ( textChanged ( const QString& ) ), this, SLOT ( pskToggled ( const QString& ) ) );
+ connect ( newprofilewizardciscomanuallypagecontent->GroupPasswordLineEdit , TQT_SIGNAL ( textChanged ( const TQString& ) ), this, TQT_SLOT ( pskToggled ( const TQString& ) ) );
// racoon
- newprofilewizardracoonpage = new QHBox ( 0 );
+ newprofilewizardracoonpage = new TQHBox ( 0 );
// newprofilewizardracoonpage->setSpacing(8);
- QLabel *setupPixmapContent5 = new QLabel ( newprofilewizardracoonpage );
+ TQLabel *setupPixmapContent5 = new TQLabel ( newprofilewizardracoonpage );
setupPixmapContent5->setPixmap ( *SetupPixmap );
- setupPixmapContent5->resize ( setupPixmapContent5->sizeHint() );
+ setupPixmapContent5->resize ( setupPixmapContent5->tqsizeHint() );
newprofilewizardracoonpagecontent = new NewProfileWizardRacoon ( newprofilewizardracoonpage );
newprofilewizardracoonpagecontent->ExchangeModeComboBox->insertItem ( "main", 0 );
newprofilewizardracoonpagecontent->ExchangeModeComboBox->insertItem ( "aggressive", 1 );
@@ -254,21 +254,21 @@ void NewProfileWizard::setupPages()
newprofilewizardracoonpagecontent->RemoteIdTypeCombobox->insertItem("keyid");
newprofilewizardracoonpagecontent->RemoteIdTypeCombobox->insertItem("asn1dn");
- QToolTip::add( newprofilewizardracoonpagecontent->RemoteIdTypeCombobox, i18n("<b>Remote ID type</b><br><table>"
+ TQToolTip::add( newprofilewizardracoonpagecontent->RemoteIdTypeCombobox, i18n("<b>Remote ID type</b><br><table>"
"<tr><td>none:</td><td>No ID</td></tr>"
"<tr><td>address:</td><td>The type is the IP address. This is the default type if you do not specify an identifier to use</td></tr>"
- "<tr><td>user_fqdn:</td><td>The type is a USER_FQDN (user fully-qualified domain name)</td></tr>"
- "<tr><td>fqdn:</td><td>The type is a FQDN (fully-qualified domain name)</td></tr>"
+ "<tr><td>user_fqdn:</td><td>The type is a USER_FTQDN (user fully-qualified domain name)</td></tr>"
+ "<tr><td>fqdn:</td><td>The type is a FTQDN (fully-qualified domain name)</td></tr>"
"<tr><td>keyid (file):</td><td>The type is a KEY_ID, read from the file</td></tr>"
"<tr><td>keyid:</td><td>The type is a KEY_ID, specified in field</td></tr>"
"<tr><td>asn1dn:</td><td>The type is an ASN.1 distinguished name. If empty, DN from the Subject field in the certificate will be used"
"<table>"));
- QToolTip::add( newprofilewizardracoonpagecontent->LocalIdTypeCombobox, i18n("<b>Local ID type</b><br><table>"
+ TQToolTip::add( newprofilewizardracoonpagecontent->LocalIdTypeCombobox, i18n("<b>Local ID type</b><br><table>"
"<tr><td>none:</td><td>No ID</td></tr>"
"<tr><td>address:</td><td>The type is the IP address. This is the default type if you do not specify an identifier to use</td></tr>"
- "<tr><td>user_fqdn:</td><td>The type is a USER_FQDN (user fully-qualified domain name)</td></tr>"
- "<tr><td>fqdn:</td><td>The type is a FQDN (fully-qualified domain name)</td></tr>"
+ "<tr><td>user_fqdn:</td><td>The type is a USER_FTQDN (user fully-qualified domain name)</td></tr>"
+ "<tr><td>fqdn:</td><td>The type is a FTQDN (fully-qualified domain name)</td></tr>"
"<tr><td>keyid (file):</td><td>The type is a KEY_ID, read from the file</td></tr>"
"<tr><td>keyid:</td><td>The type is a KEY_ID, specified in field</td></tr>"
"<tr><td>asn1dn:</td><td>The type is an ASN.1 distinguished name. If empty, DN from the Subject field in the certificate will be used"
@@ -277,11 +277,11 @@ void NewProfileWizard::setupPages()
newprofilewizardracoonpagecontent->PerfectForwardSecurityCheckbox->setChecked(true);
newprofilewizardracoonpagecontent->PerfectForwardSecrecyCombobox->setCurrentText("modp2048");
- connect ( newprofilewizardracoonpagecontent->LocalIdTypeCombobox, SIGNAL ( highlighted ( const QString& ) ), this, SLOT ( localIDTypeRacoonToggled ( const QString& ) ) );
- connect ( newprofilewizardracoonpagecontent->RemoteIdTypeCombobox, SIGNAL ( highlighted ( const QString& ) ), this, SLOT ( remoteIDTypeRacoonToggled ( const QString& ) ) );
+ connect ( newprofilewizardracoonpagecontent->LocalIdTypeCombobox, TQT_SIGNAL ( highlighted ( const TQString& ) ), this, TQT_SLOT ( localIDTypeRacoonToggled ( const TQString& ) ) );
+ connect ( newprofilewizardracoonpagecontent->RemoteIdTypeCombobox, TQT_SIGNAL ( highlighted ( const TQString& ) ), this, TQT_SLOT ( remoteIDTypeRacoonToggled ( const TQString& ) ) );
- connect ( newprofilewizardracoonpagecontent->IkeGroupCheckbox, SIGNAL ( toggled ( bool ) ), this, SLOT ( ikeGroupToggled ( bool ) ) );
- connect ( newprofilewizardracoonpagecontent->UseXauthCheckBox, SIGNAL(toggled(bool)),this, SLOT(useXauthRacoonToggled(bool)));
+ connect ( newprofilewizardracoonpagecontent->IkeGroupCheckbox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( ikeGroupToggled ( bool ) ) );
+ connect ( newprofilewizardracoonpagecontent->UseXauthCheckBox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(useXauthRacoonToggled(bool)));
Utils::IpsecAlgos KernelCrypto = Utils ( GlobalConfig ).getKernelCrypto();
@@ -304,13 +304,13 @@ void NewProfileWizard::setupPages()
// // phase 2 encr algos from kernel
-// for ( QStringList::Iterator it = KernelCrypto.IpsecEspEncryptionAlgorithms.begin(); it != KernelCrypto.IpsecEspEncryptionAlgorithms.end(); ++it )
+// for ( TQStringList::Iterator it = KernelCrypto.IpsecEspEncryptionAlgorithms.begin(); it != KernelCrypto.IpsecEspEncryptionAlgorithms.end(); ++it )
// {
// newprofilewizardracoonpagecontent->EncryptionAlgorithm2ComboBox->insertItem ( *it );
// }
//
// // phase 2 auth algos from kernel
-// for ( QStringList::Iterator it = KernelCrypto.IpsecEspAuthenticationAlgorithms.begin(); it != KernelCrypto.IpsecEspAuthenticationAlgorithms.end(); ++it )
+// for ( TQStringList::Iterator it = KernelCrypto.IpsecEspAuthenticationAlgorithms.begin(); it != KernelCrypto.IpsecEspAuthenticationAlgorithms.end(); ++it )
// {
// newprofilewizardracoonpagecontent->AuthenticationAlgorithm2ComboBox->insertItem ( *it );
// }
@@ -347,32 +347,32 @@ void NewProfileWizard::setupPages()
newprofilewizardracoonpagecontent->PerfectForwardSecurityCheckbox->hide();
newprofilewizardracoonpagecontent->PerfectForwardSecrecyCombobox->hide();
- newprofilewizardracoonpage->sizeHint();
+ newprofilewizardracoonpage->tqsizeHint();
//freeswan
- newprofilewizardfreeswanselectionpage = new QHBox ( 0 );
+ newprofilewizardfreeswanselectionpage = new TQHBox ( 0 );
// newprofilewizardfreeswanselectionpage->setSpacing(8);
- QLabel *setupPixmapContent711 = new QLabel ( newprofilewizardfreeswanselectionpage );
+ TQLabel *setupPixmapContent711 = new TQLabel ( newprofilewizardfreeswanselectionpage );
setupPixmapContent711->setPixmap ( *SetupPixmap );
- setupPixmapContent711->resize ( setupPixmapContent711->sizeHint() );
+ setupPixmapContent711->resize ( setupPixmapContent711->tqsizeHint() );
newprofilewizardfreeswanselectionpagecontent = new NewProfileWizardOpenvpnSelection ( newprofilewizardfreeswanselectionpage );
newprofilewizardfreeswanselectionpagecontent->OpenvpnImportRadioButton->setText(i18n("Import &Ipsec config file"));
- newprofilewizardfreeswanselectionpage->sizeHint();
+ newprofilewizardfreeswanselectionpage->tqsizeHint();
- newprofilewizardfreeswanpage = new QHBox ( 0 );
+ newprofilewizardfreeswanpage = new TQHBox ( 0 );
// newprofilewizardfreeswanpage->setSpacing(8);
- QLabel *setupPixmapContent6 = new QLabel ( newprofilewizardfreeswanpage );
+ TQLabel *setupPixmapContent6 = new TQLabel ( newprofilewizardfreeswanpage );
setupPixmapContent6->setPixmap ( *SetupPixmap );
- setupPixmapContent6->resize ( setupPixmapContent6->sizeHint() );
+ setupPixmapContent6->resize ( setupPixmapContent6->tqsizeHint() );
newprofilewizardfreeswanpagecontent = new NewProfileWizardFreeswan ( newprofilewizardfreeswanpage );
- newprofilewizardfreeswanpage->sizeHint();
+ newprofilewizardfreeswanpage->tqsizeHint();
//freeswan
- newprofilewizardfreeswanpage = new QHBox ( 0 );
+ newprofilewizardfreeswanpage = new TQHBox ( 0 );
// newprofilewizardfreeswanpage->setSpacing(8);
- QLabel *setupPixmapContent66 = new QLabel ( newprofilewizardfreeswanpage );
+ TQLabel *setupPixmapContent66 = new TQLabel ( newprofilewizardfreeswanpage );
setupPixmapContent66->setPixmap ( *SetupPixmap );
- setupPixmapContent66->resize ( setupPixmapContent66->sizeHint() );
+ setupPixmapContent66->resize ( setupPixmapContent66->tqsizeHint() );
newprofilewizardfreeswanpagecontent = new NewProfileWizardFreeswan ( newprofilewizardfreeswanpage );
newprofilewizardfreeswanpagecontent->LocalIdTypeCombobox->insertItem(i18n("Certificate ID"));
@@ -397,45 +397,45 @@ void NewProfileWizard::setupPages()
newprofilewizardfreeswanpagecontent->UseModeConfigCheckBox->hide();
newprofilewizardfreeswanpagecontent->PerfectForwardSecurityCheckbox->setChecked(true);
- connect ( newprofilewizardfreeswanpagecontent->LocalIdTypeCombobox, SIGNAL ( highlighted ( const QString& ) ), this, SLOT ( localIDTypeIpsecToggled ( const QString& ) ) );
+ connect ( newprofilewizardfreeswanpagecontent->LocalIdTypeCombobox, TQT_SIGNAL ( highlighted ( const TQString& ) ), this, TQT_SLOT ( localIDTypeIpsecToggled ( const TQString& ) ) );
- connect( newprofilewizardfreeswanpagecontent->UseCustomEspCheckBox, SIGNAL( toggled(bool) ), this, SLOT( useEspToogled(bool) ) );
- connect( newprofilewizardfreeswanpagecontent->UseCustomIkeCheckBox, SIGNAL( toggled(bool) ), this, SLOT( useIkeToggled(bool) ) );
- connect( newprofilewizardfreeswanpagecontent->UseLeftNextHopCheckBox, SIGNAL( toggled(bool) ), this, SLOT( useLeftNextHopToggled(bool) ) );
- connect( newprofilewizardfreeswanpagecontent->UseRightNextHopCheckBox, SIGNAL( toggled(bool) ), this, SLOT( useRightNextHopToggled(bool) ) );
- connect (newprofilewizardfreeswanpagecontent->UseXauthCheckBox, SIGNAL(toggled(bool)),this, SLOT(useXauthFreeswanToggled(bool)));
+ connect( newprofilewizardfreeswanpagecontent->UseCustomEspCheckBox, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( useEspToogled(bool) ) );
+ connect( newprofilewizardfreeswanpagecontent->UseCustomIkeCheckBox, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( useIkeToggled(bool) ) );
+ connect( newprofilewizardfreeswanpagecontent->UseLeftNextHopCheckBox, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( useLeftNextHopToggled(bool) ) );
+ connect( newprofilewizardfreeswanpagecontent->UseRightNextHopCheckBox, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( useRightNextHopToggled(bool) ) );
+ connect (newprofilewizardfreeswanpagecontent->UseXauthCheckBox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(useXauthFreeswanToggled(bool)));
- connect ( newprofilewizardfreeswanpagecontent->LocalIdTypeCombobox, SIGNAL ( highlighted ( const QString& ) ), this, SLOT ( localIDTypeIpsecToggled ( const QString& ) ) );
- connect ( newprofilewizardfreeswanpagecontent->RemoteIdTypeCombobox, SIGNAL ( highlighted ( const QString& ) ), this, SLOT ( remoteIDTypeIpsecToggled ( const QString& ) ) );
+ connect ( newprofilewizardfreeswanpagecontent->LocalIdTypeCombobox, TQT_SIGNAL ( highlighted ( const TQString& ) ), this, TQT_SLOT ( localIDTypeIpsecToggled ( const TQString& ) ) );
+ connect ( newprofilewizardfreeswanpagecontent->RemoteIdTypeCombobox, TQT_SIGNAL ( highlighted ( const TQString& ) ), this, TQT_SLOT ( remoteIDTypeIpsecToggled ( const TQString& ) ) );
- newprofilewizardfreeswanpage->sizeHint();
+ newprofilewizardfreeswanpage->tqsizeHint();
// openvpn
- newprofilewizardopenvpnselectionpage = new QHBox ( 0 );
+ newprofilewizardopenvpnselectionpage = new TQHBox ( 0 );
// newprofilewizardopenvpnselectionpage->setSpacing(8);
- QLabel *setupPixmapContent7 = new QLabel ( newprofilewizardopenvpnselectionpage );
+ TQLabel *setupPixmapContent7 = new TQLabel ( newprofilewizardopenvpnselectionpage );
setupPixmapContent7->setPixmap ( *SetupPixmap );
- setupPixmapContent7->resize ( setupPixmapContent7->sizeHint() );
+ setupPixmapContent7->resize ( setupPixmapContent7->tqsizeHint() );
newprofilewizardopenvpnselectionpagecontent = new NewProfileWizardOpenvpnSelection ( newprofilewizardopenvpnselectionpage );
- newprofilewizardopenvpnselectionpage->sizeHint();
+ newprofilewizardopenvpnselectionpage->tqsizeHint();
- newprofilewizardopenvpnauthpage = new QHBox ( 0 );
+ newprofilewizardopenvpnauthpage = new TQHBox ( 0 );
// newprofilewizardopenvpnauthpage->setSpacing(8);
- QLabel *setupPixmapContent71 = new QLabel ( newprofilewizardopenvpnauthpage );
+ TQLabel *setupPixmapContent71 = new TQLabel ( newprofilewizardopenvpnauthpage );
setupPixmapContent71->setPixmap ( *SetupPixmap );
- setupPixmapContent71->resize ( setupPixmapContent71->sizeHint() );
+ setupPixmapContent71->resize ( setupPixmapContent71->tqsizeHint() );
newprofilewizardopenvpnauthpagecontent = new NewProfileWizardOpenvpnAuth ( newprofilewizardopenvpnauthpage );
- newprofilewizardopenvpnauthpage->sizeHint();
- connect ( newprofilewizardopenvpnauthpagecontent->AuthWithUsernameAndPasswordCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( authenticateWithUsernameAndPasswordToggled ( bool ) ) );
- connect ( newprofilewizardopenvpnauthpagecontent->UseAuthenticationAlgorithmCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useAuthenticationAlgorithmToggled ( bool ) ) );
+ newprofilewizardopenvpnauthpage->tqsizeHint();
+ connect ( newprofilewizardopenvpnauthpagecontent->AuthWithUsernameAndPasswordCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( authenticateWithUsernameAndPasswordToggled ( bool ) ) );
+ connect ( newprofilewizardopenvpnauthpagecontent->UseAuthenticationAlgorithmCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useAuthenticationAlgorithmToggled ( bool ) ) );
- newprofilewizardopenvpnpage = new QHBox ( 0 );
+ newprofilewizardopenvpnpage = new TQHBox ( 0 );
// newprofilewizardopenvpnpage->setSpacing(8);
- QLabel *setupPixmapContent8 = new QLabel ( newprofilewizardopenvpnpage );
+ TQLabel *setupPixmapContent8 = new TQLabel ( newprofilewizardopenvpnpage );
setupPixmapContent8->setPixmap ( *SetupPixmap );
- setupPixmapContent8->resize ( setupPixmapContent8->sizeHint() );
+ setupPixmapContent8->resize ( setupPixmapContent8->tqsizeHint() );
newprofilewizardopenvpnpagecontent = new NewProfileWizardOpenvpn ( newprofilewizardopenvpnpage );
- newprofilewizardopenvpnpage->sizeHint();
+ newprofilewizardopenvpnpage->tqsizeHint();
newprofilewizardopenvpnpagecontent->TunnelDeviceTypeComboBox->insertItem ( "tun" );
newprofilewizardopenvpnpagecontent->TunnelDeviceTypeComboBox->insertItem ( "tap" );
newprofilewizardopenvpnpagecontent->NsCertTypeComboBox->insertItem ( "client" );
@@ -450,35 +450,35 @@ void NewProfileWizard::setupPages()
newprofilewizardopenvpnpagecontent->UseUserdefiniedCipherCheckBox->setChecked ( false );
newprofilewizardopenvpnpagecontent->UseHttpProxyCheckBox->setChecked ( false );
- connect ( newprofilewizardopenvpnpagecontent->UseUserdefinedPortCheckBox , SIGNAL ( toggled ( bool ) ), this, SLOT ( userdefinedOpenvpnPortToggeled ( bool ) ) );
- connect ( newprofilewizardopenvpnpagecontent->UseNsCertTypeCheckBox , SIGNAL ( toggled ( bool ) ), this, SLOT ( nsCertTypeOpenvpnToggled ( bool ) ) );
- connect ( newprofilewizardopenvpnpagecontent->UseUserdefinedPortCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( userdefinedOpenvpnPortToggeled ( bool ) ) );
- connect ( newprofilewizardopenvpnpagecontent->UseTlsAuthCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useTlsAuthToggled ( bool ) ) );
- connect ( newprofilewizardopenvpnpagecontent->UseTlsRemoteHostCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useTlsRemoteHostToggled ( bool ) ) );
- connect ( newprofilewizardopenvpnpagecontent->UseUserdefiniedCipherCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useUserdefiniedCipherToggled ( bool ) ) );
- connect ( newprofilewizardopenvpnpagecontent->UseHttpProxyCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useHttpProxyToggeled ( bool ) ) );
+ connect ( newprofilewizardopenvpnpagecontent->UseUserdefinedPortCheckBox , TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( userdefinedOpenvpnPortToggeled ( bool ) ) );
+ connect ( newprofilewizardopenvpnpagecontent->UseNsCertTypeCheckBox , TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( nsCertTypeOpenvpnToggled ( bool ) ) );
+ connect ( newprofilewizardopenvpnpagecontent->UseUserdefinedPortCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( userdefinedOpenvpnPortToggeled ( bool ) ) );
+ connect ( newprofilewizardopenvpnpagecontent->UseTlsAuthCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useTlsAuthToggled ( bool ) ) );
+ connect ( newprofilewizardopenvpnpagecontent->UseTlsRemoteHostCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useTlsRemoteHostToggled ( bool ) ) );
+ connect ( newprofilewizardopenvpnpagecontent->UseUserdefiniedCipherCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useUserdefiniedCipherToggled ( bool ) ) );
+ connect ( newprofilewizardopenvpnpagecontent->UseHttpProxyCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useHttpProxyToggeled ( bool ) ) );
- QStringList ciphers = Utils ( GlobalConfig ).getOpenvpnCiphers();
- QStringList digests = Utils ( GlobalConfig ).getOpenvpnDigests();
+ TQStringList ciphers = Utils ( GlobalConfig ).getOpenvpnCiphers();
+ TQStringList digests = Utils ( GlobalConfig ).getOpenvpnDigests();
- for ( QStringList::Iterator it = ciphers.begin(); it != ciphers.end(); ++it )
+ for ( TQStringList::Iterator it = ciphers.begin(); it != ciphers.end(); ++it )
{
newprofilewizardopenvpnpagecontent->UserdefiniedCipherComboBox->insertItem ( *it );
}
- for ( QStringList::Iterator it = digests.begin(); it != digests.end(); ++it )
+ for ( TQStringList::Iterator it = digests.begin(); it != digests.end(); ++it )
{
newprofilewizardopenvpnauthpagecontent->UserdefiniedDigestComboBox->insertItem ( *it );
}
// pptp
- newprofilewizardpptppage = new QHBox ( 0 );
+ newprofilewizardpptppage = new TQHBox ( 0 );
// newprofilewizardpptppage->setSpacing(8);
- QLabel *setupPixmapContent9 = new QLabel ( newprofilewizardpptppage );
+ TQLabel *setupPixmapContent9 = new TQLabel ( newprofilewizardpptppage );
setupPixmapContent9->setPixmap ( *SetupPixmap );
- setupPixmapContent9->resize ( setupPixmapContent9->sizeHint() );
+ setupPixmapContent9->resize ( setupPixmapContent9->tqsizeHint() );
newprofilewizardpptppagecontent = new NewProfileWizardPptp ( newprofilewizardpptppage );
- newprofilewizardpptppage->sizeHint();
+ newprofilewizardpptppage->tqsizeHint();
newprofilewizardpptppagecontent->DnsServerLineedit->setEnabled ( false );
newprofilewizardpptppagecontent->RequireMppeCheckbox->setChecked( profileData->getRequireMppe() );
newprofilewizardpptppagecontent->Refuse128BitEncryptionCheckbox->setChecked( profileData->getRefuse128BitEncryption() );
@@ -504,54 +504,54 @@ void NewProfileWizard::setupPages()
newprofilewizardpptppagecontent->AuthMethodComboBox->insertItem ( "mschap" );
newprofilewizardpptppagecontent->AuthMethodComboBox->insertItem ( "mschap-v2" );
- connect( newprofilewizardpptppagecontent->DnsServerCheckbox, SIGNAL( toggled(bool) ), this, SLOT( useDnsServerToggled(bool) ) );
- connect( newprofilewizardpptppagecontent->UseSearchDomainInResolvConfCheckbox, SIGNAL( toggled(bool) ), this, SLOT( useSearchDomainInResolvConfToggled(bool) ) );
- connect( newprofilewizardpptppagecontent->UseDomainInResolvConfCheckbox, SIGNAL( toggled(bool) ), this, SLOT( useDomainInResolvConfToggled(bool) ) );
+ connect( newprofilewizardpptppagecontent->DnsServerCheckbox, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( useDnsServerToggled(bool) ) );
+ connect( newprofilewizardpptppagecontent->UseSearchDomainInResolvConfCheckbox, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( useSearchDomainInResolvConfToggled(bool) ) );
+ connect( newprofilewizardpptppagecontent->UseDomainInResolvConfCheckbox, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( useDomainInResolvConfToggled(bool) ) );
// vtun
- newprofilewizardvtunpage = new QHBox ( 0 );
+ newprofilewizardvtunpage = new TQHBox ( 0 );
// newprofilewizardvtunpage->setSpacing(8);
- QLabel *setupPixmapContent19 = new QLabel ( newprofilewizardvtunpage );
+ TQLabel *setupPixmapContent19 = new TQLabel ( newprofilewizardvtunpage );
setupPixmapContent19->setPixmap ( *SetupPixmap );
- setupPixmapContent19->resize ( setupPixmapContent19->sizeHint() );
+ setupPixmapContent19->resize ( setupPixmapContent19->tqsizeHint() );
newprofilewizardvtunpagecontent = new ProfileVtunOptions ( newprofilewizardvtunpage );
- newprofilewizardvtunpage->sizeHint();
- connect ( newprofilewizardvtunpagecontent->PortCheckbox, SIGNAL ( toggled ( bool ) ), this, SLOT ( usePortToggled ( bool ) ) );
+ newprofilewizardvtunpage->tqsizeHint();
+ connect ( newprofilewizardvtunpagecontent->PortCheckbox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( usePortToggled ( bool ) ) );
// ssh
- newprofilewizardsshpage = new QHBox ( 0 );
+ newprofilewizardsshpage = new TQHBox ( 0 );
// newprofilewizardsshpage->setSpacing(8);
- QLabel *setupPixmapContent191 = new QLabel ( newprofilewizardsshpage );
+ TQLabel *setupPixmapContent191 = new TQLabel ( newprofilewizardsshpage );
setupPixmapContent191->setPixmap ( *SetupPixmap );
- setupPixmapContent191->resize ( setupPixmapContent191->sizeHint() );
+ setupPixmapContent191->resize ( setupPixmapContent191->tqsizeHint() );
newprofilewizardsshpagecontent = new ProfileSshOptions ( newprofilewizardsshpage );
- newprofilewizardsshpage->sizeHint();
+ newprofilewizardsshpage->tqsizeHint();
- QString Home= QString(getenv("HOME"));
+ TQString Home= TQString(getenv("HOME"));
if (!Home.isEmpty())
{
- QDir dir( Home+"/.ssh" );
- QStringList KeyFiles = dir.entryList( "*" );
+ TQDir dir( Home+"/.ssh" );
+ TQStringList KeyFiles = dir.entryList( "*" );
//if (GlobalConfig->KvpncDebugLevel > 2)
//{
- // GlobalConfig->appendLogEntry(i18n("SSH files: %1").arg(KeyFiles.join(",")),GlobalConfig->debug);
+ // GlobalConfig->appendLogEntry(i18n("SSH files: %1").tqarg(KeyFiles.join(",")),GlobalConfig->debug);
//}
if (KeyFiles.size() > 1)
{
- for ( QStringList::Iterator it = KeyFiles.begin(); it != KeyFiles.end(); ++it )
+ for ( TQStringList::Iterator it = KeyFiles.begin(); it != KeyFiles.end(); ++it )
{
- QString item = QString(*it);
+ TQString item = TQString(*it);
if (GlobalConfig->KvpncDebugLevel > 2)
{
- //GlobalConfig->appendLogEntry(i18n("processing entry: %1").arg(item),GlobalConfig->debug);
+ //GlobalConfig->appendLogEntry(i18n("processing entry: %1").tqarg(item),GlobalConfig->debug);
}
if (!item.contains (".pub", false) && !item.contains ("authorized_keys", false) && !item.contains ("known_hosts", false) && !item.contains (".", false) && !item.contains ("..", false) && !item.contains ("config", false) )
{
if (GlobalConfig->KvpncDebugLevel > 2)
{
- GlobalConfig->appendLogEntry(i18n("SSH key found: %1").arg(*it),GlobalConfig->debug);
+ GlobalConfig->appendLogEntry(i18n("SSH key found: %1").tqarg(*it),GlobalConfig->debug);
}
newprofilewizardsshpagecontent->SshKeyComboBox->insertItem(*it);
}
@@ -560,97 +560,97 @@ void NewProfileWizard::setupPages()
}
- newprofilewizardauthselectionpage = new QHBox ( 0 );
+ newprofilewizardauthselectionpage = new TQHBox ( 0 );
// newprofilewizardauthselectionpage->setSpacing(8);
- QLabel *setupPixmapContent81 = new QLabel ( newprofilewizardauthselectionpage );
+ TQLabel *setupPixmapContent81 = new TQLabel ( newprofilewizardauthselectionpage );
setupPixmapContent81->setPixmap ( *SetupPixmap );
- setupPixmapContent81->resize ( setupPixmapContent81->sizeHint() );
+ setupPixmapContent81->resize ( setupPixmapContent81->tqsizeHint() );
newprofilewizardauthselectioncontent = new NewProfileWizardAuthSelection ( newprofilewizardauthselectionpage );
- newprofilewizardauthselectionpage->sizeHint();
+ newprofilewizardauthselectionpage->tqsizeHint();
newprofilewizardauthselectioncontent->CertificateRadioButton->setChecked ( true );
newprofilewizardauthselectioncontent->HybridRadioButton->hide ();
// virtual ip
- newprofilewizardvirtualipaddresspage = new QHBox ( 0 );
- QLabel *setupPixmapContent_virtualip = new QLabel ( newprofilewizardvirtualipaddresspage );
+ newprofilewizardvirtualipaddresspage = new TQHBox ( 0 );
+ TQLabel *setupPixmapContent_virtualip = new TQLabel ( newprofilewizardvirtualipaddresspage );
setupPixmapContent_virtualip->setPixmap ( *SetupPixmap );
- setupPixmapContent_virtualip->resize ( setupPixmapContent_virtualip->sizeHint() );
+ setupPixmapContent_virtualip->resize ( setupPixmapContent_virtualip->tqsizeHint() );
profilenetworkvirtualipoptionscontent = new ProfileNetworkVirtualIpOptions ( newprofilewizardvirtualipaddresspage );
- newprofilewizardvirtualipaddresspage->sizeHint();
+ newprofilewizardvirtualipaddresspage->tqsizeHint();
insertPage ( newprofilewizardvirtualipaddresspage, "<b>" + i18n ( "Virtual IP address options" ) + "</b>",-1 );
- connect ( profilenetworkvirtualipoptionscontent->UseVirtualIPCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useVirtualIpAddressToggled ( bool ) ) );
+ connect ( profilenetworkvirtualipoptionscontent->UseVirtualIPCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useVirtualIpAddressToggled ( bool ) ) );
// psk
- newprofilewizardpskpage = new QHBox ( 0 );
+ newprofilewizardpskpage = new TQHBox ( 0 );
// newprofilewizardpskpage->setSpacing(8);
- QLabel *setupPixmapContent72 = new QLabel ( newprofilewizardpskpage );
+ TQLabel *setupPixmapContent72 = new TQLabel ( newprofilewizardpskpage );
setupPixmapContent72->setPixmap ( *SetupPixmap );
- setupPixmapContent72->resize ( setupPixmapContent72->sizeHint() );
+ setupPixmapContent72->resize ( setupPixmapContent72->tqsizeHint() );
newprofilewizardpskcontent = new NewProfileWizardPsk ( newprofilewizardpskpage );
- newprofilewizardpskpage->sizeHint();
+ newprofilewizardpskpage->tqsizeHint();
- connect ( newprofilewizardpskcontent->PskInFileCheckBox , SIGNAL ( toggled ( bool ) ), this, SLOT ( pskIsInFileToggled ( bool ) ) );
- connect ( newprofilewizardpskcontent->PSKLineEdit , SIGNAL ( textChanged ( const QString & ) ), this, SLOT ( pskInputToggled ( const QString& ) ) );
+ connect ( newprofilewizardpskcontent->PskInFileCheckBox , TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( pskIsInFileToggled ( bool ) ) );
+ connect ( newprofilewizardpskcontent->PSKLineEdit , TQT_SIGNAL ( textChanged ( const TQString & ) ), this, TQT_SLOT ( pskInputToggled ( const TQString& ) ) );
- newprofilewizardp12certselectionpage = new QHBox ( 0 );
+ newprofilewizardp12certselectionpage = new TQHBox ( 0 );
// newprofilewizardp12certselectionpage->setSpacing(8);
- QLabel *setupPixmapContent74 = new QLabel ( newprofilewizardp12certselectionpage );
+ TQLabel *setupPixmapContent74 = new TQLabel ( newprofilewizardp12certselectionpage );
setupPixmapContent74->setPixmap ( *SetupPixmap );
- setupPixmapContent74->resize ( setupPixmapContent74->sizeHint() );
+ setupPixmapContent74->resize ( setupPixmapContent74->tqsizeHint() );
newprofilewizardp12certselectioncontent = new NewProfileWizardP12CertSelection ( newprofilewizardp12certselectionpage );
- newprofilewizardp12certselectionpage->sizeHint();
- connect ( newprofilewizardp12certselectioncontent->UseSmartcardCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useSmartcardOnCertFormateToggled ( bool ) ) );
+ newprofilewizardp12certselectionpage->tqsizeHint();
+ connect ( newprofilewizardp12certselectioncontent->UseSmartcardCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useSmartcardOnCertFormateToggled ( bool ) ) );
// cert
- newprofilewizardcertpage = new QHBox ( 0 );
+ newprofilewizardcertpage = new TQHBox ( 0 );
// newprofilewizardcertpage->setSpacing(8);
- QLabel *setupPixmapContent73 = new QLabel ( newprofilewizardcertpage );
+ TQLabel *setupPixmapContent73 = new TQLabel ( newprofilewizardcertpage );
setupPixmapContent73->setPixmap ( *SetupPixmap );
- setupPixmapContent73->resize ( setupPixmapContent73->sizeHint() );
+ setupPixmapContent73->resize ( setupPixmapContent73->tqsizeHint() );
newprofilewizardcertcontent = new NewProfileWizardCert ( newprofilewizardcertpage );
- newprofilewizardcertpage->sizeHint();
- connect ( newprofilewizardcertcontent->UseSpecialServerCertificateCheckBox , SIGNAL ( toggled ( bool ) ), this, SLOT ( useSpecialServerCertificateToggled ( bool ) ) );
- connect ( newprofilewizardcertcontent->UseSmartcardCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useSmartcardToggled ( bool ) ) );
- connect ( newprofilewizardcertcontent->UsePkcs11ProvidersCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( usePkcs11ProvidersToggled ( bool ) ) );
- connect ( newprofilewizardcertcontent->DetectPkcs11SlotsPushButton, SIGNAL ( clicked() ), this, SLOT ( detectPkcs11Slots() ) );
- connect ( newprofilewizardcertcontent->DetectPkcs11IdPushButton, SIGNAL ( clicked() ), this, SLOT ( detectPkcs11Ids() ) );
+ newprofilewizardcertpage->tqsizeHint();
+ connect ( newprofilewizardcertcontent->UseSpecialServerCertificateCheckBox , TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useSpecialServerCertificateToggled ( bool ) ) );
+ connect ( newprofilewizardcertcontent->UseSmartcardCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useSmartcardToggled ( bool ) ) );
+ connect ( newprofilewizardcertcontent->UsePkcs11ProvidersCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( usePkcs11ProvidersToggled ( bool ) ) );
+ connect ( newprofilewizardcertcontent->DetectPkcs11SlotsPushButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( detectPkcs11Slots() ) );
+ connect ( newprofilewizardcertcontent->DetectPkcs11IdPushButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( detectPkcs11Ids() ) );
newprofilewizardcertcontent->Pkcs11SlotTypeComboBox->setEnabled ( false );
newprofilewizardcertcontent->Pkcs11SlotTypeLabel->setEnabled ( false );
- newprofilewizardcertcontent->Pkcs11ProvidersURLRequester->setURL ( QString ( "/usr/local/lib/libetpkcs11.so" ) );
+ newprofilewizardcertcontent->Pkcs11ProvidersURLRequester->setURL ( TQString ( "/usr/local/lib/libetpkcs11.so" ) );
// user
- newprofilewizarduserpage = new QHBox ( 0 );
+ newprofilewizarduserpage = new TQHBox ( 0 );
// newprofilewizarduserpage->setSpacing(8);
- QLabel *setupPixmapContent75 = new QLabel ( newprofilewizarduserpage );
+ TQLabel *setupPixmapContent75 = new TQLabel ( newprofilewizarduserpage );
setupPixmapContent75->setPixmap ( *SetupPixmap );
- setupPixmapContent75->resize ( setupPixmapContent75->sizeHint() );
+ setupPixmapContent75->resize ( setupPixmapContent75->tqsizeHint() );
newprofilewizarduserpagecontent = new NewProfileWizardUser ( newprofilewizarduserpage );
- newprofilewizarduserpage->sizeHint();
+ newprofilewizarduserpage->tqsizeHint();
- connect ( newprofilewizarduserpagecontent->PasswordEdit , SIGNAL ( textChanged ( const QString& ) ), this, SLOT ( userpassToggled ( const QString& ) ) );
- connect ( newprofilewizarduserpagecontent->UsernameLineEdit , SIGNAL ( textChanged ( const QString& ) ), this, SLOT ( usernameToggled ( const QString& ) ) );
- connect ( newprofilewizarduserpagecontent->NtDomainNameCheckbox, SIGNAL ( toggled ( bool ) ), this, SLOT ( domainNameToggled ( bool ) ) );
+ connect ( newprofilewizarduserpagecontent->PasswordEdit , TQT_SIGNAL ( textChanged ( const TQString& ) ), this, TQT_SLOT ( userpassToggled ( const TQString& ) ) );
+ connect ( newprofilewizarduserpagecontent->UsernameLineEdit , TQT_SIGNAL ( textChanged ( const TQString& ) ), this, TQT_SLOT ( usernameToggled ( const TQString& ) ) );
+ connect ( newprofilewizarduserpagecontent->NtDomainNameCheckbox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( domainNameToggled ( bool ) ) );
newprofilewizarduserpagecontent ->NtDomainNameCheckbox->setEnabled ( true );
newprofilewizarduserpagecontent ->NtDomainNameCheckbox->hide();
newprofilewizarduserpagecontent ->NtDomainNameLineedit->hide();
// network
- newprofilewizardnetworkpage = new QHBox ( 0 );
+ newprofilewizardnetworkpage = new TQHBox ( 0 );
// newprofilewizardnetworkpage->setSpacing(8);
- QLabel *setupPixmapContent76 = new QLabel ( newprofilewizardnetworkpage );
+ TQLabel *setupPixmapContent76 = new TQLabel ( newprofilewizardnetworkpage );
setupPixmapContent76->setPixmap ( *SetupPixmap );
- setupPixmapContent76->resize ( setupPixmapContent76->sizeHint() );
+ setupPixmapContent76->resize ( setupPixmapContent76->tqsizeHint() );
newprofilewizardnetworkcontent = new NewProfileWizardNetwork ( newprofilewizardnetworkpage );
- newprofilewizardnetworkpage->sizeHint();
+ newprofilewizardnetworkpage->tqsizeHint();
newprofilewizardnetworkcontent->NetworkDeviceComboBox->insertItem ( "default" );
NetworkInterface iface ( GlobalConfig, GlobalConfig->appPointer );
- QStringList list = iface.getAllNetworkInterfaces();
- for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it )
- newprofilewizardnetworkcontent->NetworkDeviceComboBox->insertItem ( QString ( *it ) );
+ TQStringList list = iface.getAllNetworkInterfaces();
+ for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it )
+ newprofilewizardnetworkcontent->NetworkDeviceComboBox->insertItem ( TQString ( *it ) );
newprofilewizardnetworkcontent->MtuSpinbox->hide();
newprofilewizardnetworkcontent->MtuCheckbox->hide();
@@ -663,85 +663,85 @@ void NewProfileWizard::setupPages()
newprofilewizardnetworkcontent->TunnelDeviceTypeComboBox->insertItem("tun");
newprofilewizardnetworkcontent->TunnelDeviceTypeComboBox->insertItem("tap");
- connect ( newprofilewizardnetworkcontent->MtuCheckbox, SIGNAL ( toggled ( bool ) ), this, SLOT ( mtuToggled ( bool ) ) );
- connect ( newprofilewizardnetworkcontent->MtuCheckbox, SIGNAL ( toggled ( bool ) ), this, SLOT ( mtuToggled ( bool ) ) );
- connect ( newprofilewizardnetworkcontent->UseRemoteNetworkCheckBox, SIGNAL ( toggled ( bool ) ) , this, SLOT( useRemoteNetworkToggled (bool )));
- connect ( newprofilewizardnetworkcontent->TunnelDeviceTypeComboBox, SIGNAL(activated ( const QString & )),this, SLOT(tunnelDeviceTypeChanged(const QString& )));
+ connect ( newprofilewizardnetworkcontent->MtuCheckbox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( mtuToggled ( bool ) ) );
+ connect ( newprofilewizardnetworkcontent->MtuCheckbox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( mtuToggled ( bool ) ) );
+ connect ( newprofilewizardnetworkcontent->UseRemoteNetworkCheckBox, TQT_SIGNAL ( toggled ( bool ) ) , this, TQT_SLOT( useRemoteNetworkToggled (bool )));
+ connect ( newprofilewizardnetworkcontent->TunnelDeviceTypeComboBox, TQT_SIGNAL(activated ( const TQString & )),this, TQT_SLOT(tunnelDeviceTypeChanged(const TQString& )));
// network routes
- newprofilewizardnetworkroutepage = new QHBox ( 0 );
+ newprofilewizardnetworkroutepage = new TQHBox ( 0 );
// newprofilewizardnetworkroutepage->setSpacing(8);
- QLabel *setupPixmapContent761 = new QLabel ( newprofilewizardnetworkroutepage );
+ TQLabel *setupPixmapContent761 = new TQLabel ( newprofilewizardnetworkroutepage );
setupPixmapContent761->setPixmap ( *SetupPixmap );
- setupPixmapContent761->resize ( setupPixmapContent761->sizeHint() );
+ setupPixmapContent761->resize ( setupPixmapContent761->tqsizeHint() );
newprofilewizardnetworkroutecontent = new ProfileNetworkRouteOptions ( newprofilewizardnetworkroutepage );
- newprofilewizardnetworkroutepage->sizeHint();
+ newprofilewizardnetworkroutepage->tqsizeHint();
- connect(newprofilewizardnetworkroutecontent->DefaultRouteComboBox, SIGNAL(activated(const QString&)), this, SLOT(defaultRouteToggled(const QString&)));
+ connect(newprofilewizardnetworkroutecontent->DefaultRouteComboBox, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(defaultRouteToggled(const TQString&)));
newprofilewizardnetworkroutecontent->DefaultRouteComboBox->setCurrentItem(1);
// nat
- newprofilewizardnatpage = new QHBox ( 0 );
+ newprofilewizardnatpage = new TQHBox ( 0 );
// newprofilewizardnatpage->setSpacing(8);
- QLabel *setupPixmapContent77 = new QLabel ( newprofilewizardnatpage );
+ TQLabel *setupPixmapContent77 = new TQLabel ( newprofilewizardnatpage );
setupPixmapContent77->setPixmap ( *SetupPixmap );
- setupPixmapContent77->resize ( setupPixmapContent77->sizeHint() );
+ setupPixmapContent77->resize ( setupPixmapContent77->tqsizeHint() );
newprofilewizardnatcontent = new NewProfileWizardNat ( newprofilewizardnatpage );
- newprofilewizardnatpage->sizeHint();
+ newprofilewizardnatpage->tqsizeHint();
newprofilewizardnatcontent->UseUdpCheckbox->setChecked ( true );
newprofilewizardnatcontent->UseNatCheckbox->setChecked ( true );
- connect ( newprofilewizardnatcontent->UseNatCheckbox, SIGNAL ( toggled ( bool ) ), this, SLOT ( useNatToggled ( bool ) ) );
- connect ( newprofilewizardnatcontent->UdpPortCheckbox, SIGNAL ( toggled ( bool ) ), this, SLOT ( udpPortToggled ( bool ) ) );
+ connect ( newprofilewizardnatcontent->UseNatCheckbox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( useNatToggled ( bool ) ) );
+ connect ( newprofilewizardnatcontent->UdpPortCheckbox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( udpPortToggled ( bool ) ) );
useNatToggled(true);
// connectionstatuscheck
- newprofilewizardconnectionstatuscheckpage = new QHBox ( 0 );
+ newprofilewizardconnectionstatuscheckpage = new TQHBox ( 0 );
// newprofilewizardconnectionstatuscheckpage->setSpacing(8);
- QLabel *setupPixmapContent79 = new QLabel ( newprofilewizardconnectionstatuscheckpage );
+ TQLabel *setupPixmapContent79 = new TQLabel ( newprofilewizardconnectionstatuscheckpage );
setupPixmapContent79->setPixmap ( *SetupPixmap );
- setupPixmapContent79->resize ( setupPixmapContent79->sizeHint() );
+ setupPixmapContent79->resize ( setupPixmapContent79->tqsizeHint() );
newprofilewizardconnectionstatuscheckcontent = new NewProfileWizardConnectionStatusCheck ( newprofilewizardconnectionstatuscheckpage );
- newprofilewizardconnectionstatuscheckpage->sizeHint();
+ newprofilewizardconnectionstatuscheckpage->tqsizeHint();
insertPage ( newprofilewizardconnectionstatuscheckpage, "<b>" + i18n ( "Connection status check" ) + "</b>", -1 );
- connect ( newprofilewizardconnectionstatuscheckcontent->PingUserdefiniedAddressCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( pingIpAfterConnectToggled ( bool ) ) );
- connect ( newprofilewizardconnectionstatuscheckcontent->UseConnectionStatusCheckCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( connectionStatusCheckToggled ( bool ) ) );
+ connect ( newprofilewizardconnectionstatuscheckcontent->PingUserdefiniedAddressCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( pingIpAfterConnectToggled ( bool ) ) );
+ connect ( newprofilewizardconnectionstatuscheckcontent->UseConnectionStatusCheckCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( connectionStatusCheckToggled ( bool ) ) );
// connectoptions
- newprofilewizardconnectoptionspage = new QHBox ( 0 );
+ newprofilewizardconnectoptionspage = new TQHBox ( 0 );
// newprofilewizardconnectoptionspage->setSpacing(8);
- QLabel *setupPixmapContent80 = new QLabel ( newprofilewizardconnectoptionspage );
+ TQLabel *setupPixmapContent80 = new TQLabel ( newprofilewizardconnectoptionspage );
setupPixmapContent80->setPixmap ( *SetupPixmap );
- setupPixmapContent80->resize ( setupPixmapContent80->sizeHint() );
+ setupPixmapContent80->resize ( setupPixmapContent80->tqsizeHint() );
newprofilewizardconnectoptionscontent = new NewProfileWizardConnectOptions ( newprofilewizardconnectoptionspage );
- newprofilewizardconnectoptionspage->sizeHint();
+ newprofilewizardconnectoptionspage->tqsizeHint();
newprofilewizardconnectoptionscontent->DoAutoConnectCheckBox->hide(); //TODO later
newprofilewizardconnectoptionscontent->AutoConnectProfileComboBox->hide(); //TODO_ later
insertPage ( newprofilewizardconnectoptionspage, "<b>" + i18n ( "Connect options" ) + "</b>", -1 );
// general
- newprofilewizardgeneralpage = new QHBox ( 0 );
+ newprofilewizardgeneralpage = new TQHBox ( 0 );
// newprofilewizardgeneralpage->setSpacing(8);
- QLabel *setupPixmapContent78 = new QLabel ( newprofilewizardgeneralpage );
+ TQLabel *setupPixmapContent78 = new TQLabel ( newprofilewizardgeneralpage );
setupPixmapContent78->setPixmap ( *SetupPixmap );
- setupPixmapContent78->resize ( setupPixmapContent78->sizeHint() );
+ setupPixmapContent78->resize ( setupPixmapContent78->tqsizeHint() );
newprofilewizardgeneralpagecontent = new NewProfileWizardGeneral ( newprofilewizardgeneralpage );
- newprofilewizardgeneralpage->sizeHint();
+ newprofilewizardgeneralpage->tqsizeHint();
insertPage ( newprofilewizardgeneralpage, "<b>" + i18n ( "General settings" ) + "</b>", -1 );
// setup end page
- endpage = new QHBox ( 0 );
+ endpage = new TQHBox ( 0 );
// endpage->setSpacing(8);
- QLabel *setupPixmapContent11 = new QLabel ( endpage );
+ TQLabel *setupPixmapContent11 = new TQLabel ( endpage );
setupPixmapContent11->setPixmap ( *SetupPixmapFinal );
- setupPixmapContent11->resize ( setupPixmapContent11->sizeHint() );
- QLabel *endpagecontent = new QLabel ( endpage );
+ setupPixmapContent11->resize ( setupPixmapContent11->tqsizeHint() );
+ TQLabel *endpagecontent = new TQLabel ( endpage );
endpagecontent->setMargin ( 11 );
endpagecontent->setText ( i18n ( "Now you have completed all steps for creating a new profile.\nClick \"Finish\" to continue." ) );
- endpagecontent->setMaximumSize ( endpagecontent->sizeHint() );
- endpage->sizeHint();
+ endpagecontent->setMaximumSize ( endpagecontent->tqsizeHint() );
+ endpage->tqsizeHint();
insertPage ( endpage, "<b>" + i18n ( "Finish" ) + "</b>", -1 ); // last page
}
@@ -749,7 +749,7 @@ void NewProfileWizard::next ()
{
// called at each finish of a page
bool ok = true;
- QString msg = i18n ( "Please fill in all fields!" );
+ TQString msg = i18n ( "Please fill in all fields!" );
if ( currentpage == page1 )
{
@@ -765,7 +765,7 @@ void NewProfileWizard::next ()
}
else
{
- QString Name = newprofilewizardgeneralpagecontent->NameLineEdit->text();
+ TQString Name = newprofilewizardgeneralpagecontent->NameLineEdit->text();
bool nameOk = true;
@@ -795,11 +795,11 @@ void NewProfileWizard::next ()
{
if ( it->getName() == Name )
{
- //account->setName( QString( account->getName() + "_2" ) );
- // KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).arg( account->getName() ), i18n( "Name exist, renamed" ) );
+ //account->setName( TQString( account->getName() + "_2" ) );
+ // KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).tqarg( account->getName() ), i18n( "Name exist, renamed" ) );
KMessageBox::error ( this, i18n ( "Profile name exists!" ), i18n ( "Name Exists" ) );
- QString newName = KInputDialog::getText ( i18n ( "New Name" ), i18n ( "New name for profile:" ), QString ( Name += "_2" ), &ok );
+ TQString newName = KInputDialog::getText ( i18n ( "New Name" ), i18n ( "New name for profile:" ), TQString ( Name += "_2" ), &ok );
if ( !Name.isEmpty() )
{
@@ -1011,7 +1011,7 @@ void NewProfileWizard::next ()
newprofilewizardracoonpagecontent->AuthenticationAlgorithm2ComboBox->setCurrentText( "hmac_md5" );
- for ( QStringList::Iterator it = KernelCrypto.IpsecEspEncryptionAlgorithms.begin(); it != KernelCrypto.IpsecEspEncryptionAlgorithms.end(); ++it )
+ for ( TQStringList::Iterator it = KernelCrypto.IpsecEspEncryptionAlgorithms.begin(); it != KernelCrypto.IpsecEspEncryptionAlgorithms.end(); ++it )
{
newprofilewizardracoonpagecontent->EncryptionAlgorithm2ComboBox->insertItem ( *it );
}
@@ -1085,22 +1085,22 @@ void NewProfileWizard::next ()
newprofilewizardracoonpagecontent->AuthenticationAlgorithm2ComboBox->insertItem( "hmac_sha512" );
newprofilewizardracoonpagecontent->AuthenticationAlgorithm2ComboBox->insertItem( "non_auth" );
-// for ( QStringList::Iterator it = KernelCrypto.IpsecIkeEncryptionAlgorithms.begin(); it != KernelCrypto.IpsecIkeEncryptionAlgorithms.end(); ++it )
+// for ( TQStringList::Iterator it = KernelCrypto.IpsecIkeEncryptionAlgorithms.begin(); it != KernelCrypto.IpsecIkeEncryptionAlgorithms.end(); ++it )
// {
// newprofilewizardracoonpagecontent->EncryptionAlgorithmComboBox->insertItem ( *it );
// }
//
-// for ( QStringList::Iterator it = KernelCrypto.IpsecIkeHashAlgorithms.begin(); it != KernelCrypto.IpsecIkeHashAlgorithms.end(); ++it )
+// for ( TQStringList::Iterator it = KernelCrypto.IpsecIkeHashAlgorithms.begin(); it != KernelCrypto.IpsecIkeHashAlgorithms.end(); ++it )
// {
// newprofilewizardracoonpagecontent->HashAlgoComboBox->insertItem ( *it );
// }
- for ( QStringList::Iterator it = KernelCrypto.IpsecEspEncryptionAlgorithms.begin(); it != KernelCrypto.IpsecEspEncryptionAlgorithms.end(); ++it )
+ for ( TQStringList::Iterator it = KernelCrypto.IpsecEspEncryptionAlgorithms.begin(); it != KernelCrypto.IpsecEspEncryptionAlgorithms.end(); ++it )
{
newprofilewizardracoonpagecontent->EncryptionAlgorithm2ComboBox->insertItem ( *it );
}
-// for ( QStringList::Iterator it = KernelCrypto.IpsecEspAuthenticationAlgorithms.begin(); it != KernelCrypto.IpsecEspAuthenticationAlgorithms.end(); ++it )
+// for ( TQStringList::Iterator it = KernelCrypto.IpsecEspAuthenticationAlgorithms.begin(); it != KernelCrypto.IpsecEspAuthenticationAlgorithms.end(); ++it )
// {
// newprofilewizardracoonpagecontent->AuthenticationAlgorithm2ComboBox->insertItem ( *it );
// }
@@ -1189,7 +1189,7 @@ void NewProfileWizard::next ()
insertPage ( newprofilewizardopenvpnauthpage, "<b>" + i18n ( "OpenVPN authentication settings" ) + "</b>", indexOf ( currentpage ) + 1 );
- connect ( newprofilewizardopenvpnauthpagecontent->AuthWithUsernameAndPasswordCheckBox, SIGNAL ( toggled ( bool ) ), this, SLOT ( authenticateWithUsernameAndPasswordToggled ( bool ) ) );
+ connect ( newprofilewizardopenvpnauthpagecontent->AuthWithUsernameAndPasswordCheckBox, TQT_SIGNAL ( toggled ( bool ) ), this, TQT_SLOT ( authenticateWithUsernameAndPasswordToggled ( bool ) ) );
newprofilewizardopenvpnauthpagecontent->UserdefiniedDigestComboBox->setCurrentText ( "SHA1" );
@@ -1326,8 +1326,8 @@ void NewProfileWizard::next ()
}
- QString type = ""; // visible name
- QString bin = ""; // executable name
+ TQString type = ""; // visible name
+ TQString bin = ""; // executable name
if ( profileData->getConnectionType() == VpnAccountData::cisco )
{
type = "vpnc";
@@ -1407,8 +1407,8 @@ void NewProfileWizard::next ()
if ( type == "ipsec" )
{
- QString realversion = it->Version.section ( ' ', 1, 1 ).section ( '/', 0, 0 ).right ( it->Version.section ( ' ', 1, 1 ).section ( '/', 0, 0 ).length() - 1 );
- QString realtype = it->Version.section ( ' ', 0, 0 ).lower();
+ TQString realversion = it->Version.section ( ' ', 1, 1 ).section ( '/', 0, 0 ).right ( it->Version.section ( ' ', 1, 1 ).section ( '/', 0, 0 ).length() - 1 );
+ TQString realtype = it->Version.section ( ' ', 0, 0 ).lower();
if ( realversion.find ( "1.", 0, -1 ) > -1 )
{
@@ -1635,8 +1635,8 @@ void NewProfileWizard::next ()
// ike + esp
- QStringList IkeList;
- QStringList EspList;
+ TQStringList IkeList;
+ TQStringList EspList;
if (newprofilewizardfreeswanpagecontent->IkeAes256Sha1CheckBox->isChecked())
IkeList.append("aes256-sha1");
@@ -1664,17 +1664,17 @@ void NewProfileWizard::next ()
if (!newprofilewizardfreeswanpagecontent->OtherEspLineEdit->text().isEmpty())
EspList.append(newprofilewizardfreeswanpagecontent->OtherEspLineEdit->text());
-// for ( QStringList::Iterator ikeit = IkeList.begin(); ikeit != IkeList.end(); ++ikeit )
+// for ( TQStringList::Iterator ikeit = IkeList.begin(); ikeit != IkeList.end(); ++ikeit )
// std::cout << "ike: " << *ikeit << ":" << std::endl;
-// for ( QStringList::Iterator espit = EspList.begin(); espit != EspList.end(); ++espit )
+// for ( TQStringList::Iterator espit = EspList.begin(); espit != EspList.end(); ++espit )
// std::cout << "esp: " << *espit << ":" << std::endl;
if(newprofilewizardfreeswanpagecontent->UseCustomEspCheckBox->isChecked() && !EspList.isEmpty())
{
profileData->setUseCustomEsp(true);
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "Use custom %1: %2" ).arg ( i18n("ESP") ).arg(i18n("yes")), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "Use custom %1: %2" ).arg ( i18n("ESP") ).tqarg(i18n("yes")), KVpncConfig::debug );
profileData->setIpsecEsp(EspList.join(","));
@@ -1692,14 +1692,14 @@ void NewProfileWizard::next ()
{
profileData->setUseCustomEsp(false);
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "Use custom %1: %2" ).arg ( i18n("ESP") ).arg(i18n("no")), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "Use custom %1: %2" ).arg ( i18n("ESP") ).tqarg(i18n("no")), KVpncConfig::debug );
}
if(newprofilewizardfreeswanpagecontent->UseCustomIkeCheckBox->isChecked() && !IkeList.isEmpty())
{
profileData->setUseCustomIke(true);
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "Use custom %1: %2" ).arg ( i18n("IKE") ).arg(i18n("yes")), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "Use custom %1: %2" ).arg ( i18n("IKE") ).tqarg(i18n("yes")), KVpncConfig::debug );
profileData->setIpsecIke(IkeList.join(","));
@@ -1717,7 +1717,7 @@ void NewProfileWizard::next ()
{
profileData->setUseCustomIke(false);
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "Use custom %1: %2" ).arg ( i18n("IKE") ).arg(i18n("false")), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "Use custom %1: %2" ).arg ( i18n("IKE") ).tqarg(i18n("false")), KVpncConfig::debug );
}
if (ok)
@@ -1978,7 +1978,7 @@ void NewProfileWizard::next ()
profileData->setAuthType ( VpnAccountData::cert );
newprofilewizardcertcontent->x509certURLRequester->show();
- newprofilewizardcertcontent->x509certURLRequester->sizeHint();
+ newprofilewizardcertcontent->x509certURLRequester->tqsizeHint();
newprofilewizardcertcontent->x509certComboBox->hide();
@@ -2041,7 +2041,7 @@ void NewProfileWizard::next ()
newprofilewizardcertcontent->LabelPrivateKeyPath->hide();
newprofilewizardcertcontent->privkeypathURLRequester->hide();
newprofilewizardcertcontent->LabelCaCertificatePath->hide();
- newprofilewizardcertcontent->CertificateGroupBox->resize(newprofilewizardcertcontent->CertificateGroupBox->sizeHint());
+ newprofilewizardcertcontent->CertificateGroupBox->resize(newprofilewizardcertcontent->CertificateGroupBox->tqsizeHint());
insertPage ( newprofilewizardcertpage, "<b>" + i18n ( "Certificate settings" ) + "</b>", indexOf ( currentpage ) + 1 );
@@ -2064,7 +2064,7 @@ void NewProfileWizard::next ()
// newprofilewizardcertcontent->LabelCertificate->setText(i18n("Certificate (enter name here):"));
newprofilewizardcertcontent->x509certURLRequester->hide();
newprofilewizardcertcontent->x509certComboBox->show();
- newprofilewizardcertcontent->x509certComboBox->sizeHint();
+ newprofilewizardcertcontent->x509certComboBox->tqsizeHint();
newprofilewizardcertcontent->x509certComboBox->setCurrentItem(0);
}
@@ -2331,7 +2331,7 @@ void NewProfileWizard::next ()
if ( newprofilewizardvtunpagecontent->PortCheckbox->isChecked() )
{
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "Vtun: use userdefined port: %1" ).arg ( QString().setNum ( newprofilewizardvtunpagecontent->PortSpinbox->value() ) ), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "Vtun: use userdefined port: %1" ).arg ( TQString().setNum ( newprofilewizardvtunpagecontent->PortSpinbox->value() ) ), KVpncConfig::debug );
}
if ( newprofilewizardvtunpagecontent->VtunProfileLineEdit->text().isEmpty() )
@@ -2353,7 +2353,7 @@ void NewProfileWizard::next ()
if ( newprofilewizardsshpagecontent->UseUserdefinedRemotePortCheckBox->isChecked() )
{
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "SSH: use userdefined port: %1" ).arg ( QString().setNum ( newprofilewizardsshpagecontent->UserdefinedRemotePortSpinBox->value() ) ), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "SSH: use userdefined port: %1" ).arg ( TQString().setNum ( newprofilewizardsshpagecontent->UserdefinedRemotePortSpinBox->value() ) ), KVpncConfig::debug );
}
// password or key auth
@@ -2377,13 +2377,13 @@ void NewProfileWizard::next ()
profileData->setPskIsInFile(newprofilewizardsshpagecontent->CostumKeyRadioButton->isChecked());
profileData->setPreSharedKeyFile(newprofilewizardsshpagecontent->CostumkeyURLRequester->url());
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "SSH: use costum key: %1" ).arg(newprofilewizardsshpagecontent->CostumkeyURLRequester->url()) , KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "SSH: use costum key: %1" ).tqarg(newprofilewizardsshpagecontent->CostumkeyURLRequester->url()) , KVpncConfig::debug );
}
else
{
profileData->setPreSharedKey(newprofilewizardsshpagecontent->SshKeyComboBox->currentText());
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "SSH: use autotected key: %1" ).arg(newprofilewizardsshpagecontent->SshKeyComboBox->currentText()) , KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "SSH: use autotected key: %1" ).tqarg(newprofilewizardsshpagecontent->SshKeyComboBox->currentText()) , KVpncConfig::debug );
}
if (newprofilewizardsshpagecontent->UseSshConfigRemoteScriptCheckBox->isChecked() && !newprofilewizardsshpagecontent->SshConfigRemoteScriptLineEdit->text().isEmpty())
@@ -2392,7 +2392,7 @@ void NewProfileWizard::next ()
profileData->setSshConfigRemoteScript(newprofilewizardsshpagecontent->SshConfigRemoteScriptLineEdit->text());
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "SSH: use ssh config remote script: %1" ).arg(newprofilewizardsshpagecontent->SshConfigRemoteScriptLineEdit->text()) , KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "SSH: use ssh config remote script: %1" ).tqarg(newprofilewizardsshpagecontent->SshConfigRemoteScriptLineEdit->text()) , KVpncConfig::debug );
}
else
@@ -2402,7 +2402,7 @@ void NewProfileWizard::next ()
{
ok = false;
msg += "- " + i18n ( "Special server certificate" ) + "\n";
- GlobalConfig->appendLogEntry( i18n( "%1 cant be empty!" ).arg(i18n("ssh config remote script")), GlobalConfig->error);
+ GlobalConfig->appendLogEntry( i18n( "%1 cant be empty!" ).tqarg(i18n("ssh config remote script")), GlobalConfig->error);
}
}
@@ -2410,12 +2410,12 @@ void NewProfileWizard::next ()
{
msg = i18n ( "These fields must be filled in:\n" );
bool IPOk=true;
- QString wrongAddress="";
+ TQString wrongAddress="";
ok = true;
if ( profilenetworkvirtualipoptionscontent->UseVirtualIPCheckBox->isChecked() && !profilenetworkvirtualipoptionscontent->LocalVirtualIpEdit->text().isEmpty() )
{
- QString LocalVirtualIp = profilenetworkvirtualipoptionscontent->LocalVirtualIpEdit->text();
+ TQString LocalVirtualIp = profilenetworkvirtualipoptionscontent->LocalVirtualIpEdit->text();
if ( Utils ( GlobalConfig ).isValidIPv4Address ( LocalVirtualIp ) == false )
{
// KMessageBox::error ( this, i18n( "No valid IP address for local IP address entered!" ), i18n( "No Valid IP Address" ) );
@@ -2441,7 +2441,7 @@ void NewProfileWizard::next ()
{
if ( profilenetworkvirtualipoptionscontent->UseVirtualIPCheckBox->isChecked() && !profilenetworkvirtualipoptionscontent->RemoteVirtualIpLineEdit->text().isEmpty() )
{
- QString RemoteVirtualIp = profilenetworkvirtualipoptionscontent->RemoteVirtualIpLineEdit->text();
+ TQString RemoteVirtualIp = profilenetworkvirtualipoptionscontent->RemoteVirtualIpLineEdit->text();
if ( Utils ( GlobalConfig ).isValidIPv4Address ( RemoteVirtualIp ) == false )
{
@@ -2467,7 +2467,7 @@ void NewProfileWizard::next ()
}
if (profileData->getTunnelDeviceType() == "tap")
{
- QString RemoteVirtualIp = profilenetworkvirtualipoptionscontent->RemoteVirtualIpLineEdit->text();
+ TQString RemoteVirtualIp = profilenetworkvirtualipoptionscontent->RemoteVirtualIpLineEdit->text();
if (Utils( GlobalConfig ).isValidIPv4Netmask (RemoteVirtualIp) == false)
{
KMessageBox::error ( this, i18n( "No valid netmask entered!" ), i18n( "No valid netmask" ) );
@@ -2667,7 +2667,7 @@ void NewProfileWizard::next ()
// GlobalConfig->appendLogEntry( i18n( "ID for certificate at smartcard can't be empty!" ) ,GlobalConfig->error);
ok = false;
}
- QString Pkcs11SlotType = newprofilewizardcertcontent->Pkcs11SlotTypeComboBox->currentText();
+ TQString Pkcs11SlotType = newprofilewizardcertcontent->Pkcs11SlotTypeComboBox->currentText();
if ( Pkcs11SlotType == i18n ( "ID" ) )
profileData->setPkcs11SlotType ( "id" );
else if ( Pkcs11SlotType == i18n ( "Name" ) )
@@ -2675,7 +2675,7 @@ void NewProfileWizard::next ()
else
profileData->setPkcs11SlotType ( "label" );
- QString Pkcs11IdType = newprofilewizardcertcontent->Pkcs11IdTypeComboBox->currentText();
+ TQString Pkcs11IdType = newprofilewizardcertcontent->Pkcs11IdTypeComboBox->currentText();
if ( Pkcs11IdType == i18n ( "ID" ) )
profileData->setPkcs11IdType ( "id" );
else if ( Pkcs11IdType == i18n ( "Label" ) )
@@ -2683,7 +2683,7 @@ void NewProfileWizard::next ()
else
profileData->setPkcs11IdType ( "subject" );
- QString Pkcs11SignMode = newprofilewizardcertcontent->Pkcs11SignModeComboBox->currentText();
+ TQString Pkcs11SignMode = newprofilewizardcertcontent->Pkcs11SignModeComboBox->currentText();
if ( Pkcs11SignMode == i18n ( "auto" ) )
profileData->setPkcs11SignMode ( "auto" );
else if ( Pkcs11SignMode == i18n ( "sign" ) )
@@ -2789,17 +2789,17 @@ void NewProfileWizard::next ()
}
else
{
- QString addr = newprofilewizardnetworkcontent->RemoteNetAddrLineEdit->text();
+ TQString addr = newprofilewizardnetworkcontent->RemoteNetAddrLineEdit->text();
int part0 = addr.section ( '.', 0, 0 ).toInt();
int part1 = addr.section ( '.', 1, 1 ).toInt();
int part2 = addr.section ( '.', 2, 2 ).toInt();
int part3 = addr.section ( '.', 3, 3 ).toInt();
/*
- LogOutput->append ("part0: "+QString().setNum(part0));
- LogOutput->append ("part1: "+QString().setNum(part1));
- LogOutput->append ("part2: "+QString().setNum(part2));
- LogOutput->append ("part3: "+QString().setNum(part3));
+ LogOutput->append ("part0: "+TQString().setNum(part0));
+ LogOutput->append ("part1: "+TQString().setNum(part1));
+ LogOutput->append ("part2: "+TQString().setNum(part2));
+ LogOutput->append ("part3: "+TQString().setNum(part3));
*/
if ( ( part0 < 1 || part0 > 254 ) || ( part1 < 0 || part1 > 254 ) || ( part2 < 0 || part2 > 254 ) || ( part3 < 0 || part3 > 254 ) )
@@ -2813,7 +2813,7 @@ void NewProfileWizard::next ()
if ( validAddr == true )
{
if ( GlobalConfig->KvpncDebugLevel > 0 )
- GlobalConfig->appendLogEntry ( i18n ( "Use remote network: %1/%2" ).arg ( addr ).arg(newprofilewizardnetworkcontent->RemoteNetMaskComboBox->currentText()), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "Use remote network: %1/%2" ).arg ( addr ).tqarg(newprofilewizardnetworkcontent->RemoteNetMaskComboBox->currentText()), KVpncConfig::debug );
profileData->setUseRemoteNetwork(true);
profileData->setRemoteNetAddr ( addr );
profileData->setRemoteNetMask ( newprofilewizardnetworkcontent->RemoteNetMaskComboBox->currentText() );
@@ -2886,13 +2886,13 @@ void NewProfileWizard::next ()
if ( GlobalConfig->KvpncDebugLevel > 1 )
GlobalConfig->appendLogEntry ( i18n ( "Network route options: use additional network routes" ) , GlobalConfig->debug );
- QStringList AdditionalNetworkRoutes;
- QListViewItemIterator it ( newprofilewizardnetworkroutecontent->NetworkListView );
+ TQStringList AdditionalNetworkRoutes;
+ TQListViewItemIterator it ( newprofilewizardnetworkroutecontent->NetworkListView );
for ( ; it.current(); ++it )
{
// example entry:
// <network>/<netmask>#<gateway>
- QString network = QString ( it.current() ->text ( 0 ) + "/" + it.current() ->text ( 1 ) );
+ TQString network = TQString ( it.current() ->text ( 0 ) + "/" + it.current() ->text ( 1 ) );
network.append ( "#" );
network.append ( it.current() ->text ( 2 ) ); // gateway
network.append ( "#" );
@@ -2924,7 +2924,7 @@ void NewProfileWizard::next ()
GlobalConfig->appendLogEntry ( i18n ( "NAT settings: use UDP" ), KVpncConfig::debug );
if ( profileData->getUseUdpPort() )
- GlobalConfig->appendLogEntry ( i18n ( "NAT settings: use userdefined Port: %1" ).arg ( QString().setNum ( profileData->getUdpPort() ) ), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "NAT settings: use userdefined Port: %1" ).arg ( TQString().setNum ( profileData->getUdpPort() ) ), KVpncConfig::debug );
}
@@ -2985,8 +2985,8 @@ void NewProfileWizard::next ()
if ( GlobalConfig->KvpncDebugLevel > 0 )
{
- GlobalConfig->appendLogEntry ( i18n ( "Connection status check: use connection interval: %1" ).arg ( QString().setNum ( newprofilewizardconnectionstatuscheckcontent->ConnectionStatusCheckIntervalNumInput->value() ) ), KVpncConfig::debug );
- GlobalConfig->appendLogEntry ( i18n ( "Connection status check: success count: %1" ).arg ( QString().setNum ( newprofilewizardconnectionstatuscheckcontent->ConnectionStatusSuccessCountNumInput->value() ) ), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "Connection status check: use connection interval: %1" ).arg ( TQString().setNum ( newprofilewizardconnectionstatuscheckcontent->ConnectionStatusCheckIntervalNumInput->value() ) ), KVpncConfig::debug );
+ GlobalConfig->appendLogEntry ( i18n ( "Connection status check: success count: %1" ).arg ( TQString().setNum ( newprofilewizardconnectionstatuscheckcontent->ConnectionStatusSuccessCountNumInput->value() ) ), KVpncConfig::debug );
}
if ( newprofilewizardconnectionstatuscheckcontent->UseConnectionStatusCheckCheckBox->isChecked() )
@@ -3016,7 +3016,7 @@ void NewProfileWizard::next ()
if ( ok )
{
previouspage = currentpage;
- QWizard::next();
+ TQWizard::next();
}
else
{
@@ -3137,10 +3137,10 @@ void NewProfileWizard::back()
newprofilewizardnatcontent->UdpPortSpinbox->setValue(profileData->getUdpPort());
}
*/
- QWizard::back();
+ TQWizard::back();
}
-QString NewProfileWizard::getName()
+TQString NewProfileWizard::getName()
{
return profileData->getName();
}
@@ -3155,10 +3155,10 @@ bool NewProfileWizard::getFinished()
//
// }
-void NewProfileWizard::showPage ( QWidget* page )
+void NewProfileWizard::showPage ( TQWidget* page )
{
currentpage = page;
- QWizard::showPage ( page );
+ TQWizard::showPage ( page );
// FIXME set currentpage at back()
@@ -3173,7 +3173,7 @@ void NewProfileWizard::showPage ( QWidget* page )
}
}
-void NewProfileWizard::dataChanged ( const QString & )
+void NewProfileWizard::dataChanged ( const TQString & )
{
// if ( !firstName->text().isEmpty() &&
// !lastName->text().isEmpty() &&
@@ -3441,19 +3441,19 @@ bool NewProfileWizard::importCertificate()
dlg.exec();
importOK = dlg.importOk;
- QString filename = dlg.filename;
+ TQString filename = dlg.filename;
if ( importOK )
{
- QString certpath = dlg.certpath;
- QString CertFullPath = dlg.CertFullPath;
- QString CaCertFullPath = dlg.CaCertFullPath;
- QString importpassword = dlg.main->ImportPasswordEdit->text();
- QString privatekeypassword = dlg.main->PrivateKeyPasswordEdit->password();
- QString certificate = QString ( "mykeys_" + dlg.certName + ".pem" );
- QString privatekey = QString ( dlg.certName + ".pem" );
+ TQString certpath = dlg.certpath;
+ TQString CertFullPath = dlg.CertFullPath;
+ TQString CaCertFullPath = dlg.CaCertFullPath;
+ TQString importpassword = dlg.main->ImportPasswordEdit->text();
+ TQString privatekeypassword = dlg.main->PrivateKeyPasswordEdit->password();
+ TQString certificate = TQString ( "mykeys_" + dlg.certName + ".pem" );
+ TQString privatekey = TQString ( dlg.certName + ".pem" );
- QString certpostfix = "";
- QString privatepostfix = "";
+ TQString certpostfix = "";
+ TQString privatepostfix = "";
if ( profileData->getConnectionType() == VpnAccountData::freeswan ||
profileData->getConnectionType() == VpnAccountData::l2tpd_freeswan )
{
@@ -3505,7 +3505,7 @@ void NewProfileWizard::authenticateWithUsernameAndPasswordToggled ( bool )
newprofilewizardopenvpnauthpagecontent->UseOnlyCaCertAndUserAuthCheckBox->setEnabled ( false );
}
-void NewProfileWizard::pskInputToggled ( const QString& )
+void NewProfileWizard::pskInputToggled ( const TQString& )
{
if ( !newprofilewizardpskcontent->PSKLineEdit->text().isEmpty() )
newprofilewizardpskcontent->CheckSavePsk->setChecked ( true );
@@ -3513,7 +3513,7 @@ void NewProfileWizard::pskInputToggled ( const QString& )
newprofilewizardpskcontent->CheckSavePsk->setChecked ( false );
}
-void NewProfileWizard::userpassToggled ( const QString& )
+void NewProfileWizard::userpassToggled ( const TQString& )
{
if ( !newprofilewizarduserpagecontent->PasswordEdit->text().isEmpty() )
newprofilewizarduserpagecontent->CheckUserPass->setChecked ( true );
@@ -3521,7 +3521,7 @@ void NewProfileWizard::userpassToggled ( const QString& )
newprofilewizarduserpagecontent->CheckUserPass->setChecked ( false );
}
-void NewProfileWizard::usernameToggled ( const QString& )
+void NewProfileWizard::usernameToggled ( const TQString& )
{
// if (newprofilewizarduserpagecontent->UsernameLineEdit->text().isEmpty())
// newprofilewizarduserpagecontent->DontSaveUsernameCheckBox->setChecked(true);
@@ -3529,7 +3529,7 @@ void NewProfileWizard::usernameToggled ( const QString& )
// newprofilewizarduserpagecontent->DontSaveUsernameCheckBox->setChecked(false);
}
-void NewProfileWizard::pskToggled ( const QString& )
+void NewProfileWizard::pskToggled ( const TQString& )
{
if ( !newprofilewizardciscomanuallypagecontent->GroupPasswordLineEdit->text().isEmpty() )
newprofilewizardciscomanuallypagecontent->CheckSavePsk->setChecked ( true );
@@ -3573,11 +3573,11 @@ void NewProfileWizard::delNetworkRouteClicked()
{
if ( newprofilewizardnetworkroutecontent->NetworkListView->childCount() > 0 && newprofilewizardnetworkroutecontent->NetworkListView->currentItem() != 0 )
{
- QListViewItem * item = newprofilewizardnetworkroutecontent->NetworkListView->currentItem();
- QString Network = item->text ( 0 );
- QString Netmask = item->text ( 1 );
+ TQListViewItem * item = newprofilewizardnetworkroutecontent->NetworkListView->currentItem();
+ TQString Network = item->text ( 0 );
+ TQString Netmask = item->text ( 1 );
int result = KMessageBox::questionYesNo ( this, i18n ( "Do you really want to delete the network \"%1/%2\"?" ).arg ( Network ).arg ( Netmask ), i18n ( "Delete?" ) );
- //LogOutput->append( "Result: "+ QString().setNum(result) ) ;
+ //LogOutput->append( "Result: "+ TQString().setNum(result) ) ;
if ( result == 3 ) // Yes
{
newprofilewizardnetworkroutecontent->NetworkListView->removeItem ( item );
@@ -3602,13 +3602,13 @@ void NewProfileWizard::addNetworkRouteClicked()
if ( dlg.exec() )
{
- QString gateway = dlg.getGateway();
- QString interface = dlg.getInterface();
+ TQString gateway = dlg.getGateway();
+ TQString interface = dlg.getInterface();
if ( !dlg.getUseGateway() )
gateway = "-";
if ( !dlg.getUseInterface() )
interface = "-";
- newprofilewizardnetworkroutecontent->NetworkListView->insertItem ( new QListViewItem ( newprofilewizardnetworkroutecontent->NetworkListView, dlg.getNetwork(), dlg.getNetmask(), gateway, interface ) );
+ newprofilewizardnetworkroutecontent->NetworkListView->insertItem ( new TQListViewItem ( newprofilewizardnetworkroutecontent->NetworkListView, dlg.getNetwork(), dlg.getNetmask(), gateway, interface ) );
}
}
@@ -3650,7 +3650,7 @@ void NewProfileWizard::useSmartcardToggled ( bool )
// }
// IpsecToolInfo.collectToolInfo();
// if (IpsecToolInfo.Version.contains("Openswan") || IpsecToolInfo.Version.contains("Free"))
-// KMessageBox::information(0,i18n("%1 (IPSec) currently has no working smartcard support (pkcs11). Please use strongSwan instead with enabled smartcard support.").arg(IpsecToolInfo.Version.section(' ',0,0)),i18n("Unsupported IPSec version"));
+// KMessageBox::information(0,i18n("%1 (IPSec) currently has no working smartcard support (pkcs11). Please use strongSwan instead with enabled smartcard support.").tqarg(IpsecToolInfo.Version.section(' ',0,0)),i18n("Unsupported IPSec version"));
// }
}
@@ -3687,7 +3687,7 @@ void NewProfileWizard::useSmartcardOnCertFormateToggled ( bool )
// }
// IpsecToolInfo.collectToolInfo();
// if (IpsecToolInfo.Version.contains("Openswan") || IpsecToolInfo.Version.contains("Free"))
-// KMessageBox::information(0,i18n("%1 (IPSec) currently has no working smartcard support (pkcs11). Please use strongSwan instead with enabled smartcard support.").arg(IpsecToolInfo.Version.section(' ',0,0)),i18n("Unsupported IPSec version"));
+// KMessageBox::information(0,i18n("%1 (IPSec) currently has no working smartcard support (pkcs11). Please use strongSwan instead with enabled smartcard support.").tqarg(IpsecToolInfo.Version.section(' ',0,0)),i18n("Unsupported IPSec version"));
// }
}
else
@@ -3716,11 +3716,11 @@ void NewProfileWizard::idTypeToggled()
void NewProfileWizard::detectPkcs11Ids()
{
- GlobalConfig->appPointer->setOverrideCursor ( QCursor ( Qt::WaitCursor ) );
+ GlobalConfig->appPointer->setOverrideCursor ( TQCursor ( TQt::WaitCursor ) );
newprofilewizardcertcontent->Pkcs11IdComboBox->clear();
int Pkcs11IdType = newprofilewizardcertcontent->Pkcs11IdTypeComboBox->currentItem();
- QString Pkcs11IdTypeTmp;
+ TQString Pkcs11IdTypeTmp;
if ( Pkcs11IdType == 0 )
{
Pkcs11IdTypeTmp = "id";
@@ -3741,16 +3741,16 @@ void NewProfileWizard::detectPkcs11Ids()
GlobalConfig->appendLogEntry ( i18n ( "Pkcs11IdType: %1" ).arg ( Pkcs11IdTypeTmp ), KVpncConfig::debug );
}
- QString ProviderLib = "";
+ TQString ProviderLib = "";
if ( newprofilewizardcertcontent->UsePkcs11ProvidersCheckBox->isChecked() && !newprofilewizardcertcontent->Pkcs11ProvidersURLRequester->url().isEmpty() )
ProviderLib = newprofilewizardcertcontent->Pkcs11ProvidersURLRequester->url();
// we have to split slot id and name ("0 : foobar") => 0
- QString Pkcs11Slot = newprofilewizardcertcontent->Pkcs11SlotComboBox->currentText().section ( ':', 0, 0 ).stripWhiteSpace();
+ TQString Pkcs11Slot = newprofilewizardcertcontent->Pkcs11SlotComboBox->currentText().section ( ':', 0, 0 ).stripWhiteSpace();
- QStringList Pkcs11Ids = Utils ( GlobalConfig ).getSmartcardCertsFromSlot ( Pkcs11Slot, Pkcs11IdTypeTmp, ProviderLib );
- for ( QStringList::Iterator it = Pkcs11Ids.begin(); it != Pkcs11Ids.end(); ++it )
- newprofilewizardcertcontent->Pkcs11IdComboBox->insertItem ( QString ( *it ) );
+ TQStringList Pkcs11Ids = Utils ( GlobalConfig ).getSmartcardCertsFromSlot ( Pkcs11Slot, Pkcs11IdTypeTmp, ProviderLib );
+ for ( TQStringList::Iterator it = Pkcs11Ids.begin(); it != Pkcs11Ids.end(); ++it )
+ newprofilewizardcertcontent->Pkcs11IdComboBox->insertItem ( TQString ( *it ) );
if ( newprofilewizardcertcontent->Pkcs11SlotComboBox->currentText() == "" || newprofilewizardcertcontent->Pkcs11IdComboBox->currentText() == "" )
nextButton()->setEnabled ( false );
@@ -3762,14 +3762,14 @@ void NewProfileWizard::detectPkcs11Ids()
void NewProfileWizard::detectPkcs11Slots()
{
- GlobalConfig->appPointer->setOverrideCursor ( QCursor ( Qt::WaitCursor ) );
+ GlobalConfig->appPointer->setOverrideCursor ( TQCursor ( TQt::WaitCursor ) );
newprofilewizardcertcontent->Pkcs11SlotComboBox->clear();
- QString ProviderLib = "";
+ TQString ProviderLib = "";
if ( newprofilewizardcertcontent->UsePkcs11ProvidersCheckBox->isChecked() && !newprofilewizardcertcontent->Pkcs11ProvidersURLRequester->url().isEmpty() )
ProviderLib = newprofilewizardcertcontent->Pkcs11ProvidersURLRequester->url();
- QStringList Pkcs11Slots = Utils ( GlobalConfig ).getSmartcardSlots ( ProviderLib );
- for ( QStringList::Iterator it = Pkcs11Slots.begin(); it != Pkcs11Slots.end(); ++it )
- newprofilewizardcertcontent->Pkcs11SlotComboBox->insertItem ( QString ( *it ) );
+ TQStringList Pkcs11Slots = Utils ( GlobalConfig ).getSmartcardSlots ( ProviderLib );
+ for ( TQStringList::Iterator it = Pkcs11Slots.begin(); it != Pkcs11Slots.end(); ++it )
+ newprofilewizardcertcontent->Pkcs11SlotComboBox->insertItem ( TQString ( *it ) );
if ( !Pkcs11Slots.isEmpty() )
newprofilewizardcertcontent->Pkcs11IdTypeComboBox->setEnabled ( true );
@@ -3851,7 +3851,7 @@ void NewProfileWizard::useEspToogled(bool)
newprofilewizardfreeswanpagecontent->EspGroupBox->setEnabled(false);
}
-void NewProfileWizard::remoteIDTypeRacoonToggled(const QString& text)
+void NewProfileWizard::remoteIDTypeRacoonToggled(const TQString& text)
{
if (text == "asn1dn")
{
@@ -3865,7 +3865,7 @@ void NewProfileWizard::remoteIDTypeRacoonToggled(const QString& text)
}
}
-void NewProfileWizard::localIDTypeRacoonToggled(const QString& text)
+void NewProfileWizard::localIDTypeRacoonToggled(const TQString& text)
{
if (text == "none")
{
@@ -3879,7 +3879,7 @@ void NewProfileWizard::localIDTypeRacoonToggled(const QString& text)
}
}
-void NewProfileWizard::remoteIDTypeIpsecToggled(const QString& text)
+void NewProfileWizard::remoteIDTypeIpsecToggled(const TQString& text)
{
if (text == "asn1dn" || text == "none")
{
@@ -3894,7 +3894,7 @@ void NewProfileWizard::remoteIDTypeIpsecToggled(const QString& text)
}
-void NewProfileWizard::localIDTypeIpsecToggled(const QString& text)
+void NewProfileWizard::localIDTypeIpsecToggled(const TQString& text)
{
if (text == "asn1dn" || text == i18n("Certificate ID"))
{
@@ -3908,7 +3908,7 @@ void NewProfileWizard::localIDTypeIpsecToggled(const QString& text)
}
}
-void NewProfileWizard::defaultRouteToggled(const QString&)
+void NewProfileWizard::defaultRouteToggled(const TQString&)
{
if (newprofilewizardnetworkroutecontent->DefaultRouteComboBox->currentText() == i18n("Keep default route") || newprofilewizardnetworkroutecontent->DefaultRouteComboBox->currentItem() == 0)
@@ -3966,7 +3966,7 @@ void NewProfileWizard::useXauthRacoonToggled(bool)
}
}
-void NewProfileWizard::tunnelDeviceTypeChanged(const QString & string )
+void NewProfileWizard::tunnelDeviceTypeChanged(const TQString & string )
{
if ( profileData->getConnectionType() == VpnAccountData::openvpn || profileData->getConnectionType() == VpnAccountData::ssh)
{