Gui: Use override etc 2

This commit is contained in:
berniev
2022-08-09 13:56:15 +10:00
committed by wwmayer
parent 810c3780de
commit 75fa455c5d
213 changed files with 1723 additions and 1723 deletions

View File

@@ -52,7 +52,7 @@ public:
ViewProviderGeometryObject();
/// destructor.
virtual ~ViewProviderGeometryObject();
~ViewProviderGeometryObject() override;
// Display properties
App::PropertyColor ShapeColor;
@@ -64,10 +64,10 @@ public:
/**
* Attaches the document object to this view provider.
*/
void attach(App::DocumentObject *pcObject);
void updateData(const App::Property*);
void attach(App::DocumentObject *pcObject) override;
void updateData(const App::Property*) override;
bool isSelectable() const {return Selectable.getValue();}
bool isSelectable() const override {return Selectable.getValue();}
/**
* Returns a list of picked points from the geometry under \a getRoot().
@@ -89,7 +89,7 @@ public:
protected:
/// get called by the container whenever a property has been changed
void onChanged(const App::Property* prop);
void onChanged(const App::Property* prop) override;
void setSelectable(bool Selectable=true);
virtual unsigned long getBoundColor() const;