diff options
Diffstat (limited to 'kbugbuster/backend/mailsender.h')
-rw-r--r-- | kbugbuster/backend/mailsender.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kbugbuster/backend/mailsender.h b/kbugbuster/backend/mailsender.h index 06517f9c..5df42c2a 100644 --- a/kbugbuster/backend/mailsender.h +++ b/kbugbuster/backend/mailsender.h @@ -1,8 +1,8 @@ #ifndef MAILSENDER_H #define MAILSENDER_H -#include <qstring.h> -#include <qobject.h> +#include <tqstring.h> +#include <tqobject.h> class KURL; class Smtp; @@ -13,7 +13,7 @@ class MailSender : public QObject public: enum MailClient { Sendmail = 0, KMail = 1, Direct = 2 }; - MailSender(MailClient,const QString &smtpServer=QString::null); + MailSender(MailClient,const TQString &smtpServer=TQString::null); virtual ~MailSender(); MailSender *clone() const; @@ -25,26 +25,26 @@ class MailSender : public QObject instead of 'to' . (this currently only works in for direct mail sending through SMTP. */ - bool send(const QString &fromName, const QString &fromEmail, - const QString &to,const QString &subject, - const QString &body,bool bcc=false, - const QString &recipient = QString::null); + bool send(const TQString &fromName, const TQString &fromEmail, + const TQString &to,const TQString &subject, + const TQString &body,bool bcc=false, + const TQString &recipient = TQString::null); signals: - void status( const QString &message ); + void status( const TQString &message ); void finished(); private slots: void smtpSuccess(); - void smtpError(const QString &command, const QString &response); + void smtpError(const TQString &command, const TQString &response); private: - int kMailOpenComposer(const QString& arg0,const QString& arg1, - const QString& arg2,const QString& arg3, - const QString& arg4,int arg5,const KURL& arg6); + int kMailOpenComposer(const TQString& arg0,const TQString& arg1, + const TQString& arg2,const TQString& arg3, + const TQString& arg4,int arg5,const KURL& arg6); MailClient m_client; - QString m_smtpServer; + TQString m_smtpServer; }; #endif |