diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kioslave/smtp/test_commands.cc | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kioslave/smtp/test_commands.cc')
-rw-r--r-- | kioslave/smtp/test_commands.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kioslave/smtp/test_commands.cc b/kioslave/smtp/test_commands.cc index 23d7723ee..458b386b8 100644 --- a/kioslave/smtp/test_commands.cc +++ b/kioslave/smtp/test_commands.cc @@ -31,7 +31,7 @@ public: TQByteArray nextData; int nextDataReturnCode; TQStringList caps; - KIO::MetaData metadata; + TDEIO::MetaData metadata; void clear() { startTLSReturnCode = 1; @@ -161,7 +161,7 @@ int main( int, char** ) { assert( ehlo3.processResponse( r, 0 ) == false ); assert( ehlo3.isComplete() ); assert( !ehlo3.needsResponse() ); - assert( smtp.lastErrorCode == KIO::ERR_UNKNOWN ); + assert( smtp.lastErrorCode == TDEIO::ERR_UNKNOWN ); // dynamics 4: EHLO _and_ HELO fail with "command unknown" smtp.clear(); @@ -176,7 +176,7 @@ int main( int, char** ) { assert( ehlo4.processResponse( r, 0 ) == false ); assert( ehlo4.isComplete() ); assert( !ehlo4.needsResponse() ); - assert( smtp.lastErrorCode == KIO::ERR_INTERNAL_SERVER ); + assert( smtp.lastErrorCode == TDEIO::ERR_INTERNAL_SERVER ); // // STARTTLS @@ -218,7 +218,7 @@ int main( int, char** ) { smtp.startTLSReturnCode = 1; assert( tls2.processResponse( r, &ts ) == false ); assert( !tls2.needsResponse() ); - assert( smtp.lastErrorCode == KIO::ERR_SERVICE_NOT_AVAILABLE ); + assert( smtp.lastErrorCode == TDEIO::ERR_SERVICE_NOT_AVAILABLE ); // dynamics 3: ok from server, TLS negotiation unsuccessful smtp.clear(); @@ -710,7 +710,7 @@ void checkSuccessfulTransferCommand( bool error, bool preload, bool ungetLast, assert( !xfer.needsResponse() ); assert( ts.complete() ); assert( ts.failed() ); - assert( smtp.lastErrorCode == KIO::ERR_DISK_FULL ); + assert( smtp.lastErrorCode == TDEIO::ERR_DISK_FULL ); } else { r.parseLine( "250 Message accepted" ); assert( xfer.processResponse( r, &ts ) == true ); |