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/cache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libktorrent/torrent/cache.cpp') diff --git a/libktorrent/torrent/cache.cpp b/libktorrent/torrent/cache.cpp index dcf9a77..927e631 100644 --- a/libktorrent/torrent/cache.cpp +++ b/libktorrent/torrent/cache.cpp @@ -26,7 +26,7 @@ namespace bt { - Cache::Cache(Torrent & tor,const QString & tmpdir,const QString & datadir) + Cache::Cache(Torrent & tor,const TQString & tmpdir,const TQString & datadir) : tor(tor),tmpdir(tmpdir),datadir(datadir),mmap_failures(0) { if (!datadir.endsWith(bt::DirSeparator())) @@ -43,7 +43,7 @@ namespace bt {} - void Cache::changeTmpDir(const QString & ndir) + void Cache::changeTmpDir(const TQString & ndir) { tmpdir = ndir; } -- cgit v1.2.1