comparison ui/mainwindow.h @ 871:4efd6378c001

(issue51) Add fallback in case systemtray is unavailable. If no systemtray is available it will now show a message box as notification.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 06 Aug 2014 18:03:23 +0200
parents 27043d74dc90
children 7c89c5dc2200
comparison
equal deleted inserted replaced
870:e93ae5233217 871:4efd6378c001
11 /** 11 /**
12 * @file mainwindow.h 12 * @file mainwindow.h
13 * @brief Main UI controller 13 * @brief Main UI controller
14 */ 14 */
15 15
16 #include <QSystemTrayIcon>
17 #include <QMainWindow> 16 #include <QMainWindow>
18 #include <QSettings> 17 #include <QSettings>
19 #include <QMenuBar> 18 #include <QMenuBar>
20 #include <QListWidget> 19 #include <QListWidget>
21 #include <QTextEdit> 20 #include <QTextEdit>
26 25
27 #include "downloader.h" 26 #include "downloader.h"
28 #include "certificatelist.h" 27 #include "certificatelist.h"
29 #include "certificatelistwidget.h" 28 #include "certificatelistwidget.h"
30 #include "textoverlaybutton.h" 29 #include "textoverlaybutton.h"
30 #include "trayicon.h"
31 class QMenu; 31 class QMenu;
32 class QAction; 32 class QAction;
33 class QTimer; 33 class QTimer;
34 class QPushButton; 34 class QPushButton;
35 35
217 QString mInstalledSWVersion; 217 QString mInstalledSWVersion;
218 QString mInstalledListVersion; 218 QString mInstalledListVersion;
219 219
220 QSettings mSettings; 220 QSettings mSettings;
221 221
222 QSystemTrayIcon *mTrayIcon; 222 TrayIcon *mTrayIcon;
223 QTimer *mMessageTimer; 223 QTimer *mMessageTimer;
224 QMenu *mTrayMenu; 224 QMenu *mTrayMenu;
225 QAction *mCheckUpdates; 225 QAction *mCheckUpdates;
226 QAction *mQuitAction; 226 QAction *mQuitAction;
227 CurrentState mCurState; 227 CurrentState mCurState;

http://wald.intevation.org/projects/trustbridge/