Gui: modernize C++: use override

This commit is contained in:
wmayer
2023-08-03 23:12:19 +02:00
committed by wwmayer
parent e115c52418
commit e72da4d4c4
35 changed files with 186 additions and 168 deletions

View File

@@ -56,7 +56,7 @@ class GuiExport DlgCheckableMessageBox : public QDialog
Q_PROPERTY(QDialogButtonBox::StandardButton defaultButton READ defaultButton WRITE setDefaultButton) // clazy:exclude=qproperty-without-notify
public:
explicit DlgCheckableMessageBox(QWidget *parent);
virtual ~DlgCheckableMessageBox();
~DlgCheckableMessageBox() override;
static QDialogButtonBox::StandardButton
question(QWidget *parent,
@@ -74,8 +74,8 @@ public:
void setPrefPath(const QString& path);
virtual void accept();
virtual void reject();
void accept() override;
void reject() override;
bool isChecked() const;
void setChecked(bool s);