summaryrefslogtreecommitdiffstats
path: root/kioslave/sftp/kio_sftp.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kioslave/sftp/kio_sftp.h
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kioslave/sftp/kio_sftp.h')
-rw-r--r--kioslave/sftp/kio_sftp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kioslave/sftp/kio_sftp.h b/kioslave/sftp/kio_sftp.h
index 951d3e46e..e9120452b 100644
--- a/kioslave/sftp/kio_sftp.h
+++ b/kioslave/sftp/kio_sftp.h
@@ -33,7 +33,7 @@
#define KIO_SFTP_DB 7120
-class sftpProtocol : public KIO::SlaveBase
+class sftpProtocol : public TDEIO::SlaveBase
{
public:
@@ -86,7 +86,7 @@ private: // Private variables
struct Status
{
int code;
- KIO::filesize_t size;
+ TDEIO::filesize_t size;
TQString text;
};
@@ -133,9 +133,9 @@ private: // private methods
/** No descriptions */
int sftpOpen(const KURL& url, const TQ_UINT32 pflags, const sftpFileAttr& attr, TQByteArray& handle);
/** No descriptions */
- int sftpRead(const TQByteArray& handle, KIO::filesize_t offset, TQ_UINT32 len, TQByteArray& data);
+ int sftpRead(const TQByteArray& handle, TDEIO::filesize_t offset, TQ_UINT32 len, TQByteArray& data);
/** No descriptions */
- int sftpWrite(const TQByteArray& handle, KIO::filesize_t offset, const TQByteArray& data);
+ int sftpWrite(const TQByteArray& handle, TDEIO::filesize_t offset, const TQByteArray& data);
/** Performs faster upload when the source is a local file... */
void sftpCopyPut(const KURL& src, const KURL& dest, int mode, bool overwrite);
@@ -143,7 +143,7 @@ private: // private methods
void sftpCopyGet(const KURL& dest, const KURL& src, int mode, bool overwrite);
/** */
- Status sftpGet( const KURL& src, KIO::filesize_t offset = 0, int fd = -1);
+ Status sftpGet( const KURL& src, TDEIO::filesize_t offset = 0, int fd = -1);
void sftpPut( const KURL& dest, int permissions, bool resume, bool overwrite, int fd = -1);
};
#endif