source: src/gui/mainwindow.h @ 9d8946b

qt5
Last change on this file since 9d8946b was 9d8946b, checked in by timkoma <timkoma@…>, 12 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
8class SqlEngine;
9class ScheduleXmlParser;
10
11class MainWindow : public QMainWindow, private Ui::MainWindow
12{
13    Q_OBJECT
14public:
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();
19private 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();
31private:
32    SqlEngine *mSqlEngine;
33    ScheduleXmlParser *mXmlParser;
34};
35
36#endif // MAINWINDOW_H
37
Note: See TracBrowser for help on using the repository browser.