mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
Ref T226, renamed to swiftDbAllDataRead
This commit is contained in:
@@ -62,7 +62,7 @@ namespace BlackCore
|
||||
|
||||
if (sApp && sApp->getWebDataServices())
|
||||
{
|
||||
connect(sApp->getWebDataServices(), &CWebDataServices::allSwiftDbDataRead, this, &CContextOwnAircraft::allSwiftWebDataRead);
|
||||
connect(sApp->getWebDataServices(), &CWebDataServices::swiftDbAllDataRead, this, &CContextOwnAircraft::allSwiftWebDataRead);
|
||||
}
|
||||
|
||||
// Init own aircraft
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace BlackCore
|
||||
// swift data
|
||||
if (sApp && sApp->hasWebDataServices())
|
||||
{
|
||||
connect(sApp->getWebDataServices(), &CWebDataServices::allSwiftDbDataRead, this, &CSimulatorCommon::onSwiftDbAllDataRead, Qt::QueuedConnection);
|
||||
connect(sApp->getWebDataServices(), &CWebDataServices::swiftDbAllDataRead, this, &CSimulatorCommon::onSwiftDbAllDataRead, Qt::QueuedConnection);
|
||||
connect(sApp->getWebDataServices(), &CWebDataServices::swiftDbAirportsRead, this, &CSimulatorCommon::onSwiftDbAirportsRead, Qt::QueuedConnection);
|
||||
connect(sApp->getWebDataServices(), &CWebDataServices::swiftDbModelMatchingEntitiesRead, this, &CSimulatorCommon::onSwiftDbModelMatchingEntitiesRead, Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
@@ -1248,7 +1248,7 @@ namespace BlackCore
|
||||
const int allUsedEntities = static_cast<int>(this->allDbEntitiesForUsedReaders());
|
||||
if (((static_cast<int>(m_swiftDbEntitiesRead)) & allUsedEntities) == allUsedEntities)
|
||||
{
|
||||
emit this->allSwiftDbDataRead();
|
||||
emit this->swiftDbAllDataRead();
|
||||
}
|
||||
|
||||
// individual signals
|
||||
|
||||
@@ -472,7 +472,7 @@ namespace BlackCore
|
||||
//! \name Simplified read signals
|
||||
//! @{
|
||||
//! All swift DB data have been read
|
||||
void allSwiftDbDataRead();
|
||||
void swiftDbAllDataRead();
|
||||
|
||||
//! Shared info objects read
|
||||
void sharedInfoObjectsRead();
|
||||
|
||||
Reference in New Issue
Block a user