summaryrefslogtreecommitdiffstats
path: root/src/translators/xmlimporter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
commit2781e27b871150395a5a82e221684108641002b2 (patch)
tree57f4d7c01a48faef1a840fbe0de8f4ec1e5f606f /src/translators/xmlimporter.cpp
parent031454e56009d576589c28757f6c6fcf4884095e (diff)
downloadtellico-2781e27b871150395a5a82e221684108641002b2.tar.gz
tellico-2781e27b871150395a5a82e221684108641002b2.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 031454e56009d576589c28757f6c6fcf4884095e.
Diffstat (limited to 'src/translators/xmlimporter.cpp')
-rw-r--r--src/translators/xmlimporter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/translators/xmlimporter.cpp b/src/translators/xmlimporter.cpp
index d3a522f..99cf002 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.").arg(errorLine).arg(errorColumn);
- str += TQString::fromLatin1("\n");
+ TQString str = i18n("There is an XML parsing error in line %1, column %2.").tqarg(errorLine).tqarg(errorColumn);
+ str += TQString::tqfromLatin1("\n");
str += i18n("The error message from TQt is:");
- str += TQString::fromLatin1("\n\t") + errorMsg;
+ str += TQString::tqfromLatin1("\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.").arg(errorLine).arg(errorColumn);
- str += TQString::fromLatin1("\n");
+ TQString str = i18n("There is an XML parsing error in line %1, column %2.").tqarg(errorLine).tqarg(errorColumn);
+ str += TQString::tqfromLatin1("\n");
str += i18n("The error message from TQt is:");
- str += TQString::fromLatin1("\n\t") + errorMsg;
+ str += TQString::tqfromLatin1("\n\t") + errorMsg;
setStatusMessage(str);
}
}