mpviewplugins/mpplaybackviewplugin/inc/mpplaybackview.h
changeset 37 eb79a7c355bf
parent 35 fdb31ab341af
child 51 560ce2306a17
--- a/mpviewplugins/mpplaybackviewplugin/inc/mpplaybackview.h	Fri May 28 19:46:01 2010 -0500
+++ b/mpviewplugins/mpplaybackviewplugin/inc/mpplaybackview.h	Fri Jun 11 19:36:32 2010 -0500
@@ -27,12 +27,14 @@
 class MpPlaybackData;
 class MpPlaybackWidget;
 class MpEqualizerWidget;
-class QTranslator;
 
 
 class MpPlaybackView : public MpViewBase
 {
     Q_OBJECT
+    Q_PROPERTY(QString PlaybackStatus READ playbackStatus)
+    Q_PROPERTY(bool Shuffle READ shuffleEnabled)
+    Q_PROPERTY(bool Repeat READ repeatEnabled)
 
 public:
 
@@ -43,6 +45,10 @@
     void activateView();
     void deactivateView();
 
+    QString playbackStatus();
+    bool shuffleEnabled();
+    bool repeatEnabled();
+    
 signals:
 
     void command( int aCommand );
@@ -64,6 +70,7 @@
 
     void handleSongSelected();
     void showEqualizerDialog();
+    void closeEqualizerDialog();
     
     void startRewindTimer();
     void startForwardTimer();
@@ -99,10 +106,7 @@
     HbAction                *mPlayPauseAction;  // Not own
     HbAction                *mRepeatAction;     // Not own
     HbAction                *mShuffleAction;    // Not own
-    
-    QTranslator             *mMpTranslator;     // Own
-    QTranslator             *mCommonTranslator; // Own
-    
+
     QTimer                  *mTimer;
 
     bool                    mShuffle;