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/torrent/torrentfile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libktorrent/torrent/torrentfile.h') 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 +#include #include #include @@ -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. -- cgit v1.2.1