changeset 868:ae571e7ecdc9

Make appendTextSignature public for better testability
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 05 Aug 2014 17:44:31 +0200
parents ecdc279dea15
children b1df9621c89c
files ui/createinstallerdialog.h
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ui/createinstallerdialog.h	Tue Aug 05 17:44:00 2014 +0200
+++ b/ui/createinstallerdialog.h	Tue Aug 05 17:44:31 2014 +0200
@@ -91,6 +91,11 @@
      */
     bool signFile(QString filePath);
 
+    /* Slots for the creator process */
+    void processError(QProcess::ProcessError error);
+    void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
+
+public slots:
     /**@brief Append a base64 encoded sha256 RSA signature to a file.
      *
      * The format of the added signature line will be:
@@ -103,10 +108,6 @@
      * @returns true on success, false on failure
      */
     bool appendTextSignatureToFile(const QString& input, const QString& output);
-
-    /* Slots for the creator process */
-    void processError(QProcess::ProcessError error);
-    void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
 };
 
 /** @brief The dialog shown after the installer was created. */

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