From a1e6ce502c334194d31a0b78b11b77e9532da64b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:04:07 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kradio3/src/stationlist.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kradio3/src/stationlist.cpp') 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())); } -- cgit v1.2.1