radioapp/radiouiengine/inc/radiohistorymodel_p.h
branchGCC_SURGE
changeset 37 451b2e1545b2
parent 19 afea38384506
parent 28 075425b8d9a4
equal deleted inserted replaced
26:6bcf277166c1 37:451b2e1545b2
    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 );