From f96f74ffa7040e64ae3352e08c810c383c8a0ba2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:56 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- libktorrent/migrate/ccmigrate.cpp | 4 ++-- libktorrent/migrate/migrate.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libktorrent/migrate') diff --git a/libktorrent/migrate/ccmigrate.cpp b/libktorrent/migrate/ccmigrate.cpp index 3975de4..e824830 100644 --- a/libktorrent/migrate/ccmigrate.cpp +++ b/libktorrent/migrate/ccmigrate.cpp @@ -116,13 +116,13 @@ namespace bt // open the old current_chunks file File old_cc; if (!old_cc.open(current_chunks,"rb")) - throw Error(i18n("Cannot open file %1 : %2").tqarg(current_chunks).tqarg(old_cc.errorString())); + throw Error(i18n("Cannot open file %1 : %2").arg(current_chunks).arg(old_cc.errorString())); // open a new file in the /tmp dir File new_cc; TQString tmp = current_chunks + ".tmp"; if (!new_cc.open(tmp,"wb")) - throw Error(i18n("Cannot open file %1 : %2").tqarg(tmp).tqarg(old_cc.errorString())); + throw Error(i18n("Cannot open file %1 : %2").arg(tmp).arg(old_cc.errorString())); // read the number of chunks Uint32 num = 0; diff --git a/libktorrent/migrate/migrate.cpp b/libktorrent/migrate/migrate.cpp index a59f83c..ef6ddf1 100644 --- a/libktorrent/migrate/migrate.cpp +++ b/libktorrent/migrate/migrate.cpp @@ -42,7 +42,7 @@ namespace bt { // check if directory exists if (!bt::Exists(tor_dir)) - throw Error(i18n("The directory %1 does not exist").tqarg(tor_dir)); + throw Error(i18n("The directory %1 does not exist").arg(tor_dir)); // make sure it ends with a / TQString tdir = tor_dir; -- cgit v1.2.1