25 #ifndef SomaFMStationModel_H 26 #define SomaFMStationModel_H 28 #include "GUI/Helper/SearchableWidget/AbstractSearchModel.h" 29 #include "3rdParty/SomaFM/SomaFMStation.h" 52 int rowCount(
const QModelIndex& parent=QModelIndex())
const override;
53 int columnCount(
const QModelIndex& parent=QModelIndex())
const override;
54 QVariant data(
const QModelIndex& index,
int role=Qt::DisplayRole)
const override;
55 QMimeData* mimeData(
const QModelIndexList &indexes)
const override;
56 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
61 QModelIndex getFirstRowIndexOf(QString substr)
override;
62 QModelIndex getNextRowIndexOf(QString substr,
int cur_row,
const QModelIndex& parent)
override;
63 QModelIndex getPrevRowIndexOf(QString substr,
int cur_row,
const QModelIndex& parent)
override;
68 bool has_stations()
const;
73 #endif // SomaFMStationModel_H Definition: SomaFMStation.h:31
Definition: AbstractSearchModel.h:48
Definition: SomaFMStationModel.h:33