mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
style and consistency:
* rename CStatusMessages to CStatusMessageList * rename NetworkVatlib to CNetworkVatlib * replace all occurrences of Realname with RealName (correct camel case) * CSequence method corresponding to CList::append is push_back * don't compile the qdbuscpp2xml metadata plugin by default * CAircraftIcao string members always trimmed and capitalized * added CComSystem::roundTo25KHz * using epsilon comparison in a couple of places refs #81
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b5c3a5543f
commit
bb61654a29
@@ -41,7 +41,7 @@ namespace BlackMisc
|
||||
IndexCallsignAsString,
|
||||
IndexCallsignAsStringAsSet,
|
||||
IndexController,
|
||||
IndexControllerRealname,
|
||||
IndexControllerRealName,
|
||||
IndexControllerId,
|
||||
IndexFrequency,
|
||||
IndexPosition,
|
||||
@@ -165,7 +165,7 @@ namespace BlackMisc
|
||||
* Get controller name.
|
||||
* \return
|
||||
*/
|
||||
QString getControllerRealname() const { return m_controller.getRealname(); }
|
||||
QString getControllerRealName() const { return m_controller.getRealName(); }
|
||||
|
||||
/*!
|
||||
* Get controller name.
|
||||
@@ -183,7 +183,7 @@ namespace BlackMisc
|
||||
* Set controller's name
|
||||
* \param controllerName
|
||||
*/
|
||||
void setControllerRealname(const QString &controllerName) { this->m_controller.setRealname(controllerName); }
|
||||
void setControllerRealName(const QString &controllerName) { this->m_controller.setRealName(controllerName); }
|
||||
|
||||
/*!
|
||||
* Set controller's id
|
||||
@@ -195,7 +195,7 @@ namespace BlackMisc
|
||||
* \brief Has valid realname?
|
||||
* \return
|
||||
*/
|
||||
bool hasValidRealname() const { return this->m_controller.hasValidRealname(); }
|
||||
bool hasValidRealName() const { return this->m_controller.hasValidRealName(); }
|
||||
|
||||
/*!
|
||||
* \brief Has valid id?
|
||||
@@ -354,7 +354,7 @@ namespace BlackMisc
|
||||
* \brief Set ATIS Message
|
||||
* \param atis
|
||||
*/
|
||||
void setAtisMessage(const QString &atis) { this->m_atis.addMessage(atis); }
|
||||
void setAtisMessage(const QString &atis) { this->m_atis.setMessage(atis); }
|
||||
|
||||
/*!
|
||||
* \brief Get METAR
|
||||
@@ -372,7 +372,7 @@ namespace BlackMisc
|
||||
* \brief Set METAR Message
|
||||
* \param msg
|
||||
*/
|
||||
void setMetarMessage(const QString &metar) { this->m_metar.addMessage(metar); }
|
||||
void setMetarMessage(const QString &metar) { this->m_metar.setMessage(metar); }
|
||||
|
||||
/*!
|
||||
* Set booked until
|
||||
|
||||
Reference in New Issue
Block a user