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

Use Q_DECL_OVERRIDE

parent 01202211
...@@ -50,7 +50,7 @@ public: ...@@ -50,7 +50,7 @@ public:
public slots: public slots:
/** @brief Toggle the comments on or off */ /** @brief Toggle the comments on or off */
void slotShowComment(bool); void slotShowComment(bool) Q_DECL_OVERRIDE;
}; };
......
...@@ -88,7 +88,7 @@ protected: ...@@ -88,7 +88,7 @@ protected:
public: public:
/** @brief Toggle the comments on or off /** @brief Toggle the comments on or off
*/ */
void slotShowComment(bool); void slotShowComment(bool) Q_DECL_OVERRIDE;
private: private:
Ui::BezierSpline_UI m_ui; Ui::BezierSpline_UI m_ui;
DragValue *m_pX; DragValue *m_pX;
......
...@@ -33,9 +33,9 @@ class DraggableLabel : public QLabel ...@@ -33,9 +33,9 @@ class DraggableLabel : public QLabel
public: public:
explicit DraggableLabel(const QString &text, QWidget *parent = nullptr); explicit DraggableLabel(const QString &text, QWidget *parent = nullptr);
protected: protected:
void mousePressEvent(QMouseEvent *ev); void mousePressEvent(QMouseEvent *ev) Q_DECL_OVERRIDE;
void mouseReleaseEvent(QMouseEvent *ev); void mouseReleaseEvent(QMouseEvent *ev) Q_DECL_OVERRIDE;
void mouseMoveEvent(QMouseEvent *ev); void mouseMoveEvent(QMouseEvent *ev) Q_DECL_OVERRIDE;
signals: signals:
void startDrag(const QString &); void startDrag(const QString &);
private: private:
......
...@@ -76,7 +76,7 @@ public: ...@@ -76,7 +76,7 @@ public:
public slots: public slots:
/** @brief Toggle the comments on or off */ /** @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