summaryrefslogtreecommitdiffstats
path: root/src/translators/xmlimporter.cpp
diff options
context:
space:
mode:
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);
}
}