Ref T280, QHash for aircraft and models and some minor improvements

* CValueObject::comparePropertyByIndex
* bool "true" if value has been changed
This commit is contained in:
Klaus Basan
2018-06-13 23:14:26 +02:00
parent 9777bf963c
commit d49831abc4
6 changed files with 38 additions and 3 deletions

View File

@@ -117,10 +117,15 @@ namespace BlackMisc
//! Number of aircraft with parts
int countAircraftPartsSynchronized() const;
};
//! Aircraft per callsign
using CSimulatedAircraftPerCallsign = QHash<Aviation::CCallsign, CSimulatedAircraft>;
} //namespace
} // namespace
Q_DECLARE_METATYPE(BlackMisc::Simulation::CSimulatedAircraftList)
Q_DECLARE_METATYPE(BlackMisc::Simulation::CSimulatedAircraftPerCallsign)
Q_DECLARE_METATYPE(BlackMisc::CCollection<BlackMisc::Simulation::CSimulatedAircraft>)
Q_DECLARE_METATYPE(BlackMisc::CSequence<BlackMisc::Simulation::CSimulatedAircraft>)