App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly

This commit is contained in:
Alexander Golubev
2015-08-02 18:52:03 +03:00
committed by wmayer
parent 546603a287
commit c30aeb06c1
11 changed files with 10 additions and 99 deletions

View File

@@ -224,14 +224,6 @@ void ViewProviderMeshCurvature::init(const Mesh::PropertyCurvatureList* pCurvInf
pcColorBar->setRange( fMin, fMax, 3 );
}
void ViewProviderMeshCurvature::slotCreatedObject(const App::DocumentObject& Obj)
{
}
void ViewProviderMeshCurvature::slotDeletedObject(const App::DocumentObject& Obj)
{
}
void ViewProviderMeshCurvature::slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop)
{
// we get this for any object for that a property has changed. Thus, we must regard that object
@@ -248,14 +240,6 @@ void ViewProviderMeshCurvature::slotChangedObject(const App::DocumentObject& Obj
}
}
void ViewProviderMeshCurvature::slotCreatedDocument(const App::Document& Doc)
{
}
void ViewProviderMeshCurvature::slotDeletedDocument(const App::Document& Doc)
{
}
void ViewProviderMeshCurvature::attach(App::DocumentObject *pcFeat)
{
// creats the standard viewing modes