Mod: Use override etc 2

This commit is contained in:
berniev
2022-08-09 11:53:46 +10:00
committed by wwmayer
parent 75fa455c5d
commit 71dc5ead2f
697 changed files with 4956 additions and 4956 deletions

View File

@@ -92,7 +92,7 @@ class TaskSelectLineAttributes : public QWidget
public:
TaskSelectLineAttributes(lineAttributes * ptActiveAttributes);
~TaskSelectLineAttributes();
~TaskSelectLineAttributes() override;
public Q_SLOTS:
@@ -104,7 +104,7 @@ public:
protected Q_SLOTS:
protected:
void changeEvent(QEvent *e);
void changeEvent(QEvent *e) override;
void setUiEdit();
@@ -119,20 +119,20 @@ class TaskDlgSelectLineAttributes : public Gui::TaskView::TaskDialog
public:
TaskDlgSelectLineAttributes(lineAttributes * ptActiveAttributes);
~TaskDlgSelectLineAttributes();
~TaskDlgSelectLineAttributes() override;
public:
/// is called the TaskView when the dialog is opened
virtual void open();
void open() override;
/// is called by the framework if an button is clicked which has no accept or reject role
virtual void clicked(int);
void clicked(int) override;
/// is called by the framework if the dialog is accepted (Ok)
virtual bool accept();
bool accept() override;
/// is called by the framework if the dialog is rejected (Cancel)
virtual bool reject();
bool reject() override;
/// is called by the framework if the user presses the help button
virtual void helpRequested() { return;}
virtual bool isAllowedAlterDocument() const
void helpRequested() override { return;}
bool isAllowedAlterDocument() const override
{ return false; }
void update();