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/torrent/dndfile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libktorrent/torrent/dndfile.cpp') diff --git a/libktorrent/torrent/dndfile.cpp b/libktorrent/torrent/dndfile.cpp index 2ca669b..dffb763 100644 --- a/libktorrent/torrent/dndfile.cpp +++ b/libktorrent/torrent/dndfile.cpp @@ -105,7 +105,7 @@ namespace bt File fptr; if (!fptr.open(path,"wb")) - throw Error(i18n("Cannot create file %1 : %2").tqarg(path).tqarg(fptr.errorString())); + throw Error(i18n("Cannot create file %1 : %2").arg(path).arg(fptr.errorString())); fptr.write(&hdr,sizeof(DNDFileHeader)); fptr.close(); @@ -172,7 +172,7 @@ namespace bt create(); if (!fptr.open(path,"r+b")) { - throw Error(i18n("Failed to write first chunk to DND file : %1").tqarg(fptr.errorString())); + throw Error(i18n("Failed to write first chunk to DND file : %1").arg(fptr.errorString())); } } @@ -230,7 +230,7 @@ namespace bt create(); if (!fptr.open(path,"r+b")) { - throw Error(i18n("Failed to write last chunk to DND file : %1").tqarg(fptr.errorString())); + throw Error(i18n("Failed to write last chunk to DND file : %1").arg(fptr.errorString())); } } -- cgit v1.2.1