diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:34:15 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:34:15 -0600 |
commit | 031454e56009d576589c28757f6c6fcf4884095e (patch) | |
tree | ad4c9959d05a814c9090e8fe63ba27057903271b /src/translators/xmlimporter.cpp | |
parent | 54011e0e1af8cd96162160ecf5d361a59a2c733e (diff) | |
download | tellico-031454e56009d576589c28757f6c6fcf4884095e.tar.gz tellico-031454e56009d576589c28757f6c6fcf4884095e.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/translators/xmlimporter.cpp')
-rw-r--r-- | src/translators/xmlimporter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/translators/xmlimporter.cpp b/src/translators/xmlimporter.cpp index 99cf002..d3a522f 100644 --- a/src/translators/xmlimporter.cpp +++ b/src/translators/xmlimporter.cpp @@ -40,10 +40,10 @@ XMLImporter::XMLImporter(const TQByteArray& data_) : Import::Importer(KURL()) { TQString errorMsg; int errorLine, errorColumn; if(!m_dom.setContent(data_, true, &errorMsg, &errorLine, &errorColumn)) { - TQString str = i18n("There is an XML parsing error in line %1, column %2.").tqarg(errorLine).tqarg(errorColumn); - str += TQString::tqfromLatin1("\n"); + TQString str = i18n("There is an XML parsing error in line %1, column %2.").arg(errorLine).arg(errorColumn); + str += TQString::fromLatin1("\n"); str += i18n("The error message from TQt is:"); - str += TQString::tqfromLatin1("\n\t") + errorMsg; + str += TQString::fromLatin1("\n\t") + errorMsg; setStatusMessage(str); return; } @@ -57,10 +57,10 @@ void XMLImporter::setText(const TQString& text_) { TQString errorMsg; int errorLine, errorColumn; if(!m_dom.setContent(text_, true, &errorMsg, &errorLine, &errorColumn)) { - TQString str = i18n("There is an XML parsing error in line %1, column %2.").tqarg(errorLine).tqarg(errorColumn); - str += TQString::tqfromLatin1("\n"); + TQString str = i18n("There is an XML parsing error in line %1, column %2.").arg(errorLine).arg(errorColumn); + str += TQString::fromLatin1("\n"); str += i18n("The error message from TQt is:"); - str += TQString::tqfromLatin1("\n\t") + errorMsg; + str += TQString::fromLatin1("\n\t") + errorMsg; setStatusMessage(str); } } |