radioapp/radiowidgets/inc/radiohistoryview.h
branchGCC_SURGE
changeset 37 451b2e1545b2
parent 19 afea38384506
parent 28 075425b8d9a4
equal deleted inserted replaced
26:6bcf277166c1 37:451b2e1545b2
    22 #include <HbIcon>
    22 #include <HbIcon>
    23 #include <QScopedPointer>
    23 #include <QScopedPointer>
    24 
    24 
    25 // User includes
    25 // User includes
    26 #include "radioviewbase.h"
    26 #include "radioviewbase.h"
    27 #include "radiowidgetsexport.h"
       
    28 
    27 
    29 // Forward declarations
    28 // Forward declarations
    30 class RadioXmlUiLoader;
    29 class RadioXmlUiLoader;
    31 class HbListView;
    30 class HbListView;
    32 class HbAction;
    31 class HbAction;
    33 class HbAbstractViewItem;
    32 class HbAbstractViewItem;
    34 class RadioHistoryModel;
    33 class RadioHistoryModel;
    35 class RadioHistoryItem;
    34 class RadioHistoryItem;
    36 
    35 
    37 // Class declaration
    36 // Class declaration
    38 class WIDGETS_DLL_EXPORT RadioHistoryView : public RadioViewBase
    37 class RadioHistoryView : public RadioViewBase
    39 {
    38 {
    40     Q_OBJECT
    39     Q_OBJECT
    41     Q_PROPERTY(HbIcon nonTaggedIcon READ nonTaggedIcon WRITE setNonTaggedIcon)
    40     Q_PROPERTY(HbIcon nonTaggedIcon READ nonTaggedIcon WRITE setNonTaggedIcon)
    42     Q_PROPERTY(HbIcon taggedIcon READ taggedIcon WRITE setTaggedIcon)
    41     Q_PROPERTY(HbIcon taggedIcon READ taggedIcon WRITE setTaggedIcon)
    43 
    42 
    52     void setTaggedIcon( const HbIcon& taggedIcon );
    51     void setTaggedIcon( const HbIcon& taggedIcon );
    53     HbIcon taggedIcon() const;
    52     HbIcon taggedIcon() const;
    54 
    53 
    55 private slots:
    54 private slots:
    56 
    55 
    57     void deckButtonPressed();
    56     void updateViewMode();
    58     void clearList();
    57     void clearList();
    59     void updateVisibilities();
    58     void updateVisibilities();
    60     void showContextMenu( const QModelIndex& index );
    59     void showContextMenu( const QModelIndex& index );
       
    60     void handleLongPress( HbAbstractViewItem* item );
    61     void toggleTagging();
    61     void toggleTagging();
    62     void openOviStore();
    62     void openOviStore();
    63     void openOtherStore();
    63     void openOtherStore();
    64     void addSongs();            // Temporary test code
    64     void addSongs();            // Temporary test code
    65     void addOneSong();          // Temporary test code
    65     void addOneSong();          // Temporary test code