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/nntp | |
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/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 ); |