Mercurial > trustbridge
diff ui/createinstallerdialog.h @ 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 | 49168bcb02e2 |
children | 78798d3af8f0 |
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. */