mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
signal_updateDocsXML
This commit is contained in:
@@ -147,12 +147,14 @@ void ServerLMSWidget::slot_ErrorPostgreSQL(QString text)
|
||||
|
||||
void ServerLMSWidget::slot_UpdateDocs()
|
||||
{
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
//QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
|
||||
if(docsUpdater->updateDocsXML())
|
||||
emit signal_DocsChanged();
|
||||
emit signal_updateDocsXML();
|
||||
|
||||
QApplication::restoreOverrideCursor();
|
||||
//if(docsUpdater->slot_updateDocsXML())
|
||||
//emit signal_DocsChanged();
|
||||
|
||||
//QApplication::restoreOverrideCursor();
|
||||
|
||||
//TODO для теста
|
||||
//cfiController->test();
|
||||
@@ -387,7 +389,8 @@ void ServerLMSWidget::startInitialization_step0()
|
||||
dataParser = new DataParser(assetsManager, processingSystem);
|
||||
|
||||
commonClientHandler = new CommonClientHandler;
|
||||
connect(this, &ServerLMSWidget::signal_DocsChanged, commonClientHandler, &CommonClientHandler::slot_DocsChanged);
|
||||
//connect(this, &ServerLMSWidget::signal_DocsChanged, commonClientHandler, &CommonClientHandler::slot_DocsChanged);
|
||||
connect(docsUpdater, &DocsUpdater::signal_DocsChanged, commonClientHandler, &CommonClientHandler::slot_DocsChanged);
|
||||
//connect(commonClientHandler, &CommonClientHandler::sigSetServerState, this, &ServerLMSWidget::slot_trySetServerState);
|
||||
|
||||
server = new MultiThreadServer(this, updateController, processingSystem, dataParser, 6000);
|
||||
@@ -416,6 +419,8 @@ void ServerLMSWidget::startInitialization_step0()
|
||||
|
||||
connect(assetsManager, &AssetsManager::signal_setVersion, this, &ServerLMSWidget::slot_setVersion);
|
||||
|
||||
connect(this, &ServerLMSWidget::signal_updateDocsXML, docsUpdater, &DocsUpdater::slot_updateDocsXML);
|
||||
|
||||
emit sigUpdateControllerInitialize(commonClientHandler, dataParser, assetsManager);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user