diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:25 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-27 04:09:43 +0200 |
commit | 07dae48f6a81b834e9f1544601a21051873ed0e2 (patch) | |
tree | 850d35b0e517659d431d0921a46d9b35b39a3712 /src/common/global | |
parent | 1177a9f23b1c9929bef9464f434d82273783204c (diff) | |
download | piklab-07dae48f6a81b834e9f1544601a21051873ed0e2.tar.gz piklab-07dae48f6a81b834e9f1544601a21051873ed0e2.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 4374b9aebc67cce74e5c1099d5f4ad1749b05fc6)
Diffstat (limited to 'src/common/global')
-rw-r--r-- | src/common/global/purl.cpp | 2 | ||||
-rw-r--r-- | src/common/global/xml_data_file.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
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; } |