diff 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
line wrap: on
line diff
--- a/ui/processhelp.h	Mon Nov 24 14:43:36 2014 +0100
+++ b/ui/processhelp.h	Mon Nov 24 15:48:49 2014 +0100
@@ -13,6 +13,7 @@
 
 #include <QList>
 #include <QString>
+#include <QDateTime>
 
 /**
  * @file processhelp.h
@@ -54,6 +55,15 @@
 * @brief Clean up internaly used infrastructure like pid/lock files.
 */
 static void cleanUp(void);
+
+#ifndef WIN32
+/**
+* @brief Read the signature timestamp from settings.
+*
+* @returns The signature timestamp as qdatetime or an invalid dt on error.
+*/
+static QDateTime getSigDtFromInstSettings();
+#endif
 };
 
 #endif // PROCESSHELP_H

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