qt5
Last change
on this file since d4a8bbf was
d4a8bbf,
checked in by pavelpa <pavelpa@…>, 13 years ago
|
MAEMO: work on alarm
- snooze alarm
- cancel alarm
- run application which automatically display Event dialog for given Event ID
|
-
Property mode set to
100644
|
File size:
922 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 updateActivitiesDayView(const QDate &aDate); |
---|
26 | void updateFavouritesDayView(const QDate &aDate); |
---|
27 | void itemClicked(const QModelIndex &aIndex); |
---|
28 | void displayMap(const QModelIndex &aIndex); |
---|
29 | void searchClicked(); |
---|
30 | private: |
---|
31 | SqlEngine *mSqlEngine; |
---|
32 | ScheduleXmlParser *mXmlParser; |
---|
33 | }; |
---|
34 | |
---|
35 | #endif // MAINWINDOW_H |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.