diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/sieveconfig.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/sieveconfig.cpp')
-rw-r--r-- | kmail/sieveconfig.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kmail/sieveconfig.cpp b/kmail/sieveconfig.cpp index 872dee01d..2d320883a 100644 --- a/kmail/sieveconfig.cpp +++ b/kmail/sieveconfig.cpp @@ -23,9 +23,9 @@ #include <kdialog.h> #include <kconfigbase.h> -#include <qlayout.h> -#include <qcheckbox.h> -#include <qlabel.h> +#include <tqlayout.h> +#include <tqcheckbox.h> +#include <tqlabel.h> #include <klineedit.h> @@ -53,39 +53,39 @@ namespace KMail { config.writeEntry( "sieve-vacation-filename", mVacationFileName ); } - SieveConfigEditor::SieveConfigEditor( QWidget * parent, const char * name ) - : QWidget( parent, name ) + SieveConfigEditor::SieveConfigEditor( TQWidget * parent, const char * name ) + : TQWidget( parent, name ) { // tmp. vars: int row = -1; - QLabel * label; + TQLabel * label; - QGridLayout * glay = new QGridLayout( this, 5, 2, 0, KDialog::spacingHint() ); + TQGridLayout * glay = new TQGridLayout( this, 5, 2, 0, KDialog::spacingHint() ); glay->setRowStretch( 4, 1 ); glay->setColStretch( 1, 1 ); // "Server supports sieve" checkbox: ++row; - mManagesieveCheck = new QCheckBox( i18n("&Server supports Sieve"), this ); + mManagesieveCheck = new TQCheckBox( i18n("&Server supports Sieve"), this ); glay->addMultiCellWidget( mManagesieveCheck, row, row, 0, 1 ); - connect( mManagesieveCheck, SIGNAL(toggled(bool)), SLOT(slotEnableWidgets()) ); + connect( mManagesieveCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnableWidgets()) ); // "reuse host and login config" checkbox: ++row; - mSameConfigCheck = new QCheckBox( i18n("&Reuse host and login configuration"), this ); + mSameConfigCheck = new TQCheckBox( i18n("&Reuse host and login configuration"), this ); mSameConfigCheck->setChecked( true ); mSameConfigCheck->setEnabled( false ); glay->addMultiCellWidget( mSameConfigCheck, row, row, 0, 1 ); - connect( mSameConfigCheck, SIGNAL(toggled(bool)), SLOT(slotEnableWidgets()) ); + connect( mSameConfigCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnableWidgets()) ); // "Managesieve port" spinbox and label: ++row; mPortSpin = new KIntSpinBox( 1, USHRT_MAX, 1, 2000, 10, this ); mPortSpin->setEnabled( false ); - label = new QLabel( mPortSpin, i18n("Managesieve &port:"), this ); + label = new TQLabel( mPortSpin, i18n("Managesieve &port:"), this ); glay->addWidget( label, row, 0 ); glay->addWidget( mPortSpin, row, 1 ); @@ -93,7 +93,7 @@ namespace KMail { ++row; mAlternateURLEdit = new KLineEdit( this ); mAlternateURLEdit->setEnabled( false ); - glay->addWidget( new QLabel( mAlternateURLEdit, i18n("&Alternate URL:"), this ), row, 0 ); + glay->addWidget( new TQLabel( mAlternateURLEdit, i18n("&Alternate URL:"), this ), row, 0 ); glay->addWidget( mAlternateURLEdit, row, 1 ); // row 4 is spacer @@ -139,7 +139,7 @@ namespace KMail { return KURL(); if ( url.hasPass() ) - url.setPass( QString::null ); + url.setPass( TQString::null ); return url; } @@ -149,11 +149,11 @@ namespace KMail { } - QString SieveConfigEditor::vacationFileName() const { + TQString SieveConfigEditor::vacationFileName() const { return mVacationFileName; } - void SieveConfigEditor::setVacationFileName( const QString& name ) { + void SieveConfigEditor::setVacationFileName( const TQString& name ) { mVacationFileName = name; } |