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:
Klaus Basan
2014-01-07 23:00:39 +00:00
committed by Mathew Sutcliffe
parent b5c3a5543f
commit bb61654a29
80 changed files with 846 additions and 753 deletions

View File

@@ -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");

View File

@@ -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");

View File

@@ -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");
}