aboutsummaryrefslogtreecommitdiffstats
path: root/utils/alsoft-config/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/alsoft-config/mainwindow.h')
-rw-r--r--utils/alsoft-config/mainwindow.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/utils/alsoft-config/mainwindow.h b/utils/alsoft-config/mainwindow.h
index f7af8eac..e2d30b86 100644
--- a/utils/alsoft-config/mainwindow.h
+++ b/utils/alsoft-config/mainwindow.h
@@ -8,13 +8,12 @@ namespace Ui {
class MainWindow;
}
-class MainWindow : public QMainWindow
-{
+class MainWindow : public QMainWindow {
Q_OBJECT
public:
- explicit MainWindow(QWidget *parent = 0);
- ~MainWindow();
+ explicit MainWindow(QWidget *parent=nullptr);
+ ~MainWindow() override;
private slots:
void cancelCloseAction();
@@ -63,17 +62,17 @@ private slots:
private:
Ui::MainWindow *ui;
- QValidator *mPeriodSizeValidator;
- QValidator *mPeriodCountValidator;
- QValidator *mSourceCountValidator;
- QValidator *mEffectSlotValidator;
- QValidator *mSourceSendValidator;
- QValidator *mSampleRateValidator;
- QValidator *mJackBufferValidator;
+ QValidator *mPeriodSizeValidator{};
+ QValidator *mPeriodCountValidator{};
+ QValidator *mSourceCountValidator{};
+ QValidator *mEffectSlotValidator{};
+ QValidator *mSourceSendValidator{};
+ QValidator *mSampleRateValidator{};
+ QValidator *mJackBufferValidator{};
- bool mNeedsSave;
+ bool mNeedsSave{};
- void closeEvent(QCloseEvent *event);
+ void closeEvent(QCloseEvent *event) override;
void selectDecoderFile(QLineEdit *line, const char *name);