App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly
This commit is contained in:
committed by
wmayer
parent
3f8350157a
commit
0603c3fb61
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user