refs #602, emoved web service provider

* webservices now directly accessible via sGui
* interface no longer needed
* no init of provider (setProvider) needed anymore
This commit is contained in:
Klaus Basan
2016-02-25 04:30:08 +01:00
committed by Mathew Sutcliffe
parent a0cfa2e687
commit 79f95845b2
69 changed files with 396 additions and 1453 deletions

View File

@@ -81,7 +81,6 @@ void CSwiftData::init()
this->initStyleSheet();
this->initLogDisplay();
connect(&CStyleSheetUtility::instance(), &CStyleSheetUtility::styleSheetsChanged, this, &CSwiftData::ps_onStyleSheetsChanged);
this->initReaders();
this->initMenu();
}
@@ -97,14 +96,6 @@ void CSwiftData::initLogDisplay()
logHandler->subscribe(this, &CSwiftData::ps_appendLogMessage);
}
void CSwiftData::initReaders()
{
Q_ASSERT_X(sApp->getWebDataServices(), Q_FUNC_INFO, "Missing reader");
this->ui->comp_MainInfoArea->setProvider(sApp->getWebDataServices());
this->ui->comp_InfoBar->setProvider(sApp->getWebDataServices());
// web data will be read automatically when setup is syncronized
}
void CSwiftData::initMenu()
{
// menu

View File

@@ -62,7 +62,6 @@ private:
void init();
void initLogDisplay();
void initStyleSheet();
void initReaders();
void initMenu();
void initDynamicMenus();
void performGracefulShutdown();