QCAD
Open Source 2D CAD
RPenListener.h
Go to the documentation of this file.
1 
20 #ifndef RPENLISTENER_H
21 #define RPENLISTENER_H
22 
23 #include "core_global.h"
24 
25 class RDocumentInterface;
26 
27 
28 
38 public:
39  virtual ~RPenListener() {}
40 
44  virtual void updatePen(RDocumentInterface* documentInterface) = 0;
45 
49  virtual void clearPen() = 0;
50 };
51 
53 
54 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
virtual ~RPenListener()
Definition: RPenListener.h:39
Abstract base class for classes that are interested in being notified whenever the current pen change...
Definition: RPenListener.h:37
Q_DECLARE_METATYPE(RMath *)
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:82