summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/smtp.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbugbuster/backend/smtp.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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