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
@@ -42,24 +42,6 @@ SheetObserver::SheetObserver(App::Document * document, PropertySheet *_sheet)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Unimplemented.
|
||||
*
|
||||
*/
|
||||
|
||||
void SheetObserver::slotCreatedDocument(const App::Document &Doc)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Unimplemented.
|
||||
*
|
||||
*/
|
||||
|
||||
void SheetObserver::slotDeletedDocument(const App::Document &Doc)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Invalidate cells that depend on this document object.
|
||||
*
|
||||
|
||||
@@ -33,8 +33,6 @@ class SheetObserver : public App::DocumentObserver {
|
||||
public:
|
||||
SheetObserver(App::Document* document, PropertySheet *_sheet);
|
||||
~SheetObserver() { }
|
||||
virtual void slotCreatedDocument(const App::Document& Doc);
|
||||
virtual void slotDeletedDocument(const App::Document& Doc);
|
||||
virtual void slotCreatedObject(const App::DocumentObject& Obj);
|
||||
virtual void slotDeletedObject(const App::DocumentObject& Obj);
|
||||
virtual void slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop);
|
||||
|
||||
Reference in New Issue
Block a user