summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/torrentfile.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/torrent/torrentfile.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/torrent/torrentfile.h')
-rw-r--r--libktorrent/torrent/torrentfile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libktorrent/torrent/torrentfile.h b/libktorrent/torrent/torrentfile.h
index 9e0c397..9a1d494 100644
--- a/libktorrent/torrent/torrentfile.h
+++ b/libktorrent/torrent/torrentfile.h
@@ -21,7 +21,7 @@
#ifndef BTTORRENTFILE_H
#define BTTORRENTFILE_H
-#include <qstring.h>
+#include <tqstring.h>
#include <util/constants.h>
#include <interfaces/torrentfileinterface.h>
@@ -38,6 +38,7 @@ namespace bt
class TorrentFile : public kt::TorrentFileInterface
{
Q_OBJECT
+ TQ_OBJECT
Uint32 index;
Uint64 cache_offset;
@@ -68,7 +69,7 @@ namespace bt
* @param size Size of the file
* @param chunk_size Size of each chunk
*/
- TorrentFile(Uint32 index,const QString & path,Uint64 off,Uint64 size,Uint64 chunk_size);
+ TorrentFile(Uint32 index,const TQString & path,Uint64 off,Uint64 size,Uint64 chunk_size);
/**
* Copy constructor.