summaryrefslogtreecommitdiffstats
path: root/kradio3/src/stationlistxmlhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/stationlistxmlhandler.cpp')
-rw-r--r--kradio3/src/stationlistxmlhandler.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kradio3/src/stationlistxmlhandler.cpp b/kradio3/src/stationlistxmlhandler.cpp
index 1bd09ed..0e303da 100644
--- a/kradio3/src/stationlistxmlhandler.cpp
+++ b/kradio3/src/stationlistxmlhandler.cpp
@@ -62,7 +62,7 @@ bool StationListXmlHandler::startDocument ()
#define START_ELEMENT_ERROR m_logger.logError("StationListXmlHandler::startElement: " + \
i18n("misplaced element %1") \
- .arg(qname));\
+ .tqarg(qname));\
return false;
bool StationListXmlHandler::startElement (const TQString &/*ns*/, const TQString &/*localname*/,
@@ -113,7 +113,7 @@ bool StationListXmlHandler::startElement (const TQString &/*ns*/, const TQString
} else { // unknown
m_logger.logWarning("StationListXmlHandler::startElement: " +
- i18n("unknown or unexpected element %1").arg(qname));
+ i18n("unknown or unexpected element %1").tqarg(qname));
}
m_status.push_back(qname);
@@ -143,10 +143,10 @@ bool StationListXmlHandler::endElement (const TQString &/*ns*/, const TQString &
if (m_status.size()) {
m_logger.logError("StationListXmlHandler::endElement: " +
i18n("expected element %1, but found %2")
- .arg(m_status.back()).arg(qname));
+ .tqarg(m_status.back()).tqarg(qname));
} else {
m_logger.logError("StationListXmlHandler::endElement: " +
- i18n("unexpected element %1").arg(qname));
+ i18n("unexpected element %1").tqarg(qname));
}
}
return true;
@@ -155,7 +155,7 @@ bool StationListXmlHandler::endElement (const TQString &/*ns*/, const TQString &
#define CHARACTERS_ERROR m_logger.logError("StationListXmlHandler::characters: " + \
i18n("invalid data for element %1") \
- .arg(stat)); \
+ .tqarg(stat)); \
return false;
bool StationListXmlHandler::characters (const TQString &ch)
@@ -169,7 +169,7 @@ bool StationListXmlHandler::characters (const TQString &ch)
if (stat == StationListFormat) {
if (str != STATION_LIST_FORMAT) {
- m_logger.logError(i18n("found a station list with unknown format %1").arg(str));
+ m_logger.logError(i18n("found a station list with unknown format %1").tqarg(str));
return false;
}
@@ -210,13 +210,13 @@ bool StationListXmlHandler::characters (const TQString &ch)
if (!m_newStation->setProperty(stat, str)) {
m_logger.logWarning("StationListXmlHandler::characters: " +
i18n("unknown property %1 for class %2")
- .arg(stat)
- .arg(m_newStation->getClassName()));
+ .tqarg(stat)
+ .tqarg(m_newStation->getClassName()));
}
} else if (str.length()) {
m_logger.logError("StationListXmlHandler::characters: " +
- i18n("characters ignored for element %1").arg(stat));
+ i18n("characters ignored for element %1").tqarg(stat));
}
return true;
}