Mercurial > trustbridge
annotate ui/aboutdialog.h @ 856:797aa8d9c785
(issue48) Fallback to HKEY_USERS on hive load failure
If the hive can not be loaded it might mean that the user
is currently logged on. In that case we can access his
registry via HKEY_USERS.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 31 Jul 2014 12:56:26 +0200 |
parents | 1642a79cc02d |
children | 2a1aa9df8f11 |
rev | line source |
---|---|
404 | 1 /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=2) | |
5 * and comes with ABSOLUTELY NO WARRANTY! | |
6 * See LICENSE.txt for details. | |
7 */ | |
199 | 8 #ifndef ABOUTDIALOG_H |
9 #define ABOUTDIALOG_H | |
10 | |
11 #include <QDialog> | |
12 #include <QMainWindow> | |
13 /** | |
14 * @file aboutdialog.h | |
15 * @brief The dialog for information about the application. | |
16 */ | |
17 | |
18 class AboutDialog : public QDialog | |
19 { | |
605
1642a79cc02d
Every class that inherits QObject needs the Q_Object macro.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
404
diff
changeset
|
20 Q_OBJECT |
199 | 21 public: |
22 /** @brief Create a help dialog */ | |
23 AboutDialog(QMainWindow *parent); | |
24 | |
25 private: | |
26 void setupGUI(); | |
27 | |
28 }; | |
29 #endif // ABOUTDIALOG_H |