diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:04:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:04:07 -0600 |
commit | a1e6ce502c334194d31a0b78b11b77e9532da64b (patch) | |
tree | af926bf79ece44ee312952d3d896a1da440daf83 /kradio3/src/stationlistxmlhandler.cpp | |
parent | b69d61089748af635b869896140531ad906433d8 (diff) | |
download | tderadio-a1e6ce502c334194d31a0b78b11b77e9532da64b.tar.gz tderadio-a1e6ce502c334194d31a0b78b11b77e9532da64b.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kradio3/src/stationlistxmlhandler.cpp')
-rw-r--r-- | kradio3/src/stationlistxmlhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kradio3/src/stationlistxmlhandler.cpp b/kradio3/src/stationlistxmlhandler.cpp index 1bd09ed..04e9d6f 100644 --- a/kradio3/src/stationlistxmlhandler.cpp +++ b/kradio3/src/stationlistxmlhandler.cpp @@ -18,7 +18,7 @@ #include "include/stationlistxmlhandler.h" #include <klocale.h> -const char *KRadioConfigElement = "kradiorc"; +const char *TDERadioConfigElement = "kradiorc"; const char *StationListElement = "stationlist"; const char *compatStationElement = "station"; @@ -69,12 +69,12 @@ bool StationListXmlHandler::startElement (const TQString &/*ns*/, const TQString const TQString& _qname, const TQXmlAttributes &) { TQString qname = _qname; - if (qname == KRadioConfigElement) { + if (qname == TDERadioConfigElement) { if (m_status.size()) { START_ELEMENT_ERROR } // station list } else if (qname == StationListElement) { - if (!m_status.size() || m_status.back() != KRadioConfigElement) { START_ELEMENT_ERROR } + if (!m_status.size() || m_status.back() != TDERadioConfigElement) { START_ELEMENT_ERROR } m_stations.clear(); clearNewStation(); |