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/fish/fish.cpp | |
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/fish/fish.cpp')
-rw-r--r-- | kioslave/fish/fish.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kioslave/fish/fish.cpp b/kioslave/fish/fish.cpp index ac8556291..3a527e39e 100644 --- a/kioslave/fish/fish.cpp +++ b/kioslave/fish/fish.cpp @@ -114,7 +114,7 @@ static int isNXFish = 0; #define E(x) ((const char*)remoteEncoding()->encode(x).data()) -using namespace KIO; +using namespace TDEIO; extern "C" { static void ripper(int) @@ -310,7 +310,7 @@ void fishProtocol::openConnection() { if (connectionHost.isEmpty() && !isNXFish) { - error( KIO::ERR_UNKNOWN_HOST, TQString::null ); + error( TDEIO::ERR_UNKNOWN_HOST, TQString::null ); return; } @@ -532,7 +532,7 @@ bool fishProtocol::connectionStart() { /** writes one chunk of data to stdin of child process */ -void fishProtocol::writeChild(const char *buf, KIO::fileoffset_t len) { +void fishProtocol::writeChild(const char *buf, TDEIO::fileoffset_t len) { if (outBufPos >= 0 && outBuf) { #if 0 TQString debug; @@ -549,7 +549,7 @@ void fishProtocol::writeChild(const char *buf, KIO::fileoffset_t len) { /** manages initial communication setup including password queries */ -int fishProtocol::establishConnection(char *buffer, KIO::fileoffset_t len) { +int fishProtocol::establishConnection(char *buffer, TDEIO::fileoffset_t len) { TQString buf; buf.setLatin1(buffer,len); int pos; @@ -812,7 +812,7 @@ void fishProtocol::manageConnection(const TQString &l) { int rc = handleResponse(line); UDSAtom atom; TQDateTime dt; - KIO::filesize_t fsize; + TDEIO::filesize_t fsize; int pos, pos2, pos3; bool isOk = false; if (!rc) { @@ -1158,7 +1158,7 @@ void fishProtocol::manageConnection(const TQString &l) { } else if (fishCommand == FISH_STAT) { UDSAtom atom; - atom.m_uds = KIO::UDS_NAME; + atom.m_uds = TDEIO::UDS_NAME; atom.m_str = url.fileName(); udsStatEntry.append( atom ); statEntry(udsStatEntry); @@ -1225,7 +1225,7 @@ void fishProtocol::sent() } } -int fishProtocol::received(const char *buffer, KIO::fileoffset_t buflen) +int fishProtocol::received(const char *buffer, TDEIO::fileoffset_t buflen) { int pos = 0; do { |