qtinternetradio/ui/inc/irsonghistoryview.h
changeset 3 ee64f059b8e1
parent 0 09774dfdd46b
child 5 0930554dc389
equal deleted inserted replaced
2:2e1adbfc62af 3:ee64f059b8e1
    20 #include "irabstractlistviewbase.h" 
    20 #include "irabstractlistviewbase.h" 
    21 #include "irqevent.h"
    21 #include "irqevent.h"
    22 
    22 
    23 class IRQPreset;
    23 class IRQPreset;
    24 class IRSongHistoryModel;
    24 class IRSongHistoryModel;
    25 class IRQMusicShop;
       
    26 class IRQStatisticsReporter;
    25 class IRQStatisticsReporter;
    27 class IRQMetaData; 
    26 class IRQMetaData; 
    28 class HbIcon;
    27 class HbIcon;
    29 class QTimer;
    28 class QTimer;
    30 
    29 
    40     
    39     
    41     //from base class IRBaseView
    40     //from base class IRBaseView
    42     TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason);
    41     TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason);
    43      
    42      
    44 private slots:
    43 private slots:
    45     void clearAllList(); 
       
    46     void modelChanged();
    44     void modelChanged();
    47     void newMetadataAdded(IRQMetaData * aMetadata);
    45     void newMetadataAdded(IRQMetaData * aMetadata);
    48     void clearHisotrySongDB();   
    46     void clearHisotrySongDB();   
    49     void showPrompt();
    47     void showPrompt();
    50     void gotoStationHistory();
    48     void gotoStationHistory();
       
    49     void handleOrientationChanged(Qt::Orientation aOrientation);
    51     
    50     
    52 private:
    51 private:
    53     void showSongHistory();
    52     void showSongHistory();
    54     void handleItemSelected();         
    53     void handleItemSelected();         
    55     //from IrAbstractListViewBase
    54     //from IrAbstractListViewBase
    58 	
    57 	
    59 private:  
    58 private:  
    60     IRSongHistoryModel *iModel;
    59     IRSongHistoryModel *iModel;
    61     HbAction           *iClearSongHistoryAction;   
    60     HbAction           *iClearSongHistoryAction;   
    62     HbAction           *iStationHistoryAction;
    61     HbAction           *iStationHistoryAction;
    63     IRQMusicShop       *iMusicShop;
       
    64     IRQStatisticsReporter *iStatisticsReporter;     
    62     IRQStatisticsReporter *iStatisticsReporter;     
    65     int           iShowPrompt;
    63     int           iShowPrompt;
    66      
    64      
    67      
    65      
    68     friend class IRViewManager;
    66     friend class IRViewManager;