qt5
Last change
on this file since 9d8946b was
9d8946b,
checked in by timkoma <timkoma@…>, 13 years ago
|
update for the search
|
-
Property mode set to
100644
|
File size:
959 bytes
|
Line | |
---|
1 | #ifndef MAINWINDOW_H |
---|
2 | #define MAINWINDOW_H |
---|
3 | |
---|
4 | #include <QtGui/QMainWindow> |
---|
5 | |
---|
6 | #include <ui_mainwindow.h> |
---|
7 | |
---|
8 | class SqlEngine; |
---|
9 | class ScheduleXmlParser; |
---|
10 | |
---|
11 | class MainWindow : public QMainWindow, private Ui::MainWindow |
---|
12 | { |
---|
13 | Q_OBJECT |
---|
14 | public: |
---|
15 | // aEventId is used to inform widget to automatically open |
---|
16 | // Event dialog for given Event ID |
---|
17 | MainWindow(int aEventId = 0, QWidget *aParent = NULL); |
---|
18 | ~MainWindow(); |
---|
19 | private slots: |
---|
20 | void importSchedule(); |
---|
21 | void showParsingProgress(int aStatus); |
---|
22 | void aboutApp(); |
---|
23 | void updateDayView(const QDate &aDate); |
---|
24 | void updateTab(const int n); |
---|
25 | void updateTracksView(const QDate &aDate); |
---|
26 | void updateFavouritesView(const QDate &aDate); |
---|
27 | void updateSearchView(const QDate &aDate); |
---|
28 | void itemClicked(const QModelIndex &aIndex); |
---|
29 | void displayMap(const QModelIndex &aIndex); |
---|
30 | void searchClicked(); |
---|
31 | private: |
---|
32 | SqlEngine *mSqlEngine; |
---|
33 | ScheduleXmlParser *mXmlParser; |
---|
34 | }; |
---|
35 | |
---|
36 | #endif // MAINWINDOW_H |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.