diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kio/misc/ksendbugmail/smtp.h | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/misc/ksendbugmail/smtp.h')
-rw-r--r-- | kio/misc/ksendbugmail/smtp.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kio/misc/ksendbugmail/smtp.h b/kio/misc/ksendbugmail/smtp.h index 707d20ae4..b8e782cb9 100644 --- a/kio/misc/ksendbugmail/smtp.h +++ b/kio/misc/ksendbugmail/smtp.h @@ -7,7 +7,7 @@ #include <tqtimer.h> #include <ksock.h> -/*int SMTPServerStatus[] = { +/*int SMTPServertqStatus[] = { 220, // greeting from server 221, // server acknolages goodbye 250, // command successful @@ -17,7 +17,7 @@ 0 // null }; -int SMTPClientStatus[] = { +int SMTPClienttqStatus[] = { 50, // not logged in yet. 100, // logged in, got 220 150, // sent helo, got 250 @@ -37,7 +37,7 @@ int SMTPClientStatus[] = { #define SMTP_READ_BUFFER_SIZE 256 -class SMTP:public QObject +class SMTP:public TQObject { Q_OBJECT public: @@ -66,7 +66,7 @@ public: READYDATA = 354, // server ready to receive data ERROR = 501, // error UNKNOWN = 550 // user unknown - }SMTPServerStatus; + }SMTPServertqStatus; typedef enum { INIT = 50, // not logged in yet @@ -79,7 +79,7 @@ public: QUIT = 400, // sent QUIT, got 221 OUT = 450, // finished, logged out CERROR = 500 // didn't finish, had error or connection drop - }SMTPClientStatus; + }SMTPClienttqStatus; typedef enum { NOERROR = 0, @@ -125,9 +125,9 @@ private: TQString messageSubject; TQString messageBody, messageHeader; - SMTPClientStatus state; - SMTPClientStatus lastState; - SMTPServerStatus serverState; + SMTPClienttqStatus state; + SMTPClienttqStatus lastState; + SMTPServertqStatus serverState; TQString domainName; |