Add new slots readyReadStandardOutput/Error and finished to get messages

from included update_psa-script.
This commit is contained in:
Gerhard Hoffmann 2023-06-27 17:25:23 +02:00
parent 08122cf703
commit 58684cf3c4

View File

@ -6,6 +6,7 @@
#include <QFile>
#include <QDir>
#include <QByteArray>
#include <QProcess>
#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