Formatting, naming

This commit is contained in:
Klaus Basan
2016-03-12 05:20:25 +01:00
parent 69b205cc14
commit bd50cfab86
10 changed files with 5 additions and 19 deletions

View File

@@ -21,7 +21,7 @@ namespace BlackSimPlugin
{
namespace Fsx
{
/**
/*!
* A component that gathers all SimConnect-related settings.
*/
class CSimConnectSettingsComponent : public QFrame

View File

@@ -5,10 +5,9 @@ namespace BlackSimPlugin
{
namespace Fsx
{
CSimulatorFsxConfig::CSimulatorFsxConfig(QObject *parent) : QObject(parent)
{
// void
}
BlackGui::CPluginConfigWindow *CSimulatorFsxConfig::createConfigWindow(QWidget *parent)

View File

@@ -19,7 +19,6 @@ namespace BlackSimPlugin
{
namespace Fsx
{
/*!
* Window for setting up the FSX plugin.
*/
@@ -39,7 +38,6 @@ namespace BlackSimPlugin
//! \copydoc BlackGui::IPluginConfig::createConfigWindow()
BlackGui::CPluginConfigWindow *createConfigWindow(QWidget *parent) override;
};
}
}

View File

@@ -8,20 +8,17 @@ namespace BlackSimPlugin
{
namespace Fsx
{
CSimulatorFsxConfigWindow::CSimulatorFsxConfigWindow(QWidget *parent) :
CPluginConfigWindow(parent),
ui(new Ui::CSimulatorFsxConfigWindow)
{
ui->setupUi(this);
connect(ui->bb_OkCancel, &QDialogButtonBox::rejected, this, &QWidget::close);
}
CSimulatorFsxConfigWindow::~CSimulatorFsxConfigWindow()
{
// void
}
}
}

View File

@@ -16,15 +16,12 @@
#include "blackgui/pluginconfigwindow.h"
#include <QScopedPointer>
namespace Ui {
class CSimulatorFsxConfigWindow;
}
namespace Ui { class CSimulatorFsxConfigWindow; }
namespace BlackSimPlugin
{
namespace Fsx
{
/**
* A window the lets user set up the FSX plugin.
*/

View File

@@ -15,7 +15,7 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="BlackSimPlugin::Fsx::CSimConnectSettingsComponent" name="frame">
<widget class="BlackSimPlugin::Fsx::CSimConnectSettingsComponent" name="fr_simConnectSettings">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>

View File

@@ -5,7 +5,6 @@ namespace BlackSimPlugin
{
namespace XPlane
{
CSimulatorXPlaneConfig::CSimulatorXPlaneConfig(QObject *parent) : QObject(parent)
{

View File

@@ -19,7 +19,6 @@ namespace BlackSimPlugin
{
namespace XPlane
{
/*!
* Setting for XBus.
*/
@@ -50,7 +49,6 @@ namespace BlackSimPlugin
//! \copydoc BlackGui::IPluginConfig::createConfigWindow()
BlackGui::CPluginConfigWindow *createConfigWindow(QWidget *parent) override;
};
}
}

View File

@@ -23,7 +23,6 @@ namespace BlackSimPlugin
{
namespace XPlane
{
CSimulatorXPlaneConfigWindow::CSimulatorXPlaneConfigWindow(QWidget *parent) :
CPluginConfigWindow(parent),
ui(new Ui::CSimulatorXPlaneConfigWindow)

View File

@@ -49,7 +49,6 @@ namespace BlackSimPlugin
private:
QScopedPointer<Ui::CSimulatorXPlaneConfigWindow> ui;
BlackMisc::CSetting<XBusServer> m_xbusServerSetting { this };
};
}
}