From 58684cf3c4ae9895a71235dbceafc90f30790318 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 27 Jun 2023 17:25:23 +0200 Subject: [PATCH] Add new slots readyReadStandardOutput/Error and finished to get messages from included update_psa-script. --- update.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/update.h b/update.h index 08b6478..53c94fe 100644 --- a/update.h +++ b/update.h @@ -6,6 +6,7 @@ #include #include #include +#include #include "plugins/interfaces.h" @@ -79,5 +80,11 @@ private: bool updateDeviceConf(QString jsFileToSendToDC); bool downloadJson(enum FileTypeJson type, int templateIdx, QString jsFileToSendToDC) const; + +private slots: + void readyReadStandardOutput(); + void readyReadStandardError(); + void finished(int exitCode, QProcess::ExitStatus exitStatus); + }; #endif // UPDATE_H_INCLUDED