Sayonara Player
Public Member Functions | List of all members
SomaFMStationModel Class Reference

Public Member Functions

 SomaFMStationModel (QObject *parent=0)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
QMimeData * mimeData (const QModelIndexList &indexes) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QModelIndex getFirstRowIndexOf (QString substr) override
 
QModelIndex getNextRowIndexOf (QString substr, int cur_row, const QModelIndex &parent) override
 
QModelIndex getPrevRowIndexOf (QString substr, int cur_row, const QModelIndex &parent) override
 
QMap< QChar, QString > getExtraTriggers () override
 
void set_stations (const QList< SomaFMStation > &stations)
 
void replace_station (const SomaFMStation &station)
 
bool has_stations () const
 
void set_waiting ()
 
Inheritance diagram for SomaFMStationModel:
AbstractSearchTableModel AbstractSearchModelInterface