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 3f8350157a
commit 0603c3fb61
11 changed files with 10 additions and 99 deletions

View File

@@ -80,10 +80,6 @@ void ActiveAnalysisObserver::highlightActiveObject(const Gui::HighlightMode& mod
activeDocument->signalHighlightObject(*activeView, mode, on);
}
void ActiveAnalysisObserver::slotCreatedDocument(const App::Document& Doc)
{
}
void ActiveAnalysisObserver::slotDeletedDocument(const App::Document& Doc)
{
App::Document* d = getDocument();
@@ -95,10 +91,6 @@ void ActiveAnalysisObserver::slotDeletedDocument(const App::Document& Doc)
}
}
void ActiveAnalysisObserver::slotCreatedObject(const App::DocumentObject& Obj)
{
}
void ActiveAnalysisObserver::slotDeletedObject(const App::DocumentObject& Obj)
{
if (activeObject == &Obj) {
@@ -106,7 +98,3 @@ void ActiveAnalysisObserver::slotDeletedObject(const App::DocumentObject& Obj)
activeView = 0;
}
}
void ActiveAnalysisObserver::slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop)
{
}