mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 22:15:37 +08:00
Ref T492, alias in model lists and model
Search for alias and modelstring in matching
This commit is contained in:
committed by
Mat Sutcliffe
parent
80e925fe80
commit
58cfdd1bb9
@@ -113,6 +113,9 @@ namespace BlackMisc
|
||||
//! Find first by model string
|
||||
CAircraftModel findFirstByModelStringOrDefault(const QString &modelString, Qt::CaseSensitivity sensitivity = Qt::CaseInsensitive) const;
|
||||
|
||||
//! Find first by model string
|
||||
CAircraftModel findFirstByModelStringAliasOrDefault(const QString &modelString, Qt::CaseSensitivity sensitivity = Qt::CaseInsensitive) const;
|
||||
|
||||
//! Find first by callsign
|
||||
CAircraftModel findFirstByCallsignOrDefault(const Aviation::CCallsign &callsign) const;
|
||||
|
||||
@@ -323,6 +326,9 @@ namespace BlackMisc
|
||||
//! Count different combined types
|
||||
int countCombinedTypes() const;
|
||||
|
||||
//! Models with aliases
|
||||
int countAliases() const;
|
||||
|
||||
//! Update distributor, all models in list are set to given distributor
|
||||
void updateDistributor(const CDistributor &distributor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user