From 4374b9aebc67cce74e5c1099d5f4ad1749b05fc6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:40:25 -0600 Subject: Remove additional unneeded tq method conversions --- src/common/global/purl.cpp | 2 +- src/common/global/xml_data_file.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common/global') diff --git a/src/common/global/purl.cpp b/src/common/global/purl.cpp index ab1f8da..d0b5498 100644 --- a/src/common/global/purl.cpp +++ b/src/common/global/purl.cpp @@ -69,7 +69,7 @@ TQString PURL::Private::getWindowsDrivePath(char drive) } return _winDrives[drive]; #else - return TQString("%1:\\").tqarg(drive); + return TQString("%1:\\").arg(drive); #endif } diff --git a/src/common/global/xml_data_file.cpp b/src/common/global/xml_data_file.cpp index 528f8e7..bae7f17 100644 --- a/src/common/global/xml_data_file.cpp +++ b/src/common/global/xml_data_file.cpp @@ -26,7 +26,7 @@ bool XmlDataFile::load(TQString &error) Log::StringView sview; PURL::File file(_url, sview); if ( !file.openForRead() ) { - error = i18n("Error opening file: %1").tqarg(sview.string()); + error = i18n("Error opening file: %1").arg(sview.string()); return false; } if ( !_document.setContent(file.qfile(), false, &error) ) return false; @@ -48,7 +48,7 @@ bool XmlDataFile::save(TQString &error) const file.appendText(s); ok = file.close(); } - if ( !ok ) error = i18n("Error saving file: %1").tqarg(sview.string()); + if ( !ok ) error = i18n("Error saving file: %1").arg(sview.string()); return ok; } -- cgit v1.2.1