source: src/gui/mainwindow.h @ 7620de0

qt5
Last change on this file since 7620de0 was 7620de0, checked in by korrco <korrco@…>, 12 years ago

room view added - need to test it

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H
3
4#include <QtGui/QMainWindow>
5
6#include <ui_mainwindow.h>
7
8class SqlEngine;
9
10class MainWindow : public QMainWindow, private Ui::MainWindow
11{
12    Q_OBJECT
13public:
14    // aEventId is used to inform widget to automatically open
15    // Event dialog for given Event ID
16    MainWindow(int aEventId = 0, QWidget *aParent = NULL);
17    ~MainWindow();
18private slots:
19    void importSchedule();
20    void aboutApp();
21    void updateDayView(const QDate &aDate);
22    void updateTracksView(const QDate &aDate);
23    void updateFavouritesView(const QDate &aDate);
24    void updateSearchView(const QDate &aDate);
25    void updateNowView();
26    void updateRoomView(const QDate &aDate);
27    void itemClicked(const QModelIndex &aIndex);
28    void displayMap(const QModelIndex &aIndex);
29    void displayWarning(const QModelIndex &aIndex);
30    void searchClicked();
31        void searchAgainClicked();
32    void conferenceMapClicked();
33    void tabHasChanged(int aIndex);
34    void eventHasChanged(int aEventId);
35private:
36    SqlEngine *mSqlEngine;
37};
38
39#endif // MAINWINDOW_H
40
Note: See TracBrowser for help on using the repository browser.