diff options
Diffstat (limited to 'kioslave/nntp')
-rw-r--r-- | kioslave/nntp/nntp.cpp | 6 | ||||
-rw-r--r-- | kioslave/nntp/nntp.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kioslave/nntp/nntp.cpp b/kioslave/nntp/nntp.cpp index 1169415b8..b92ff6a30 100644 --- a/kioslave/nntp/nntp.cpp +++ b/kioslave/nntp/nntp.cpp @@ -33,7 +33,7 @@ #define WRN kdWarning(DBG_AREA) #define FAT kdFatal(DBG_AREA) -using namespace KIO; +using namespace TDEIO; extern "C" { int KDE_EXPORT kdemain(int argc, char **argv); } @@ -768,7 +768,7 @@ int NNTPProtocol::sendCommand( const TQString &cmd ) DBG << "auth needed, sending user info" << endl; if ( mUser.isEmpty() || mPass.isEmpty() ) { - KIO::AuthInfo authInfo; + TDEIO::AuthInfo authInfo; authInfo.username = mUser; authInfo.password = mPass; if ( openPassDlg( authInfo ) ) { @@ -842,7 +842,7 @@ int NNTPProtocol::evalResponse ( char *data, ssize_t &len ) } /* not really necessary, because the slave has to - use the KIO::Error's instead, but let this here for + use the TDEIO::Error's instead, but let this here for documentation of the NNTP response codes and may by later use. TQString& NNTPProtocol::errorStr(int resp_code) { diff --git a/kioslave/nntp/nntp.h b/kioslave/nntp/nntp.h index 30368eee1..1d369b775 100644 --- a/kioslave/nntp/nntp.h +++ b/kioslave/nntp/nntp.h @@ -23,7 +23,7 @@ - remove unnecessary debug stuff */ -class NNTPProtocol:public KIO::TCPSlaveBase +class NNTPProtocol:public TDEIO::TCPSlaveBase { public: @@ -115,7 +115,7 @@ class NNTPProtocol:public KIO::TCPSlaveBase */ bool fetchGroupXOVER( unsigned long first, bool ¬Supported ); /// creates an UDSEntry with file information used in stat and listDir - void fillUDSEntry ( KIO::UDSEntry & entry, const TQString & name, long size, + void fillUDSEntry ( TDEIO::UDSEntry & entry, const TQString & name, long size, bool postingAllowed, bool is_article ); /// error handling for unexpected responses void unexpected_response ( int res_code, const TQString & command ); |