24 #ifndef SomaFMStationModel_H 25 #define SomaFMStationModel_H 27 #include "GUI/Utils/SearchableWidget/SearchableModel.h" 28 #include "Utils/Pimpl.h" 48 enum class Status : char
57 int rowCount(
const QModelIndex& parent=QModelIndex())
const override;
58 int columnCount(
const QModelIndex& parent=QModelIndex())
const override;
59 QVariant data(
const QModelIndex& index,
int role=Qt::DisplayRole)
const override;
60 QMimeData* mimeData(
const QModelIndexList &indexes)
const override;
61 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
65 bool has_items()
const override;
66 QModelIndexList search_results(
const QString& substr)
override;
70 bool has_stations()
const;
75 #endif // SomaFMStationModel_H Definition: SearchableModel.h:52
Definition: SomaFMStationModel.h:37
Definition: SomaFMStation.h:40
Definition: org_mpris_media_player2_adaptor.h:20