diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:57:04 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:57:04 -0600 |
commit | 6df9eac4b9928768bf0c3dc988bac1c0c1fbb685 (patch) | |
tree | e9c9e6486689b74eac0c7c4af8e910df3942fa31 /kradio3/src/stationlistxmlhandler.cpp | |
parent | 5fb78f4b68672906005b059e7e5066c702bc5c90 (diff) | |
download | tderadio-6df9eac4b9928768bf0c3dc988bac1c0c1fbb685.tar.gz tderadio-6df9eac4b9928768bf0c3dc988bac1c0c1fbb685.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 5fb78f4b68672906005b059e7e5066c702bc5c90.
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 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; } |