mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 21:45:34 +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
@@ -17,7 +17,7 @@ namespace BlackGui
|
||||
CAircraftListModel::CAircraftListModel(QObject *parent) : CListModelBase("ViewAircraftList", parent)
|
||||
{
|
||||
this->m_columns.addColumn(CAircraft::IndexCallsign, "callsign");
|
||||
this->m_columns.addColumn(CAircraft::IndexPilotRealname, "pilotrealname");
|
||||
this->m_columns.addColumn(CAircraft::IndexPilotRealName, "pilotrealname");
|
||||
this->m_columns.addColumn(CAircraft::IndexDistance, "distance", Qt::AlignRight | Qt::AlignVCenter);
|
||||
this->m_columns.addColumn(CAircraft::IndexFrequencyCom1, "frequency", Qt::AlignRight | Qt::AlignVCenter);
|
||||
this->m_columns.addColumn(CAircraftIcao::IndexAsString, "model");
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace BlackGui
|
||||
this->m_columns.addColumn(CAtcStation::IndexCallsignAsStringAsSet, "callsign");
|
||||
this->m_columns.addColumn(CAtcStation::IndexDistance, "distance", Qt::AlignRight | Qt::AlignVCenter);
|
||||
this->m_columns.addColumn(CAtcStation::IndexFrequency, "frequency", Qt::AlignRight | Qt::AlignVCenter);
|
||||
this->m_columns.addColumn(CAtcStation::IndexControllerRealname, "controllername");
|
||||
this->m_columns.addColumn(CAtcStation::IndexControllerRealName, "controllername");
|
||||
this->m_columns.addColumn(CAtcStation::IndexIsOnline, "online");
|
||||
this->m_columns.addColumn(CAtcStation::IndexBookedFrom, "bookedfrom");
|
||||
this->m_columns.addColumn(CAtcStation::IndexBookedUntil, "bookeduntil");
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace BlackGui
|
||||
this->m_columns.addColumn(CServer::IndexDescription, "description");
|
||||
this->m_columns.addColumn(CServer::IndexAddress, "address");
|
||||
this->m_columns.addColumn(CServer::IndexPort, "port");
|
||||
this->m_columns.addColumn(CServer::IndexUserRealname, "username");
|
||||
this->m_columns.addColumn(CServer::IndexUserRealName, "realname");
|
||||
this->m_columns.addColumn(CServer::IndexUserId, "userid");
|
||||
|
||||
// force strings for translation in resource files
|
||||
@@ -30,7 +30,7 @@ namespace BlackGui
|
||||
(void)QT_TRANSLATE_NOOP("ViewServerList", "description");
|
||||
(void)QT_TRANSLATE_NOOP("ViewServerList", "address");
|
||||
(void)QT_TRANSLATE_NOOP("ViewServerList", "port");
|
||||
(void)QT_TRANSLATE_NOOP("ViewServerList", "username");
|
||||
(void)QT_TRANSLATE_NOOP("ViewServerList", "realname");
|
||||
(void)QT_TRANSLATE_NOOP("ViewServerList", "userid");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user