summaryrefslogtreecommitdiffstats
path: root/libktorrent/migrate/migrate.cpp
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/migrate/migrate.cpp
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/migrate/migrate.cpp')
-rw-r--r--libktorrent/migrate/migrate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/migrate/migrate.cpp b/libktorrent/migrate/migrate.cpp
index eddde83..a59f83c 100644
--- a/libktorrent/migrate/migrate.cpp
+++ b/libktorrent/migrate/migrate.cpp
@@ -38,14 +38,14 @@ namespace bt
Migrate::~Migrate()
{}
- void Migrate::migrate(const Torrent & tor,const QString & tor_dir,const QString & sdir)
+ void Migrate::migrate(const Torrent & tor,const TQString & tor_dir,const TQString & sdir)
{
// check if directory exists
if (!bt::Exists(tor_dir))
- throw Error(i18n("The directory %1 does not exist").arg(tor_dir));
+ throw Error(i18n("The directory %1 does not exist").tqarg(tor_dir));
// make sure it ends with a /
- QString tdir = tor_dir;
+ TQString tdir = tor_dir;
if (!tdir.endsWith(bt::DirSeparator()))
tdir += bt::DirSeparator();