diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:39:17 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:39:17 -0600 |
commit | d9f7baa97dec2be4dd11726395eb704c837ce788 (patch) | |
tree | e94d72ba287986b45ad30d96dfab823dac60791d /kradio3/src/stationlistxmlhandler.cpp | |
parent | 8d4453deaa5f97e1bbe76ea45fdcac6121da8c9d (diff) | |
download | tderadio-d9f7baa97dec2be4dd11726395eb704c837ce788.tar.gz tderadio-d9f7baa97dec2be4dd11726395eb704c837ce788.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kradio3/src/stationlistxmlhandler.cpp')
-rw-r--r-- | kradio3/src/stationlistxmlhandler.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kradio3/src/stationlistxmlhandler.cpp b/kradio3/src/stationlistxmlhandler.cpp index 0e303da..1bd09ed 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") \ - .tqarg(qname));\ + .arg(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").tqarg(qname)); + i18n("unknown or unexpected element %1").arg(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") - .tqarg(m_status.back()).tqarg(qname)); + .arg(m_status.back()).arg(qname)); } else { m_logger.logError("StationListXmlHandler::endElement: " + - i18n("unexpected element %1").tqarg(qname)); + i18n("unexpected element %1").arg(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") \ - .tqarg(stat)); \ + .arg(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").tqarg(str)); + m_logger.logError(i18n("found a station list with unknown format %1").arg(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") - .tqarg(stat) - .tqarg(m_newStation->getClassName())); + .arg(stat) + .arg(m_newStation->getClassName())); } } else if (str.length()) { m_logger.logError("StationListXmlHandler::characters: " + - i18n("characters ignored for element %1").tqarg(stat)); + i18n("characters ignored for element %1").arg(stat)); } return true; } |