summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/smtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/smtp.h')
-rw-r--r--kbugbuster/backend/smtp.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kbugbuster/backend/smtp.h b/kbugbuster/backend/smtp.h
index d800cb77..b97e3b89 100644
--- a/kbugbuster/backend/smtp.h
+++ b/kbugbuster/backend/smtp.h
@@ -10,9 +10,9 @@
#ifndef SMTP_H
#define SMTP_H
-#include <qobject.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
class QSocket;
class QTextStream;
@@ -22,17 +22,17 @@ class Smtp : public QObject
Q_OBJECT
public:
- Smtp( const QString &from, const QStringList &to, const QString &message,
- const QString &server, unsigned short int port = 25 );
+ Smtp( const TQString &from, const TQStringList &to, const TQString &message,
+ const TQString &server, unsigned short int port = 25 );
~Smtp();
- void send( const QString &, const QStringList &, const QString & );
+ void send( const TQString &, const TQStringList &, const TQString & );
void quit();
signals:
void success();
- void status( const QString & );
- void error( const QString &command, const QString &response );
+ void status( const TQString & );
+ void error( const TQString &command, const TQString &response );
private slots:
void readyRead();
@@ -53,15 +53,15 @@ private:
smtpClose
};
- QString message;
- QString from;
- QStringList rcpt;
- QSocket *mSocket;
- QTextStream * t;
+ TQString message;
+ TQString from;
+ TQStringList rcpt;
+ TQSocket *mSocket;
+ TQTextStream * t;
int state;
- QString response, responseLine;
+ TQString response, responseLine;
bool skipReadResponse;
- QString command;
+ TQString command;
};
#endif