1 #ifndef FAVOURITESTATIONS_H
2 #define FAVOURITESTATIONS_H
6 #include <src/stationchooser.h>
9 class FavouriteStations;
12 class FavouriteStations : public QDialog {
15 FavouriteStations(QWidget *parent = 0);
18 int exec(QString names, QString codes);
21 void addFavourite(); //When the user clicks the button to add a new favourite station
22 void deleteFavourite(); //When the user clicks the delete button
28 void changeEvent(QEvent *e);
31 Ui::FavouriteStations *ui;
34 QString names; //The QSettings key for the favourite station names
35 QString codes; //The QSettings key for the favourite station CRS codes
40 #endif // FAVOURITESTATIONS_H