Minor formatting

This commit is contained in:
Klaus Basan
2016-11-13 00:53:16 +01:00
parent 8a44774c98
commit 4d7e69e5b0
2 changed files with 10 additions and 13 deletions

View File

@@ -125,6 +125,15 @@ namespace BlackGui
//! Adding a remote aircraft failed
void ps_addingRemoteAircraftFailed(const BlackMisc::Simulation::CSimulatedAircraft &aircraft, const BlackMisc::CStatusMessage &message);
//! Updated by timer
void ps_backgroundUpdate();
//! Settings have been changed
void ps_settingsChanged();
//! Connection status has been changed
void ps_connectionStatusChanged(BlackCore::INetwork::ConnectionStatus from, BlackCore::INetwork::ConnectionStatus to);
private:
//! Identifier for data send from this component
BlackMisc::CIdentifier mappingIdentifier();
@@ -139,18 +148,8 @@ namespace BlackGui
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settings { this, &CMappingComponent::ps_settingsChanged }; //!< settings changed
bool m_missedRenderedAircraftUpdate = true; //! Rendered aircraft need update
QTimer m_updateTimer { this };
BlackGui::Views::CCheckBoxDelegate *m_currentMappingsViewDelegate = nullptr;
BlackGui::Views::CCheckBoxDelegate *m_currentMappingsViewDelegate = nullptr; //! checkbox in view
BlackMisc::CIdentifier m_identifier;
private slots:
//! Updated by timer
void ps_backgroundUpdate();
//! Settings have been changed
void ps_settingsChanged();
//! Connection status has been changed
void ps_connectionStatusChanged(BlackCore::INetwork::ConnectionStatus from, BlackCore::INetwork::ConnectionStatus to);
};
} // namespace
} // namespace

View File

@@ -28,7 +28,6 @@ namespace BlackGui
{
namespace Views
{
//! CheckBox for single column
class BLACKGUI_EXPORT CCheckBoxDelegate : public QItemDelegate
{
@@ -60,7 +59,6 @@ namespace BlackGui
QString m_iconCheckedUrl;
QString m_iconUncheckedUrl;
};
} // namespace
} // namespace