QCAD
Open Source 2D CAD
RViewFocusListener.h
Go to the documentation of this file.
1 
20 #ifndef RVIEWFOCUSLISTENER_H
21 #define RVIEWFOCUSLISTENER_H
22 
23 #include "core_global.h"
24 
25 class RGraphicsView;
26 
27 
28 
37 public:
38  virtual ~RViewFocusListener() {}
39 
46  virtual void updateFocus(RGraphicsView* view) = 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 view focus.
Definition: RViewFocusListener.h:36
virtual ~RViewFocusListener()
Definition: RViewFocusListener.h:38
Graphics view.
Definition: RGraphicsView.h:58