cleaning up source code. move summary-handling to main-window.
This commit is contained in:
@@ -178,7 +178,7 @@ class Worker : public QThread{
|
||||
QString const m_pluginVersionTcpZvt;
|
||||
|
||||
int m_ismasUpdateRequests;
|
||||
QTimer m_waitForNewUpdates;
|
||||
QTimer m_summaryTimer;
|
||||
|
||||
QStringList m_filesToUpdate;
|
||||
QStringList m_filesToDownload;
|
||||
@@ -453,6 +453,8 @@ public:
|
||||
void setHW(hwinf *hw) { m_hw = hw; }
|
||||
hwinf *getHW() { return m_hw; }
|
||||
|
||||
QString customerRepository() { return m_customerRepository; }
|
||||
|
||||
IsmasClient &getIsmasClient() { return m_ismasClient; }
|
||||
IsmasClient const &getIsmasClient() const { return m_ismasClient; }
|
||||
|
||||
@@ -473,7 +475,6 @@ public:
|
||||
|
||||
bool jsUpdate();
|
||||
bool dcUpdate();
|
||||
void summary();
|
||||
QDateTime start() { return m_start; }
|
||||
|
||||
QByteArray standardOutput() const { return m_standardOutput; }
|
||||
@@ -481,6 +482,8 @@ public:
|
||||
WorkList const &workList() const { return m_workList; }
|
||||
WorkList &workList() { return m_workList; }
|
||||
|
||||
QTimer *summaryTimer() { return &m_summaryTimer; }
|
||||
|
||||
signals:
|
||||
void appendText(QString, QString suffix = "");
|
||||
void insertText(QString);
|
||||
@@ -507,6 +510,7 @@ signals:
|
||||
void showDownloadDCJsonFilesStatus(QString);
|
||||
void showSyncCustRepoStatus(QString);
|
||||
void showUpdateDCFirmware(QString);
|
||||
void summary();
|
||||
void showSummary(QString);
|
||||
void setDcDownloadProgress(int);
|
||||
|
||||
|
Reference in New Issue
Block a user