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/file.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libktorrent/util/file.h') diff --git a/libktorrent/util/file.h b/libktorrent/util/file.h index 323a3a7..c6567f8 100644 --- a/libktorrent/util/file.h +++ b/libktorrent/util/file.h @@ -21,7 +21,7 @@ #define BTFILE_H #include -#include +#include #include "constants.h" namespace bt @@ -36,7 +36,7 @@ namespace bt class File { FILE* fptr; - QString file; + TQString file; public: /** * Constructor. @@ -54,7 +54,7 @@ namespace bt * @param mode Mode * @return true upon succes */ - bool open(const QString & file,const QString & mode); + bool open(const TQString & file,const TQString & mode); /** * Close the file. @@ -106,7 +106,7 @@ namespace bt Uint64 tell() const; /// Get the error string. - QString errorString() const; + TQString errorString() const; }; } -- cgit v1.2.1