refs #319, Doxygen, headers, formatting

This commit is contained in:
Klaus Basan
2014-09-01 13:21:38 +02:00
parent fc84673bb9
commit 62010a09c8
9 changed files with 34 additions and 17 deletions

View File

@@ -38,8 +38,7 @@ namespace BlackMiscTest
QDateTime dtUntil = dtFrom.addSecs(60 * 60.0); // 1 hour QDateTime dtUntil = dtFrom.addSecs(60 * 60.0); // 1 hour
QDateTime dtFrom2 = dtUntil; QDateTime dtFrom2 = dtUntil;
QDateTime dtUntil2 = dtUntil.addSecs(60 * 60.0); QDateTime dtUntil2 = dtUntil.addSecs(60 * 60.0);
CCoordinateGeodetic geoPos = CCoordinateGeodetic geoPos = CCoordinateGeodetic::fromWgs84("48° 21 13″ N", "11° 47 09″ E", CLength(1487, CLengthUnit::ft()));
CCoordinateGeodetic::fromWgs84("48° 21 13″ N", "11° 47 09″ E", CLength(1487, CLengthUnit::ft()));
CAtcStation station1(CCallsign("eddm_twr"), CUser("123456", "Joe Doe"), CAtcStation station1(CCallsign("eddm_twr"), CUser("123456", "Joe Doe"),
CFrequency(118.7, CFrequencyUnit::MHz()), CFrequency(118.7, CFrequencyUnit::MHz()),
geoPos, CLength(50, CLengthUnit::km()), false, dtFrom, dtUntil); geoPos, CLength(50, CLengthUnit::km()), false, dtFrom, dtUntil);

View File

@@ -1,7 +1,11 @@
/* Copyright (C) 2013 VATSIM Community / contributors /* Copyright (C) 2013
* This Source Code Form is subject to the terms of the Mozilla Public * swift Project Community / Contributors
* License, v. 2.0. If a copy of the MPL was not distributed with this *
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#include "context_network.h" #include "context_network.h"
#include "context_network_impl.h" #include "context_network_impl.h"

View File

@@ -1,7 +1,11 @@
/* Copyright (C) 2013 VATSIM Community / contributors /* Copyright (C) 2013
* This Source Code Form is subject to the terms of the Mozilla Public * swift Project Community / Contributors
* License, v. 2.0. If a copy of the MPL was not distributed with this *
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file //! \file

View File

@@ -350,7 +350,7 @@ namespace BlackCore
} }
/* /*
* Update bookings * Updated bookings
*/ */
void CContextNetwork::ps_ReceivedBookings(const CAtcStationList &) void CContextNetwork::ps_ReceivedBookings(const CAtcStationList &)
{ {

View File

@@ -1,5 +1,5 @@
/* Copyright (C) 2013 /* Copyright (C) 2013
* Swift Project Community / Contributors * swift Project Community / Contributors
* *
* This file is part of Swift Project. It is subject to the license terms in the LICENSE file found in the top-level * This file is part of Swift Project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project, * directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,

View File

@@ -36,7 +36,6 @@ namespace BlackGui
new CBoolIconFormatter(CIcons::StandardIconTick, CIcons::StandardIconCross, "queried", "not queried"))); new CBoolIconFormatter(CIcons::StandardIconTick, CIcons::StandardIconCross, "queried", "not queried")));
this->m_columns.addColumn(CColumn::standardString("server", CClient::IndexServer)); this->m_columns.addColumn(CColumn::standardString("server", CClient::IndexServer));
// force strings for translation in resource files
// force strings for translation in resource files // force strings for translation in resource files
(void)QT_TRANSLATE_NOOP("ViewClientList", "callsign"); (void)QT_TRANSLATE_NOOP("ViewClientList", "callsign");
(void)QT_TRANSLATE_NOOP("ViewClientList", "realname"); (void)QT_TRANSLATE_NOOP("ViewClientList", "realname");

View File

@@ -167,6 +167,6 @@ namespace BlackGui
ContainerType sortListByColumn(const ContainerType &list, int column, Qt::SortOrder order); ContainerType sortListByColumn(const ContainerType &list, int column, Qt::SortOrder order);
}; };
} } // namespace
} } // namespace
#endif // guard #endif // guard

View File

@@ -94,6 +94,8 @@ namespace BlackGui
protected: protected:
ModelClass *m_model = nullptr; //!< corresponding model
//! Constructor //! Constructor
CViewBase(QWidget *parent, ModelClass *model = nullptr) : QTableView(parent), m_model(model) CViewBase(QWidget *parent, ModelClass *model = nullptr) : QTableView(parent), m_model(model)
{ {

View File

@@ -1,3 +1,12 @@
/* Copyright (C) 2013
* swift Project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#ifndef BLACKMISC_CPROJECT_H #ifndef BLACKMISC_CPROJECT_H
#define BLACKMISC_CPROJECT_H #define BLACKMISC_CPROJECT_H
@@ -7,7 +16,7 @@ namespace BlackMisc
{ {
/*! /*!
* \brief Metadata about the project * Metadata about the project
*/ */
class CProject class CProject
{ {
@@ -33,7 +42,7 @@ namespace BlackMisc
//! with GUI? //! with GUI?
static bool isCompiledWithGui(); static bool isCompiledWithGui();
//! Compiled with as info string //! Info string about compilation
static const QString &compiledInfo(); static const QString &compiledInfo();
//! Simulator String info //! Simulator String info