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.h | |
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.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 55c63cc55..39bbe4ae7 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 |