diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:35:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:35:07 -0600 |
commit | 703fb0c89c2eee56a1e613e67a446db9d4287929 (patch) | |
tree | dd8c5ca66075cd89c2638a2b48cf78386a9870a7 /kdoctools | |
parent | 818e7abec3d5d3809b6b77293558678371c16b71 (diff) | |
download | tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.tar.gz tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kdoctools')
-rw-r--r-- | kdoctools/kio_help.cpp | 16 | ||||
-rw-r--r-- | kdoctools/kio_help.h | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/kdoctools/kio_help.cpp b/kdoctools/kio_help.cpp index dda8fa324..19712f826 100644 --- a/kdoctools/kio_help.cpp +++ b/kdoctools/kio_help.cpp @@ -35,7 +35,7 @@ #include <libxslt/transform.h> #include "xslt.h" -using namespace KIO; +using namespace TDEIO; TQString HelpProtocol::langLookup(const TQString& fname) { @@ -169,7 +169,7 @@ void HelpProtocol::get( const KURL& url ) if (doc.isEmpty()) { - error( KIO::ERR_DOES_NOT_EXIST, url.url() ); + error( TDEIO::ERR_DOES_NOT_EXIST, url.url() ); return; } @@ -345,24 +345,24 @@ void HelpProtocol::get_file( const KURL& url ) struct stat buff; if ( ::stat( _path.data(), &buff ) == -1 ) { if ( errno == EACCES ) - error( KIO::ERR_ACCESS_DENIED, url.path() ); + error( TDEIO::ERR_ACCESS_DENIED, url.path() ); else - error( KIO::ERR_DOES_NOT_EXIST, url.path() ); + error( TDEIO::ERR_DOES_NOT_EXIST, url.path() ); return; } if ( S_ISDIR( buff.st_mode ) ) { - error( KIO::ERR_IS_DIRECTORY, url.path() ); + error( TDEIO::ERR_IS_DIRECTORY, url.path() ); return; } if ( S_ISFIFO( buff.st_mode ) || S_ISSOCK ( buff.st_mode ) ) { - error( KIO::ERR_CANNOT_OPEN_FOR_READING, url.path() ); + error( TDEIO::ERR_CANNOT_OPEN_FOR_READING, url.path() ); return; } int fd = open( _path.data(), O_RDONLY); if ( fd < 0 ) { - error( KIO::ERR_CANNOT_OPEN_FOR_READING, url.path() ); + error( TDEIO::ERR_CANNOT_OPEN_FOR_READING, url.path() ); return; } @@ -379,7 +379,7 @@ void HelpProtocol::get_file( const KURL& url ) { if (errno == EINTR) continue; - error( KIO::ERR_COULD_NOT_READ, url.path()); + error( TDEIO::ERR_COULD_NOT_READ, url.path()); close(fd); return; } diff --git a/kdoctools/kio_help.h b/kdoctools/kio_help.h index 13c198af1..957a0e2e5 100644 --- a/kdoctools/kio_help.h +++ b/kdoctools/kio_help.h @@ -18,7 +18,7 @@ #include <kio/global.h> #include <kio/slavebase.h> -class HelpProtocol : public KIO::SlaveBase +class HelpProtocol : public TDEIO::SlaveBase { public: |