Expose onBeforeChange to python document observer

This commit is contained in:
ickby
2017-08-15 06:26:26 +02:00
committed by wmayer
parent e338fe6b70
commit 65d6d5cc33
6 changed files with 42 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ private:
/** Checks if the given object is about to be removed. */
void slotDeletedObject(const App::DocumentObject& Obj);
/** The property of an observed object has changed */
void slotBeforeChangeObject(const App::DocumentObject& Obj, const App::Property& Prop);
/** The property of an observed object has changed */
void slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop);
/** Undoes the last transaction of the document */
void slotUndoDocument(const App::Document& Doc);