24 #ifndef SomaFMStationModel_H 25 #define SomaFMStationModel_H 27 #include "GUI/Helper/SearchableWidget/AbstractSearchModel.h" 28 #include "Helper/Pimpl.h" 47 enum class Status : char
56 int rowCount(
const QModelIndex& parent=QModelIndex())
const override;
57 int columnCount(
const QModelIndex& parent=QModelIndex())
const override;
58 QVariant data(
const QModelIndex& index,
int role=Qt::DisplayRole)
const override;
59 QMimeData* mimeData(
const QModelIndexList &indexes)
const override;
60 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
65 QModelIndex getFirstRowIndexOf(
const QString& substr)
override;
66 QModelIndex getNextRowIndexOf(
const QString& substr,
int cur_row,
const QModelIndex& parent)
override;
67 QModelIndex getPrevRowIndexOf(
const QString& substr,
int cur_row,
const QModelIndex& parent)
override;
72 bool has_stations()
const;
76 #endif // SomaFMStationModel_H Definition: AbstractSearchModel.h:55
Definition: SomaFMStation.h:35
Definition: org_mpris_media_player2_adaptor.h:21
Definition: org_mpris_media_player2_adaptor.h:20
Definition: SomaFMStationModel.h:35