Clean up warnings due to missing 'override'.

This commit is contained in:
Ian Rees 2016-06-16 14:14:52 +02:00 committed by wmayer
parent f4dee44f42
commit fa6c8805ba
3 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ private Q_SLOTS:
void onModeChanged(int);
protected:
void changeEvent(QEvent *e);
void changeEvent(QEvent *e) override;
private:
double getLength(void) const;
@ -76,7 +76,7 @@ private:
bool getMidplane(void) const;
int getMode(void) const;
QString getFaceName(void) const;
void onSelectionChanged(const Gui::SelectionChanges& msg);
void onSelectionChanged(const Gui::SelectionChanges& msg) override;
void updateUI(int index);
private:

View File

@ -65,7 +65,7 @@ private Q_SLOTS:
void onModeChanged(int);
protected:
void changeEvent(QEvent *e);
void changeEvent(QEvent *e) override;
private:
double getLength(void) const;
@ -75,7 +75,7 @@ private:
bool getReversed(void) const;
QString getFaceName(void) const;
void onSelectionChanged(const Gui::SelectionChanges& msg);
void onSelectionChanged(const Gui::SelectionChanges& msg) override;
void updateUI(int index);
private:

View File

@ -71,8 +71,8 @@ private Q_SLOTS:
void onReversed(bool);
protected:
void onSelectionChanged(const Gui::SelectionChanges& msg);
void changeEvent(QEvent *e);
void onSelectionChanged(const Gui::SelectionChanges& msg) override;
void changeEvent(QEvent *e) override;
const bool updateView() const;
void getReferenceAxis(App::DocumentObject *&obj, std::vector<std::string> &sub) const;
double getAngle(void) const;