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/functions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libktorrent/functions.cpp') diff --git a/libktorrent/functions.cpp b/libktorrent/functions.cpp index 3bc4f88..2bc76eb 100644 --- a/libktorrent/functions.cpp +++ b/libktorrent/functions.cpp @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include +#include #include #include #include @@ -28,9 +28,9 @@ using namespace bt; namespace kt { - QString DataDir() + TQString DataDir() { - QString str = KGlobal::dirs()->saveLocation("data","ktorrent"); + TQString str = KGlobal::dirs()->saveLocation("data","ktorrent"); if (!str.endsWith(bt::DirSeparator())) return str + bt::DirSeparator(); else -- cgit v1.2.3