fix override warnings
This commit is contained in:
@@ -41,7 +41,7 @@ class DrawPage;
|
||||
*/
|
||||
class TechDrawExport DrawView : public App::DocumentObject
|
||||
{
|
||||
PROPERTY_HEADER(TechDraw::DrawView);
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(TechDraw::DrawView);
|
||||
|
||||
public:
|
||||
/// Constructor
|
||||
@@ -60,16 +60,16 @@ public:
|
||||
/** @name methods overide Feature */
|
||||
//@{
|
||||
/// recalculate the Feature
|
||||
virtual App::DocumentObjectExecReturn *execute(void);
|
||||
virtual void onDocumentRestored();
|
||||
virtual App::DocumentObjectExecReturn *execute(void) override;
|
||||
virtual void onDocumentRestored() override;
|
||||
virtual short mustExecute() const override;
|
||||
//@}
|
||||
void Restore(Base::XMLReader &reader);
|
||||
void Restore(Base::XMLReader &reader) override;
|
||||
|
||||
bool isInClip();
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
virtual const char* getViewProviderName(void) const {
|
||||
virtual const char* getViewProviderName(void) const override {
|
||||
return "TechDrawGui::ViewProviderDrawingView";
|
||||
}
|
||||
//return PyObject as DrawViewPy
|
||||
@@ -90,7 +90,7 @@ public:
|
||||
void checkScale(void);
|
||||
|
||||
protected:
|
||||
void onChanged(const App::Property* prop);
|
||||
void onChanged(const App::Property* prop) override;
|
||||
std::string pageFeatName;
|
||||
bool autoPos;
|
||||
bool mouseMove;
|
||||
|
||||
Reference in New Issue
Block a user