diff options
Diffstat (limited to 'kmail/sieveconfig.h')
-rw-r--r-- | kmail/sieveconfig.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmail/sieveconfig.h b/kmail/sieveconfig.h index 55c63cc5..39bbe4ae 100644 --- a/kmail/sieveconfig.h +++ b/kmail/sieveconfig.h @@ -15,7 +15,7 @@ #ifndef __KMAIL_SIEVECONFIG_H__ #define __KMAIL_SIEVECONFIG_H__ -#include <qwidget.h> +#include <tqwidget.h> #include <kurl.h> @@ -30,7 +30,7 @@ namespace KMail { public: SieveConfig( bool managesieveSupported=false, bool reuseConfig=true, unsigned int port=2000, const KURL & alternateURL=KURL(), - const QString& vacationFileName = QString::null ) + const TQString& vacationFileName = TQString::null ) : mManagesieveSupported( managesieveSupported ), mReuseConfig( reuseConfig ), mPort( port ), @@ -72,7 +72,7 @@ namespace KMail { mAlternateURL = url; } - QString vacationFileName() const { return mVacationFileName; } + TQString vacationFileName() const { return mVacationFileName; } void readConfig( const KConfigBase & config ); void writeConfig( KConfigBase & config ) const; @@ -82,13 +82,13 @@ namespace KMail { bool mReuseConfig; unsigned short mPort; KURL mAlternateURL; - QString mVacationFileName; + TQString mVacationFileName; }; - class SieveConfigEditor : public QWidget { + class SieveConfigEditor : public TQWidget { Q_OBJECT public: - SieveConfigEditor( QWidget * parent=0, const char * name=0 ); + SieveConfigEditor( TQWidget * parent=0, const char * name=0 ); bool managesieveSupported() const; virtual void setManagesieveSupported( bool enable ); @@ -102,8 +102,8 @@ namespace KMail { KURL alternateURL() const; virtual void setAlternateURL( const KURL & url ); - QString vacationFileName() const; - virtual void setVacationFileName( const QString & url ); + TQString vacationFileName() const; + virtual void setVacationFileName( const TQString & url ); SieveConfig config() const { return SieveConfig( managesieveSupported(), reuseConfig(), @@ -116,11 +116,11 @@ namespace KMail { void slotEnableWidgets(); protected: - QCheckBox * mManagesieveCheck; - QCheckBox * mSameConfigCheck; + TQCheckBox * mManagesieveCheck; + TQCheckBox * mSameConfigCheck; KIntSpinBox * mPortSpin; - QLineEdit * mAlternateURLEdit; - QString mVacationFileName; + TQLineEdit * mAlternateURLEdit; + TQString mVacationFileName; }; } // namespace KMail |