mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
Ref T129, some more utility functions for aviation value objects
* removed static variables from SELCAL * more finder functions for airline ICAO list * check for IATA code * unify callsign now public
This commit is contained in:
committed by
Mathew Sutcliffe
parent
686cb03170
commit
3fb2f88032
@@ -134,6 +134,9 @@ namespace BlackMisc
|
||||
//! Valid callsign?
|
||||
static bool isValidAtcCallsign(const CCallsign &callsign);
|
||||
|
||||
//! Unify the callsign by removing illegal characters
|
||||
static QString unifyCallsign(const QString &callsign);
|
||||
|
||||
//! List of real ATC suffixes (e.g. TWR);
|
||||
static const QStringList &atcCallsignSuffixes();
|
||||
|
||||
@@ -161,10 +164,6 @@ namespace BlackMisc
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString()
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
protected:
|
||||
//! Unify the callsign
|
||||
static QString unifyCallsign(const QString &callsign);
|
||||
|
||||
private:
|
||||
QString m_callsignAsSet;
|
||||
QString m_callsign;
|
||||
|
||||
Reference in New Issue
Block a user