qtinternetradio/ui/inc/irnowplayingview.h
changeset 14 896e9dbc5f19
parent 12 608f67c22514
child 15 065198191975
--- a/qtinternetradio/ui/inc/irnowplayingview.h	Tue Jul 06 14:07:20 2010 +0300
+++ b/qtinternetradio/ui/inc/irnowplayingview.h	Wed Aug 18 09:40:26 2010 +0300
@@ -26,6 +26,8 @@
 class IRQMetaData;
 class IRStationShare;
 class HbLabel;
+class HbMarqueeItem;
+class QEvent;
 
 /**
  * This class shows the station information when it's played.
@@ -39,6 +41,9 @@
 public:
     ~IRNowPlayingView();
 
+signals:
+    void applicationReady();
+        
 protected:
     IRNowPlayingView(IRApplication* aApplication, TIRViewId aViewId);
 
@@ -46,6 +51,8 @@
     void launchAction();   
     TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason);
 
+    // from HbWidget
+    void changeEvent(QEvent *event);
 
 private slots:
     // slots for logo download
@@ -84,6 +91,12 @@
     void updateAdvImage();
 #endif
     
+#ifdef STATISTIC_REPORT_TEST_ENABLED
+    void handleDummySongIdentify();
+    void handleDummyGoToNms();
+    void handleDummyFindInNms();
+#endif
+    
 private:
     void initialize();
     void initMenu();
@@ -93,6 +106,7 @@
     void updateWidgets();
     void updateMusicStoreStatus();
     void updateForLauchAction();
+    void updateSongName(const QString &aSongName);
     
     void updateStationLogo();	
     void loadStationLogo();
@@ -124,7 +138,8 @@
     };
     LogoDownloadState iLogoDownloadState;
     
-    HbLabel *iSongName;
+    HbLabel *iSongNameLabel;
+    HbMarqueeItem *iSongNameMarquee;
     HbLabel *iArtistName;
     HbLabel *iStationName;
     HbLabel *iStationLogo;