Mercurial > trustbridge
comparison ui/processhelp.h @ 1371:23df332b2a4c
(issue179) Read install signature timestamp from config
This also changes the way the sigDt is propgated to the
MainWindow. It no longer uses the settings but hands
it over as a parameter directly.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 24 Nov 2014 15:48:49 +0100 |
parents | 2a1aa9df8f11 |
children |
comparison
equal
deleted
inserted
replaced
1370:289cb3554c55 | 1371:23df332b2a4c |
---|---|
11 #ifndef PROCESSHELP_H | 11 #ifndef PROCESSHELP_H |
12 #define PROCESSHELP_H | 12 #define PROCESSHELP_H |
13 | 13 |
14 #include <QList> | 14 #include <QList> |
15 #include <QString> | 15 #include <QString> |
16 #include <QDateTime> | |
16 | 17 |
17 /** | 18 /** |
18 * @file processhelp.h | 19 * @file processhelp.h |
19 * @brief Static helper functions for process handling | 20 * @brief Static helper functions for process handling |
20 */ | 21 */ |
52 | 53 |
53 /** | 54 /** |
54 * @brief Clean up internaly used infrastructure like pid/lock files. | 55 * @brief Clean up internaly used infrastructure like pid/lock files. |
55 */ | 56 */ |
56 static void cleanUp(void); | 57 static void cleanUp(void); |
58 | |
59 #ifndef WIN32 | |
60 /** | |
61 * @brief Read the signature timestamp from settings. | |
62 * | |
63 * @returns The signature timestamp as qdatetime or an invalid dt on error. | |
64 */ | |
65 static QDateTime getSigDtFromInstSettings(); | |
66 #endif | |
57 }; | 67 }; |
58 | 68 |
59 #endif // PROCESSHELP_H | 69 #endif // PROCESSHELP_H |