1 #ifndef STATIONLISTVIEW_H
2 #define STATIONLISTVIEW_H
12 class QStringListModel;
13 class QSortFilterProxyModel;
14 class KeyPressForwarder;
17 class StationListModel;
19 class StationListView : public QMainWindow
24 explicit StationListView(StationListModel *model, QWidget *parent = 0);
28 void stationSelected(const QString &);
29 void aboutTriggered(void);
32 void showSettings(void);
33 void showStation(const QModelIndex &index);
34 void handleFilterChanges(const QString &filter);
37 Ui::StationListView *ui;
38 QActionGroup *viewSelectionGroup;
39 StationListModel *stationListModel;
40 QSortFilterProxyModel *filterModel;
41 KeyPressForwarder *keyPressForwarder;
44 #endif // STATIONLISTVIEW_H