diff options
author | Timothy Pearson <[email protected]> | 2011-12-06 14:15:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-06 14:15:01 -0600 |
commit | 1b89319fd93b88313cab40f1e9de24c067b04efb (patch) | |
tree | 80132996de993c3dcab4040864d7729842875b2d /src/advancedsettingsdialog.cpp | |
parent | d08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (diff) | |
download | kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.tar.gz kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.zip |
Initial TQt conversion
Diffstat (limited to 'src/advancedsettingsdialog.cpp')
-rw-r--r-- | src/advancedsettingsdialog.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/advancedsettingsdialog.cpp b/src/advancedsettingsdialog.cpp index 866fc0f..08a4fe9 100644 --- a/src/advancedsettingsdialog.cpp +++ b/src/advancedsettingsdialog.cpp @@ -19,32 +19,32 @@ ***************************************************************************/ //BEGIN includes -#include <qcheckbox.h> +#include <tqcheckbox.h> #include <klineedit.h> #include <kcombobox.h> -#include <qspinbox.h> -#include <qpushbutton.h> -#include <qgroupbox.h> +#include <tqspinbox.h> +#include <tqpushbutton.h> +#include <tqgroupbox.h> #include <klocale.h> #include "advancedsettingsdialog.h" #include "toolinfo.h" #include <iostream> //END includes -AdvancedSettingsDialog::AdvancedSettingsDialog(QWidget *parent, const QString& caption, VpnAccountData *currentProfile, VpnAccountData::ConnectionType connectionType, KVpncConfig *GlobalConfig) : KDialogBase( parent, "Advanced_settings", true, caption, KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true ) +AdvancedSettingsDialog::AdvancedSettingsDialog(TQWidget *parent, const TQString& caption, VpnAccountData *currentProfile, VpnAccountData::ConnectionType connectionType, KVpncConfig *GlobalConfig) : KDialogBase( parent, "Advanced_settings", true, caption, KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true ) { main = new AdvancedProfileDialogBase(this); setMainWidget(main); - main->setMinimumSize(main->sizeHint()); + main->setMinimumSize(main->tqsizeHint()); this->currentProfile = currentProfile; this->connectionType = connectionType; - connect (main->AdvancedSettingsCheckbox, SIGNAL(toggled(bool)),this, SLOT(advancedSettingsToggled(bool))); - connect (main->ApplicationVersionCheckbox, SIGNAL(toggled(bool)),this, SLOT(applicationVersionToggled(bool))); - connect (main->PerfectForwardSecurityCheckbox, SIGNAL(toggled(bool)),this, SLOT(perfectForwardSecurityToggled(bool))); - connect (main->IkeGroupCheckbox, SIGNAL(toggled(bool)),this, SLOT(IkeGroupToggled(bool))); - connect (main->SingleDesCheckbox, SIGNAL(toggled(bool)),this, SLOT(singleDesToggled(bool))); + connect (main->AdvancedSettingsCheckbox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(advancedSettingsToggled(bool))); + connect (main->ApplicationVersionCheckbox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(applicationVersionToggled(bool))); + connect (main->PerfectForwardSecurityCheckbox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(perfectForwardSecurityToggled(bool))); + connect (main->IkeGroupCheckbox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(IkeGroupToggled(bool))); + connect (main->SingleDesCheckbox, TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(singleDesToggled(bool))); main->IkeGroupCheckbox->setEnabled( false ); main->PerfectForwardSecrecyCombobox->setEnabled( false ); @@ -55,7 +55,7 @@ AdvancedSettingsDialog::AdvancedSettingsDialog(QWidget *parent, const QString& c main->ApplicationVersionCheckbox->setEnabled( false ); main->IkeGroupCombobox->setEnabled( false ); - QString vpnc_version=""; + TQString vpnc_version=""; ToolInfo *tool; for ( tool = GlobalConfig->ToolList->first(); tool; tool = GlobalConfig->ToolList->next() ) { @@ -213,7 +213,7 @@ void AdvancedSettingsDialog::accept() currentProfile->setUsePerfectForwardSecrety( this->main->PerfectForwardSecurityCheckbox->isChecked() ); currentProfile->setUseSingleDes( this->main->SingleDesCheckbox->isChecked() ); - QDialog::accept(); + TQDialog::accept(); } #include "advancedsettingsdialog.moc" |