diff options
Diffstat (limited to 'kbugbuster/backend/smtp.cpp')
-rw-r--r-- | kbugbuster/backend/smtp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbugbuster/backend/smtp.cpp b/kbugbuster/backend/smtp.cpp index b297af20..2496e57b 100644 --- a/kbugbuster/backend/smtp.cpp +++ b/kbugbuster/backend/smtp.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** This file is a modified version of part of an example program for Qt. +** This file is a modified version of part of an example program for TQt. ** This file may be used, distributed and modified without limitation. ** ** Don Sanders <sanders@kde.org> @@ -37,7 +37,7 @@ Smtp::Smtp( const TQString &from, const TQStringList &to, state = smtpInit; command = ""; - emit status( i18n( "Connecting to %1" ).arg( server ) ); + emit status( i18n( "Connecting to %1" ).tqarg( server ) ); mSocket->connectToHost( server, port ); t = new TQTextStream( mSocket ); @@ -79,7 +79,7 @@ void Smtp::quit() void Smtp::connected() { - emit status( i18n( "Connected to %1" ).arg( mSocket->peerName() ) ); + emit status( i18n( "Connected to %1" ).tqarg( mSocket->peerName() ) ); } void Smtp::socketError(int errorCode) @@ -149,8 +149,8 @@ void Smtp::readyRead() } else if ( state == smtpSuccess && responseLine[0] == '2' ) { TQTimer::singleShot( 0, this, TQT_SIGNAL(success()) ); } else if ( state == smtpQuit && responseLine[0] == '2' ) { - command = "QUIT"; - *t << "QUIT\r\n"; + command = "TQUIT"; + *t << "TQUIT\r\n"; // here, we just close. state = smtpClose; emit status( i18n( "Message sent" ) ); |