Mercurial > trustbridge
comparison ui/mainwindow.h @ 19:9af6198deb8e
Add timed trigger for the message
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 20 Feb 2014 10:56:49 +0000 |
parents | c12825a651ed |
children | c6125d73faf4 |
comparison
equal
deleted
inserted
replaced
18:f4f957c58e0a | 19:9af6198deb8e |
---|---|
6 #include <QSettings> | 6 #include <QSettings> |
7 | 7 |
8 #include "downloader.h" | 8 #include "downloader.h" |
9 class QMenu; | 9 class QMenu; |
10 class QAction; | 10 class QAction; |
11 class QTimer; | |
11 | 12 |
12 class MainWindow : public QDialog | 13 class MainWindow : public QDialog |
13 { | 14 { |
14 Q_OBJECT | 15 Q_OBJECT |
15 | 16 |
47 QString mInstalledListVersion; | 48 QString mInstalledListVersion; |
48 | 49 |
49 QSettings mSettings; | 50 QSettings mSettings; |
50 | 51 |
51 QSystemTrayIcon *mTrayIcon; | 52 QSystemTrayIcon *mTrayIcon; |
52 | 53 QTimer *mMessageTimer; |
53 QMenu *mTrayMenu; | 54 QMenu *mTrayMenu; |
54 QAction *mCheckUpdates; | 55 QAction *mCheckUpdates; |
55 QAction *mQuitAction; | 56 QAction *mQuitAction; |
56 CurrentState mCurState; | 57 CurrentState mCurState; |
57 }; | 58 }; |