diff options
Diffstat (limited to 'kmail/kmtransport.h')
-rw-r--r-- | kmail/kmtransport.h | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/kmail/kmtransport.h b/kmail/kmtransport.h index 3f4c57a37..a71541fe1 100644 --- a/kmail/kmtransport.h +++ b/kmail/kmtransport.h @@ -36,13 +36,13 @@ public: virtual ~KMTransportInfo(); void readConfig(int id); void writeConfig(int id); - static int findTransport(const QString &name); - static QStringList availableTransports(); + static int findTransport(const TQString &name); + static TQStringList availableTransports(); uint id() const { return mId; } /** Get/set password for this account */ - QString passwd() const; - void setPasswd( const QString& passwd ); + TQString passwd() const; + void setPasswd( const TQString& passwd ); /** Get/set password storage flag */ bool storePasswd() const { return mStorePasswd; } @@ -51,12 +51,12 @@ public: /** Read password from wallet */ void readPassword() const; - QString type, name, host, port, user, precommand, encryption, authType; - QString localHostname; + TQString type, name, host, port, user, precommand, encryption, authType; + TQString localHostname; bool auth, specifyHostname; private: - mutable QString mPasswd; + mutable TQString mPasswd; bool mPasswdDirty, mStorePasswd, mStorePasswdInConfig; uint mId; }; @@ -66,7 +66,7 @@ class KMTransportSelDlg : public KDialogBase Q_OBJECT public: - KMTransportSelDlg( QWidget *parent=0, const char *name=0, bool modal=TRUE ); + KMTransportSelDlg( TQWidget *parent=0, const char *name=0, bool modal=TRUE ); int selected() const; private slots: @@ -81,8 +81,8 @@ class KMTransportDialog : public KDialogBase Q_OBJECT public: - KMTransportDialog( const QString & caption, KMTransportInfo *transportInfo, - QWidget *parent=0, const char *name=0, bool modal=TRUE ); + KMTransportDialog( const TQString & caption, KMTransportInfo *transportInfo, + TQWidget *parent=0, const char *name=0, bool modal=TRUE ); virtual ~KMTransportDialog(); private slots: @@ -91,57 +91,57 @@ private slots: void slotRequiresAuthClicked(); void slotSmtpEncryptionChanged(int); void slotCheckSmtpCapabilities(); - void slotSmtpCapabilities( const QStringList &, const QStringList &, - const QString &, const QString &, - const QString & ); - void slotSendmailEditPath(const QString &); + void slotSmtpCapabilities( const TQStringList &, const TQStringList &, + const TQString &, const TQString &, + const TQString & ); + void slotSendmailEditPath(const TQString &); private: struct SendmailWidgets { - QLabel *titleLabel; - QLineEdit *nameEdit; - QLineEdit *locationEdit; - QPushButton *chooseButton; + TQLabel *titleLabel; + TQLineEdit *nameEdit; + TQLineEdit *locationEdit; + TQPushButton *chooseButton; }; struct SmtpWidgets { - QLabel *titleLabel; - QLineEdit *nameEdit; - QLineEdit *hostEdit; - QLineEdit *portEdit; - QCheckBox *authCheck; - QLabel *loginLabel; - QLineEdit *loginEdit; - QLabel *passwordLabel; - QLineEdit *passwordEdit; - QLineEdit *precommand; - QButtonGroup *encryptionGroup; - QRadioButton *encryptionNone; - QRadioButton *encryptionSSL; - QRadioButton *encryptionTLS; - QButtonGroup *authGroup; - QRadioButton *authPlain; - QRadioButton *authLogin; - QRadioButton *authCramMd5; - QRadioButton *authDigestMd5; - QRadioButton *authNTLM; - QRadioButton *authGSSAPI; - QPushButton *checkCapabilities; - QCheckBox *storePasswordCheck; - QCheckBox *specifyHostnameCheck; - QLineEdit *localHostnameEdit; - QLabel *localHostnameLabel; + TQLabel *titleLabel; + TQLineEdit *nameEdit; + TQLineEdit *hostEdit; + TQLineEdit *portEdit; + TQCheckBox *authCheck; + TQLabel *loginLabel; + TQLineEdit *loginEdit; + TQLabel *passwordLabel; + TQLineEdit *passwordEdit; + TQLineEdit *precommand; + TQButtonGroup *encryptionGroup; + TQRadioButton *encryptionNone; + TQRadioButton *encryptionSSL; + TQRadioButton *encryptionTLS; + TQButtonGroup *authGroup; + TQRadioButton *authPlain; + TQRadioButton *authLogin; + TQRadioButton *authCramMd5; + TQRadioButton *authDigestMd5; + TQRadioButton *authNTLM; + TQRadioButton *authGSSAPI; + TQPushButton *checkCapabilities; + TQCheckBox *storePasswordCheck; + TQCheckBox *specifyHostnameCheck; + TQLineEdit *localHostnameEdit; + TQLabel *localHostnameLabel; }; void makeSendmailPage(); void makeSmtpPage(); void setupSettings(); void saveSettings(); - void checkHighest( QButtonGroup * ); + void checkHighest( TQButtonGroup * ); void enableAuthMethods( unsigned int which ); bool sanityCheckSmtpInput(); - static unsigned int authMethodsFromString( const QString & s ); - static unsigned int authMethodsFromStringList( const QStringList & sl ); + static unsigned int authMethodsFromString( const TQString & s ); + static unsigned int authMethodsFromStringList( const TQStringList & sl ); KMServerTest *mServerTest; SmtpWidgets mSmtp; |