source: src/gui/mainwindow.h @ be9c036

qt5
Last change on this file since be9c036 was 4693fa6, checked in by pavelpa <pavelpa@…>, 13 years ago

changed 'Activity' -> 'Track'

  • Property mode set to 100644
File size: 912 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 itemClicked(const QModelIndex &aIndex);
28    void displayMap(const QModelIndex &aIndex);
29    void searchClicked();
30private:
31    SqlEngine *mSqlEngine;
32    ScheduleXmlParser *mXmlParser;
33};
34
35#endif // MAINWINDOW_H
36
Note: See TracBrowser for help on using the repository browser.