mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
refs #619, function to get all ICAO designators as string list
This commit is contained in:
@@ -71,6 +71,9 @@ namespace BlackMisc
|
||||
//! For selection completion
|
||||
QStringList toCompleterStrings(bool withIataCodes = false, bool withFamily = false) const;
|
||||
|
||||
//! All ICAO codes, no duplicates
|
||||
QStringList allIcaoCodes(bool noUnspecified = true) const;
|
||||
|
||||
//! From our database JSON format
|
||||
static CAircraftIcaoCodeList fromDatabaseJson(const QJsonArray &array, bool ignoreIncomplete = true);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user