Use nested namespaces (C++17 feature)

This commit is contained in:
Mat Sutcliffe
2021-09-15 21:44:54 +01:00
parent 3f2e5b0b69
commit 57d32da826
1345 changed files with 146075 additions and 150376 deletions

View File

@@ -10,33 +10,30 @@
#include "ui_modelbrowserdialog.h"
#include "blackgui/guiapplication.h"
namespace BlackGui
namespace BlackGui::Components
{
namespace Components
CModelBrowserDialog::CModelBrowserDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::CModelBrowserDialog)
{
CModelBrowserDialog::CModelBrowserDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::CModelBrowserDialog)
{
ui->setupUi(this);
}
ui->setupUi(this);
}
CModelBrowserDialog::~CModelBrowserDialog()
{
// void;
}
CModelBrowserDialog::~CModelBrowserDialog()
{
// void;
}
bool CModelBrowserDialog::event(QEvent *event)
{
if (CGuiApplication::triggerShowHelp(this, event)) { return true; }
return QDialog::event(event);
}
bool CModelBrowserDialog::event(QEvent *event)
{
if (CGuiApplication::triggerShowHelp(this, event)) { return true; }
return QDialog::event(event);
}
void CModelBrowserDialog::done(int r)
{
ui->comp_ModelBrowser->close();
QDialog::done(r);
}
void CModelBrowserDialog::done(int r)
{
ui->comp_ModelBrowser->close();
QDialog::done(r);
}
} // ns
} // ns