Mercurial > trustbridge
annotate ui/aboutdialog.h @ 1248:9f5893faa60b
(issue143) Only show warning when multiple users exist.
This enumerates the ProfileList registry key and looks
for SID's starting with S-1-5-21- (like the certificate
installer does) and count the users. Only when more
then one users are found the warning is shown. Otherwise
the nss-installer will be removed.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 25 Sep 2014 12:04:54 +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 |