QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RCoordinateListenerAdapter.h
Go to the documentation of this file.
1 #ifndef RCOORDINATELISTENERADAPTER_H_
2 #define RCOORDINATELISTENERADAPTER_H_
3 
4 #include <QObject>
5 
6 #include "RVector.h"
7 #include "RCoordinateListener.h"
8 
10 
18 class RCoordinateListenerAdapter: public QObject, public RCoordinateListener {
19 Q_OBJECT
20 
21 public:
22  RCoordinateListenerAdapter(QObject* parent=NULL) : QObject(parent) { }
24 
25  virtual void updateCoordinate(RDocumentInterface* documentInterface) {
26  emit coordinateUpdated(documentInterface);
27  }
28 
29 signals:
30  void coordinateUpdated(RDocumentInterface* documentInterface);
31 };
32 
34 
35 #endif