Hide model string for ATC clients

This commit is contained in:
Klaus Basan
2014-12-20 18:13:47 +01:00
parent a03bd4d07f
commit 0b03ac1339
6 changed files with 71 additions and 19 deletions

View File

@@ -48,6 +48,9 @@ namespace BlackMisc
//! Is empty?
bool isEmpty() const { return this->m_callsignAsSet.isEmpty(); }
//! ATC callsign
bool isAtcCallsign() const;
//! Get callsign.
const QString &asString() const { return this->m_callsign; }
@@ -78,6 +81,9 @@ namespace BlackMisc
//! Valid callsign?
static bool isValidCallsign(const QString &callsign);
//! List of ATC appendixes (e.g. TWR);
static const QStringList &atcCallsignAppendixes();
protected:
//! \copydoc CValueObject::convertToQString()
virtual QString convertToQString(bool i18n = false) const override;