App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly
This commit is contained in:
committed by
wmayer
parent
546603a287
commit
c30aeb06c1
@@ -254,10 +254,6 @@ void DocumentProtector::init()
|
||||
moveToThread(QCoreApplication::instance()->thread());
|
||||
}
|
||||
|
||||
void DocumentProtector::slotCreatedDocument(const App::Document& Doc)
|
||||
{
|
||||
}
|
||||
|
||||
void DocumentProtector::slotDeletedDocument(const App::Document& Doc)
|
||||
{
|
||||
if (&Doc == getDocument()) {
|
||||
@@ -265,18 +261,6 @@ void DocumentProtector::slotDeletedDocument(const App::Document& Doc)
|
||||
}
|
||||
}
|
||||
|
||||
void DocumentProtector::slotCreatedObject(const App::DocumentObject& Obj)
|
||||
{
|
||||
}
|
||||
|
||||
void DocumentProtector::slotDeletedObject(const App::DocumentObject& Obj)
|
||||
{
|
||||
}
|
||||
|
||||
void DocumentProtector::slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop)
|
||||
{
|
||||
}
|
||||
|
||||
void DocumentProtector::validate()
|
||||
{
|
||||
if (!this->getDocument())
|
||||
|
||||
Reference in New Issue
Block a user