mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
DocsUpdater в отдельный поток
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
#ifndef DOCSUPDATER_H
|
||||
#define DOCSUPDATER_H
|
||||
|
||||
#include <QObject>
|
||||
#include "updatecontroller.h"
|
||||
#include "module.h"
|
||||
|
||||
|
||||
class DocsUpdater
|
||||
class DocsUpdater : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DocsUpdater(UpdateController* updateController, QWidget *parentWidget);
|
||||
DocsUpdater(UpdateController* updateController, QObject *parent = nullptr);
|
||||
~DocsUpdater();
|
||||
|
||||
bool update();
|
||||
public slots:
|
||||
bool slot_update();
|
||||
|
||||
private:
|
||||
void domElementParserAMM(QDomElement element, Module* moduleParent);
|
||||
@@ -21,7 +25,6 @@ private:
|
||||
|
||||
private:
|
||||
UpdateController* updateController;
|
||||
QWidget *parentWidget;
|
||||
QMutex mtxAccess;
|
||||
bool flagStop;
|
||||
QList<Module*> listAllModulesAMM; //?
|
||||
|
||||
Reference in New Issue
Block a user