refs #478, setup class used in GUI components

This commit is contained in:
Klaus Basan
2015-10-14 02:39:52 +02:00
committed by Mathew Sutcliffe
parent 53ba50dd3a
commit 166963af5b
4 changed files with 14 additions and 10 deletions

View File

@@ -14,6 +14,7 @@
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include "blackcore/data/globalsetup.h"
#include "blackcore/settings/network.h"
#include <QFrame>
#include <QScopedPointer>
@@ -52,6 +53,7 @@ namespace BlackGui
private:
QScopedPointer<Ui::CSettingsNetworkServersComponent> ui;
BlackCore::CSetting<BlackCore::Settings::Network::TrafficServers> m_trafficNetworkServers { this };
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
};
} // ns
} // ns