QCAD
Open Source 2D CAD
RCoordinateListener.h
Go to the documentation of this file.
1 
20 #ifndef RCOORDINATELISTENER_H
21 #define RCOORDINATELISTENER_H
22 
23 #include "core_global.h"
24 
25 #include <QMetaType>
26 
27 class RDocumentInterface;
28 
29 
39 public:
40  virtual ~RCoordinateListener() {}
41  virtual void updateCoordinate(RDocumentInterface* documentInterface) = 0;
42 };
43 
44 Q_DECLARE_METATYPE(QList<RCoordinateListener*>)
46 
47 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
virtual ~RCoordinateListener()
Definition: RCoordinateListener.h:40
Q_DECLARE_METATYPE(RMath *)
Abstract base class for classes that are interested in the current coordinate of the mouse cursor...
Definition: RCoordinateListener.h:38
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:82