Commit d79c3cb1 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE

parent 01202211
......@@ -50,7 +50,7 @@ public:
public slots:
/** @brief Toggle the comments on or off */
void slotShowComment(bool);
void slotShowComment(bool) Q_DECL_OVERRIDE;
};
......
......@@ -88,7 +88,7 @@ protected:
public:
/** @brief Toggle the comments on or off
*/
void slotShowComment(bool);
void slotShowComment(bool) Q_DECL_OVERRIDE;
private:
Ui::BezierSpline_UI m_ui;
DragValue *m_pX;
......
......@@ -33,9 +33,9 @@ class DraggableLabel : public QLabel
public:
explicit DraggableLabel(const QString &text, QWidget *parent = nullptr);
protected:
void mousePressEvent(QMouseEvent *ev);
void mouseReleaseEvent(QMouseEvent *ev);
void mouseMoveEvent(QMouseEvent *ev);
void mousePressEvent(QMouseEvent *ev) Q_DECL_OVERRIDE;
void mouseReleaseEvent(QMouseEvent *ev) Q_DECL_OVERRIDE;
void mouseMoveEvent(QMouseEvent *ev) Q_DECL_OVERRIDE;
signals:
void startDrag(const QString &);
private:
......
......@@ -76,7 +76,7 @@ public:
public slots:
/** @brief Toggle the comments on or off */
void slotShowComment(bool);
void slotShowComment(bool) Q_DECL_OVERRIDE;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment