# HG changeset patch # User Andre Heinecke # Date 1407253471 -7200 # Node ID ae571e7ecdc9c721c775fcd1d930d4126b1a8b54 # Parent ecdc279dea15e2a5efe7648f6c89e69a446f2e3b Make appendTextSignature public for better testability diff -r ecdc279dea15 -r ae571e7ecdc9 ui/createinstallerdialog.h --- 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. */