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
RCoordinateListener::updateCoordinate
virtual void updateCoordinate(RDocumentInterface *documentInterface)=0
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(RMath *)
core_global.h
RCoordinateListener::~RCoordinateListener
virtual ~RCoordinateListener()
Definition: RCoordinateListener.h:40
RDocumentInterface
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:85
QCADCORE_EXPORT
#define QCADCORE_EXPORT
Definition: core_global.h:10
RCoordinateListener
Abstract base class for classes that are interested in the current coordinate of the mouse cursor.
Definition: RCoordinateListener.h:38