QCAD
Open Source 2D CAD
RModifiedListener.h
Go to the documentation of this file.
1 
20 #ifndef RMODIFIEDLISTENER_H
21 #define RMODIFIEDLISTENER_H
22 
23 #include "core_global.h"
24 
25 class RStorage;
26 
35 public:
36  virtual ~RModifiedListener() {}
37 
41  virtual void updateModifiedListener(const RStorage* storage) = 0;
42 };
43 
45 
46 #endif
RModifiedListener::updateModifiedListener
virtual void updateModifiedListener(const RStorage *storage)=0
Called by the document whenever the current transaction stack changes.
RModifiedListener::~RModifiedListener
virtual ~RModifiedListener()
Definition: RModifiedListener.h:36
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(RMath *)
core_global.h
RModifiedListener
Abstract base class for classes that are interested in the current state of a storage (modified or un...
Definition: RModifiedListener.h:34
RStorage
This is the abstract base class for all storage implementations.
Definition: RStorage.h:64
QCADCORE_EXPORT
#define QCADCORE_EXPORT
Definition: core_global.h:10