24 #ifndef SomaFMStationModel_H
25 #define SomaFMStationModel_H
27 #include "Gui/Utils/SearchableWidget/SearchableModel.h"
28 #include "Utils/Pimpl.h"
46 enum class Status : char
55 int rowCount(
const QModelIndex& parent=QModelIndex())
const override;
56 int columnCount(
const QModelIndex& parent=QModelIndex())
const override;
57 QVariant data(
const QModelIndex& index,
int role=Qt::DisplayRole)
const override;
58 QMimeData* mimeData(
const QModelIndexList &indexes)
const override;
59 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
63 QModelIndexList searchResults(
const QString& substr)
override;
67 bool hasStations()
const;
72 #endif // SomaFMStationModel_H