diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/torrent/torrentfile.cpp | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-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.cpp')
-rw-r--r-- | libktorrent/torrent/torrentfile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/torrent/torrentfile.cpp b/libktorrent/torrent/torrentfile.cpp index 9c21a4a..106e66f 100644 --- a/libktorrent/torrent/torrentfile.cpp +++ b/libktorrent/torrent/torrentfile.cpp @@ -28,10 +28,10 @@ namespace bt { - TorrentFile::TorrentFile() : TorrentFileInterface(QString::null,0),missing(false),filetype(UNKNOWN) + TorrentFile::TorrentFile() : TorrentFileInterface(TQString(),0),missing(false),filetype(UNKNOWN) {} - TorrentFile::TorrentFile(Uint32 index,const QString & path, + TorrentFile::TorrentFile(Uint32 index,const TQString & path, Uint64 off,Uint64 size,Uint64 chunk_size) : TorrentFileInterface(path,size),index(index),cache_offset(off),missing(false),filetype(UNKNOWN) { @@ -46,7 +46,7 @@ namespace bt } TorrentFile::TorrentFile(const TorrentFile & tf) - : TorrentFileInterface(QString::null,0) + : TorrentFileInterface(TQString(),0) { index = tf.getIndex(); path = tf.getPath(); |