summaryrefslogtreecommitdiffstats
path: root/kmail/sieveconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/sieveconfig.cpp')
-rw-r--r--kmail/sieveconfig.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kmail/sieveconfig.cpp b/kmail/sieveconfig.cpp
index 872dee01..2d320883 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;
}