summaryrefslogtreecommitdiffstats
path: root/libktorrent/util/file.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/util/file.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
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
Diffstat (limited to 'libktorrent/util/file.h')
-rw-r--r--libktorrent/util/file.h8
1 files changed, 4 insertions, 4 deletions
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 <stdio.h>
-#include <qstring.h>
+#include <tqstring.h>
#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;
};
}