mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
Use nested namespaces (C++17 feature)
This commit is contained in:
@@ -17,41 +17,38 @@
|
||||
#include "blackcore/context/contextapplication.h"
|
||||
|
||||
namespace Ui { class CApplicationCloseDialog; }
|
||||
namespace BlackGui
|
||||
namespace BlackGui::Components
|
||||
{
|
||||
namespace Components
|
||||
/*!
|
||||
* Close dialog for application
|
||||
*/
|
||||
class CApplicationCloseDialog : public QDialog
|
||||
{
|
||||
/*!
|
||||
* Close dialog for application
|
||||
*/
|
||||
class CApplicationCloseDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CApplicationCloseDialog(QWidget *parent = nullptr);
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CApplicationCloseDialog(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CApplicationCloseDialog();
|
||||
//! Destructor
|
||||
virtual ~CApplicationCloseDialog();
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CApplicationCloseDialog> ui;
|
||||
QStringList m_settingsDescriptions; //!< values as displayed
|
||||
BlackCore::Context::CSettingsDictionary m_settingsDictionary; //!< values and descriptions, unsorted
|
||||
private:
|
||||
QScopedPointer<Ui::CApplicationCloseDialog> ui;
|
||||
QStringList m_settingsDescriptions; //!< values as displayed
|
||||
BlackCore::Context::CSettingsDictionary m_settingsDictionary; //!< values and descriptions, unsorted
|
||||
|
||||
//! Accepted
|
||||
void onAccepted();
|
||||
//! Accepted
|
||||
void onAccepted();
|
||||
|
||||
//! Rejected
|
||||
void onRejected();
|
||||
//! Rejected
|
||||
void onRejected();
|
||||
|
||||
//! Button pressed
|
||||
void buttonClicked(QAbstractButton *button);
|
||||
//! Button pressed
|
||||
void buttonClicked(QAbstractButton *button);
|
||||
|
||||
//! Init the settings view
|
||||
void initSettingsView();
|
||||
};
|
||||
} // ns
|
||||
//! Init the settings view
|
||||
void initSettingsView();
|
||||
};
|
||||
} // ns
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user