41 TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason); |
41 TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason); |
42 |
42 |
43 private slots: |
43 private slots: |
44 void modelChanged(); |
44 void modelChanged(); |
45 void newMetadataAdded(IRQMetaData * aMetadata); |
45 void newMetadataAdded(IRQMetaData * aMetadata); |
46 void clearHisotrySongDB(); |
46 void clearList(); |
47 void showPrompt(); |
47 void showPrompt(); |
48 void gotoStationHistory(); |
48 void gotoStationHistory(); |
49 void handleOrientationChanged(Qt::Orientation aOrientation); |
49 void handleOrientationChanged(Qt::Orientation aOrientation); |
|
50 void actionClicked(HbAction *aAction); |
50 |
51 |
51 private: |
52 private: |
52 void showSongHistory(); |
53 void showSongHistory(); |
53 void handleItemSelected(); |
54 void handleItemSelected(); |
54 //from IrAbstractListViewBase |
55 //from IrAbstractListViewBase |
55 void prepareMenu(); |
56 void prepareMenu(); |
56 void itemAboutToBeSelected(bool& needNetwork); |
57 void itemAboutToBeSelected(bool& needNetwork); |
|
58 void listViewLongPressed(HbAbstractViewItem *aItem, const QPointF& aCoords); |
|
59 void searchInMusicStoreContextAction(); |
|
60 void deleteContextAction(); |
57 |
61 |
58 private: |
62 private: |
59 IRSongHistoryModel *iModel; |
63 IRSongHistoryModel *iModel; |
60 HbAction *iClearSongHistoryAction; |
64 HbAction *iClearSongHistoryAction; |
61 HbAction *iStationHistoryAction; |
65 HbAction *iStationHistoryAction; |