summaryrefslogtreecommitdiffstats
path: root/kradio3/src/stationlist.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:04:07 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:04:07 -0600
commita1e6ce502c334194d31a0b78b11b77e9532da64b (patch)
treeaf926bf79ece44ee312952d3d896a1da440daf83 /kradio3/src/stationlist.cpp
parentb69d61089748af635b869896140531ad906433d8 (diff)
downloadtderadio-a1e6ce502c334194d31a0b78b11b77e9532da64b.tar.gz
tderadio-a1e6ce502c334194d31a0b78b11b77e9532da64b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kradio3/src/stationlist.cpp')
-rw-r--r--kradio3/src/stationlist.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kradio3/src/stationlist.cpp b/kradio3/src/stationlist.cpp
index a5b0f5b..45ed4ca 100644
--- a/kradio3/src/stationlist.cpp
+++ b/kradio3/src/stationlist.cpp
@@ -311,7 +311,7 @@ bool StationList::readXML (const TQString &dat, const IErrorLogClient &logger, b
reader.setContentHandler (&handler);
if (reader.parse(source)) {
if (handler.wasCompatMode() && enableMessageBox) {
- TQMessageBox::information(NULL, "KRadio",
+ TQMessageBox::information(NULL, "TDERadio",
i18n("Probably an old station preset file was read.\n"
"You have to rebuild your station selections for "
"the quickbar and the docking menu.")
@@ -325,7 +325,7 @@ bool StationList::readXML (const TQString &dat, const IErrorLogClient &logger, b
logger.logError("StationList::readXML: " + i18n("parsing failed"));
if (enableMessageBox) {
- TQMessageBox::warning(NULL, "KRadio",
+ TQMessageBox::warning(NULL, "TDERadio",
i18n("Parsing the station preset file failed.\n"
"See console output for more details."));
}
@@ -341,7 +341,7 @@ bool StationList::readXML (const KURL &url, const IErrorLogClient &logger, bool
if (enableMessageBox) {
logger.logError("StationList::readXML: " +
i18n("error downloading preset file %1").arg(url.url()));
- TQMessageBox::warning(NULL, "KRadio",
+ TQMessageBox::warning(NULL, "TDERadio",
i18n("Download of the station preset file at %1 failed.")
.arg(url.url()));
} else {
@@ -360,7 +360,7 @@ bool StationList::readXML (const KURL &url, const IErrorLogClient &logger, bool
logger.logError("StationList::readXML: " +
i18n("error opening preset file %1").arg(tmpfile));
if (enableMessageBox) {
- TQMessageBox::warning(NULL, "KRadio",
+ TQMessageBox::warning(NULL, "TDERadio",
i18n("Opening of the station preset file at %1 failed.")
.arg(tmpfile));
}
@@ -409,7 +409,7 @@ TQString StationList::writeXML (const IErrorLogClient &/*logger*/) const
TQString tt = "\t\t";
TQString ttt = "\t\t\t";
- data += xmlOpenTag(KRadioConfigElement) +
+ data += xmlOpenTag(TDERadioConfigElement) +
t + xmlOpenTag(StationListElement) +
tt + xmlTag(StationListFormat, STATION_LIST_FORMAT) +
tt + xmlOpenTag(StationListInfo) +
@@ -437,7 +437,7 @@ TQString StationList::writeXML (const IErrorLogClient &/*logger*/) const
}
data += t + xmlCloseTag(StationListElement) +
- xmlCloseTag(KRadioConfigElement);
+ xmlCloseTag(TDERadioConfigElement);
return data;
}
@@ -460,7 +460,7 @@ bool StationList::writeXML (const KURL &url, const IErrorLogClient &logger, bool
logger.logError("StationList::writeXML: " +
i18n("error writing to tempfile %1").arg(tmpFile.name()));
if (enableMessageBox) {
- TQMessageBox::warning(NULL, "KRadio",
+ TQMessageBox::warning(NULL, "TDERadio",
i18n("Writing station preset file %1 failed.")
.arg(tmpFile.name()));
}
@@ -482,7 +482,7 @@ bool StationList::writeXML (const KURL &url, const IErrorLogClient &logger, bool
i18n("error uploading preset file %1").arg(url.url()));
if (enableMessageBox) {
- TQMessageBox::warning(NULL, "KRadio",
+ TQMessageBox::warning(NULL, "TDERadio",
i18n("Upload of station preset file to %1 failed.")
.arg(url.url()));
}