From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: TQt4 port ktorrent This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libktorrent/util/mmapfile.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libktorrent/util/mmapfile.h') diff --git a/libktorrent/util/mmapfile.h b/libktorrent/util/mmapfile.h index ca0d782..4d68fd2 100644 --- a/libktorrent/util/mmapfile.h +++ b/libktorrent/util/mmapfile.h @@ -21,7 +21,7 @@ #define BTMMAPFILE_H -#include +#include #include namespace bt @@ -52,7 +52,7 @@ namespace bt * @param mode Mode (READ, WRITE or RW) * @return true upon succes */ - bool open(const QString & file,Mode mode); + bool open(const TQString & file,Mode mode); /** * Open the file. If mode is write and the file doesn't exist, it will @@ -62,7 +62,7 @@ namespace bt * @param size Size of the memory mapping (the file will be enlarged to this value) * @return true upon succes */ - bool open(const QString & file,Mode mode,Uint64 size); + bool open(const TQString & file,Mode mode,Uint64 size); /** * Close the file. Undoes the memory mapping. @@ -112,7 +112,7 @@ namespace bt Uint64 tell() const; /// Get the error string. - QString errorString() const; + TQString errorString() const; /// Get the file size Uint64 getSize() const; @@ -136,7 +136,7 @@ namespace bt Uint64 size; // size of mmapping Uint64 file_size; // size of file Uint64 ptr; - QString filename; + TQString filename; Mode mode; }; -- cgit v1.2.1