Ref T298, matching setup changed signal in contexts/matcher

This commit is contained in:
Klaus Basan
2018-08-08 20:46:20 +02:00
parent ac128eb786
commit 8f9cc645e9
7 changed files with 41 additions and 1 deletions

View File

@@ -65,6 +65,9 @@ namespace BlackCore
s = connection.connect(serviceName, IContextSimulator::ObjectPath(), IContextSimulator::InterfaceName(),
"interpolationAndRenderingSetupChanged", this, SIGNAL(interpolationAndRenderingSetupChanged()));
Q_ASSERT(s);
s = connection.connect(serviceName, IContextSimulator::ObjectPath(), IContextSimulator::InterfaceName(),
"matchingSetupChanged", this, SIGNAL(matchingSetupChanged()));
Q_ASSERT(s);
s = connection.connect(serviceName, IContextSimulator::ObjectPath(), IContextSimulator::InterfaceName(),
"simulatorPluginChanged", this, SIGNAL(simulatorPluginChanged(BlackMisc::Simulation::CSimulatorPluginInfo)));
Q_ASSERT(s);
@@ -258,6 +261,11 @@ namespace BlackCore
return m_dBusInterface->callDBusRet<bool>(QLatin1String("parseCommandLine"), commandLine, originator);
}
bool CContextSimulatorProxy::doMappingAgain(const CCallsign &callsign)
{
return m_dBusInterface->callDBusRet<bool>(QLatin1String("doMappingAgain"), callsign);
}
CMatchingStatistics CContextSimulatorProxy::getCurrentMatchingStatistics(bool missingOnly) const
{
return m_dBusInterface->callDBusRet<CMatchingStatistics>(QLatin1String("getCurrentMatchingStatistics"), missingOnly);