QCAD
Open Source 2D CAD
RFocusListener.h
Go to the documentation of this file.
1 
20 #ifndef RFOCUSLISTENER_H
21 #define RFOCUSLISTENER_H
22 
23 #include "core_global.h"
24 
25 class RDocumentInterface;
26 
27 
28 
37 public:
38  virtual ~RFocusListener() {}
39 
46  virtual void updateFocus(RDocumentInterface* di) = 0;
47 };
48 
50 
51 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
Q_DECLARE_METATYPE(RMath *)
Abstract base class for classes that are interested in the current focus.
Definition: RFocusListener.h:36
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:82
virtual ~RFocusListener()
Definition: RFocusListener.h:38