QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
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
9
class
RDocumentInterface
;
10
18
class
RCoordinateListenerAdapter
:
public
QObject,
public
RCoordinateListener
{
19
Q_OBJECT
20
21
public
:
22
RCoordinateListenerAdapter
(QObject* parent=NULL) : QObject(parent) { }
23
virtual
~RCoordinateListenerAdapter
() { }
24
25
virtual
void
updateCoordinate
(
RDocumentInterface
* documentInterface) {
26
emit
coordinateUpdated
(documentInterface);
27
}
28
29
signals:
30
void
coordinateUpdated
(
RDocumentInterface
* documentInterface);
31
};
32
33
Q_DECLARE_METATYPE
(
RCoordinateListenerAdapter
*)
34
35
#endif
src
core
RCoordinateListenerAdapter.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1