62 void toggleRepeat(); |
62 void toggleRepeat(); |
63 void repeatChanged( bool repeat ); |
63 void repeatChanged( bool repeat ); |
64 |
64 |
65 void handleSongSelected(); |
65 void handleSongSelected(); |
66 void showEqualizerDialog(); |
66 void showEqualizerDialog(); |
|
67 |
|
68 void startRewindTimer(); |
|
69 void startForwardTimer(); |
|
70 void startSeekRewind(); |
|
71 void startSeekForward(); |
|
72 void endRewind(); |
|
73 void endForward(); |
|
74 |
|
75 void connectButtons(); |
67 |
76 |
68 private: |
77 private: |
69 |
78 |
70 void setupMenu(); |
79 void setupMenu(); |
71 void setupToolbar(); |
80 void setupToolbar(); |
|
81 void updatePlayPauseIcon(); |
72 |
82 |
73 private: |
83 private: |
74 |
84 |
75 MpEngine *mMpEngine; // Own |
85 MpEngine *mMpEngine; // Own |
76 MpPlaybackData *mPlaybackData; // Not own |
86 MpPlaybackData *mPlaybackData; // Not own |
77 MpPlaybackWidget *mPlaybackWidget; // Not own |
87 MpPlaybackWidget *mPlaybackWidget; // Not own |
78 MpEqualizerWidget *mEqualizerWidget; // Own |
88 MpEqualizerWidget *mEqualizerWidget; // Own |
79 |
89 |
80 HbMainWindow *mWindow; // Not own |
90 HbMainWindow *mWindow; // Not own |
81 HbAction *mNavigationBack; // Own |
91 HbAction *mSoftKeyBack; // Own |
82 bool mActivated; |
92 bool mActivated; |
83 |
93 |
84 HbIcon *mPlayIcon; // Own |
94 HbIcon *mPlayIcon; // Own |
85 HbIcon *mPauseIcon; // Own |
95 HbIcon *mPauseIcon; // Own |
86 HbIcon *mShuffleOnIcon; // Own |
96 HbIcon *mShuffleOnIcon; // Own |
90 HbAction *mRepeatAction; // Not own |
100 HbAction *mRepeatAction; // Not own |
91 HbAction *mShuffleAction; // Not own |
101 HbAction *mShuffleAction; // Not own |
92 |
102 |
93 QTranslator *mMpTranslator; // Own |
103 QTranslator *mMpTranslator; // Own |
94 QTranslator *mCommonTranslator; // Own |
104 QTranslator *mCommonTranslator; // Own |
|
105 |
|
106 QTimer *mTimer; |
95 |
107 |
96 bool mShuffle; |
108 bool mShuffle; |
97 bool mRepeat; |
109 bool mRepeat; |
|
110 bool mSeeking; |
98 |
111 |
99 Q_DISABLE_COPY(MpPlaybackView) |
112 Q_DISABLE_COPY(MpPlaybackView) |
100 }; |
113 }; |
101 |
114 |
102 #endif // MPPLAYBACKVIEW_H |
115 #endif // MPPLAYBACKVIEW_H |