1 #ifndef SomaFMStationModel_H 2 #define SomaFMStationModel_H 4 #include "GUI/Helper/SearchableWidget/AbstractSearchModel.h" 14 QStringList _stations;
18 int rowCount(
const QModelIndex& parent=QModelIndex())
const;
19 QVariant data(
const QModelIndex& index,
int role)
const;
23 QModelIndex getFirstRowIndexOf(QString substr);
24 QModelIndex getNextRowIndexOf(QString substr,
int cur_row,
const QModelIndex& parent);
25 QModelIndex getPrevRowIndexOf(QString substr,
int cur_row,
const QModelIndex& parent);
29 void setStringList(
const QStringList& stations);
32 #endif // SomaFMStationModel_H Definition: AbstractSearchModel.h:56
Definition: SomaFMStationModel.h:7