start to refactor update-procedure
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <QDebug>
|
||||
#include <QThread>
|
||||
#include <QByteArray>
|
||||
#include <QScopedPointer>
|
||||
|
||||
#include <optional>
|
||||
#include <initializer_list>
|
||||
@@ -19,6 +20,7 @@
|
||||
#include "git/git_client.h"
|
||||
#include "ismas/ismas_client.h"
|
||||
#include "utils.h"
|
||||
#include "work_process_list.h"
|
||||
|
||||
#ifdef PTU5
|
||||
#define SERIAL_PORT "ttymxc2"
|
||||
@@ -196,6 +198,8 @@ class Worker : public QThread{
|
||||
bool m_withoutIsmasDirectPort;
|
||||
QString m_apismVersion;
|
||||
|
||||
WorkList m_workList;
|
||||
|
||||
bool executeOpkgCommand(QString opkgCommand);
|
||||
bool cleanUpOpkgCache();
|
||||
QString getOsVersion() const;
|
||||
@@ -469,6 +473,9 @@ public:
|
||||
|
||||
QByteArray standardOutput() const { return m_standardOutput; }
|
||||
|
||||
WorkList const &workList() const { return m_workList; }
|
||||
WorkList &workList() { return m_workList; }
|
||||
|
||||
signals:
|
||||
void appendText(QString, QString suffix = "");
|
||||
void insertText(QString);
|
||||
|
Reference in New Issue
Block a user