QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RSelectionListenerAdapter.h
Go to the documentation of this file.
1 #ifndef RSELECTIONLISTENERADAPTER_H_
2 #define RSELECTIONLISTENERADAPTER_H_
3 
4 #include <QObject>
5 
6 #include "RDocumentInterface.h"
7 #include "RSelectionListener.h"
8 #include "RMainWindow.h"
9 
13 class RSelectionListenerAdapter: public QObject, public RSelectionListener {
14 Q_OBJECT
15 
16 public:
17  RSelectionListenerAdapter(QObject* parent=NULL) : QObject(parent) { }
19 
20  virtual void updateSelectionListener(RDocumentInterface* documentInterface);
21 
22 signals:
23  void selectionChanged(RDocumentInterface* documentInterface);
24 };
25 
27 
28 #endif