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

@@ -14,7 +14,7 @@
#include "blackgui/blackguiexport.h"
#include "blackgui/led.h"
#include "blackmisc/network/webdataservicesprovider.h"
#include "blackmisc/network/entityflags.h"
#include <QFrame>
#include <QScopedPointer>
#include <QTimer>
@@ -26,8 +26,7 @@ namespace BlackGui
{
//! Info bar displaying status of web readers(swift DB, ...)
class BLACKGUI_EXPORT CInfoBarWebReadersStatusComponent :
public QFrame,
public BlackMisc::Network::CWebDataServicesAware
public QFrame
{
Q_OBJECT
@@ -41,9 +40,6 @@ namespace BlackGui
//! Init the LEDs
void initLeds();
//! Set the provider
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
private slots:
//! Data have been read
void ps_dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState readState, int count);