Mod: Use override etc 2
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user