refs #369, smaller changes

* rendered attribute in CSimulatedAircraft
* Formatting
* contains in CPropertyIndex
* CAircraftModel, new type
This commit is contained in:
Klaus Basan
2015-02-05 23:50:44 +01:00
parent 366721d9ad
commit 89424647aa
7 changed files with 45 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ namespace BlackMisc
TypeUnknown,
TypeQueriedFromNetwork, //!< model was queried by network protocol
TypeModelMatching, //!< model is result of model matching
TypeModelMatchingDefaultModel, //!< a default model assigned by model matching
TypeModelMapping, //!< used along with mapping definition
TypeManuallySet, //!< manually set, e.g. from GUI
TypeOwnSimulatorModel //!< represents own simulator model
@@ -56,6 +57,10 @@ namespace BlackMisc
//! Constructor.
CAircraftModel(const QString &model, ModelType type) : m_modelString(model), m_modelType(type) {}
//! Constructor.
CAircraftModel(const QString &model, ModelType type, const QString &description, const BlackMisc::Aviation::CAircraftIcao &icao) :
m_icao(icao), m_modelString(model), m_description(description), m_modelType(type) {}
//! Constructor
CAircraftModel(const BlackMisc::Aviation::CAircraft &aircraft);