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
38
class
QCADCORE_EXPORT
RCoordinateListener
{
39
public
:
40
virtual
~RCoordinateListener
() {}
41
virtual
void
updateCoordinate
(
RDocumentInterface
* documentInterface) = 0;
42
};
43
44
Q_DECLARE_METATYPE
(QList<RCoordinateListener*>)
45
Q_DECLARE_METATYPE
(
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
src
core
RCoordinateListener.h
Generated on Thu Apr 15 2021 10:10:18 for QCAD by
1.8.18