radioapp/radiouiengine/inc/radiohistorymodel_p.h
changeset 28 075425b8d9a4
parent 24 6df133bd92e1
child 37 451b2e1545b2
child 54 a8ba0c289b44
equal deleted inserted replaced
24:6df133bd92e1 28:075425b8d9a4
    50     void addItem( const QString& artist, const QString& title, const RadioStation& station, bool fromRds = true );
    50     void addItem( const QString& artist, const QString& title, const RadioStation& station, bool fromRds = true );
    51 
    51 
    52     int rowCount() const;
    52     int rowCount() const;
    53     QVariant data( const int row, const int role ) const;
    53     QVariant data( const int row, const int role ) const;
    54 
    54 
    55     void removeAll();
    55     void removeAll( bool removeTagged );
    56 
    56 
    57     enum ViewMode{ ShowAll, ShowTagged };
    57     enum ViewMode{ ShowAll, ShowTagged };
    58     void setViewMode( ViewMode mode );
    58     void setViewMode( ViewMode mode );
    59 
    59 
    60     void toggleTagging( const RadioHistoryItem& item, const int row );
    60     void toggleTagging( const RadioHistoryItem& item, const int row );