radioapp/radiouiengine/src/radiostation.cpp
changeset 57 21be958eb3ce
parent 47 74b7c6e79031
--- a/radioapp/radiouiengine/src/radiostation.cpp	Tue Oct 12 11:25:14 2010 +0300
+++ b/radioapp/radiouiengine/src/radiostation.cpp	Fri Oct 15 16:26:27 2010 +0300
@@ -25,8 +25,6 @@
 #include "radio_global.h"
 
 // Constants
-const QLatin1String HTML_TAG_START( "<font color='cyan'><u>" );
-const QLatin1String HTML_TAG_END( "</u></font>" );
 
 const uint LAST_CALLSIGN_CHAR_CODE = 25;
 const uint THREE_LETTER_CALLSIGN_COUNT = 72;
@@ -311,28 +309,6 @@
 /*!
  *
  */
-void RadioStation::setRadioTextPlus( const int rtPlusClass, const QString& rtPlusItem )
-{
-    if ( !mData->mRadioText.isEmpty() &&
-         !rtPlusItem.isEmpty() &&
-         ( rtPlusClass == RtPlus::Artist || rtPlusClass == RtPlus::Title || rtPlusClass == RtPlus::Homepage) )
-    {
-        // Url is saved to its own variable and it is not highlighted from the radiotext
-        if ( rtPlusClass == RtPlus::Homepage ) {
-            setUrl( rtPlusItem );
-            return;
-        }
-
-        const QString replacement = HTML_TAG_START + rtPlusItem + HTML_TAG_END;
-
-        mData->mRadioText.replace( rtPlusItem, replacement );
-        mData->mChangeFlags |= RadioStation::RadioTextChanged;
-    }
-}
-
-/*!
- *
- */
 void RadioStation::setDynamicPsText( const QString& dynamicPsText )
 {
     if ( mData->mDynamicPsText.compare( dynamicPsText ) != 0 ) {