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
RLayerListenerAdapter.h
Go to the documentation of this file.
1
#ifndef RLAYERLISTENERADAPTER_H_
2
#define RLAYERLISTENERADAPTER_H_
3
4
#include <QObject>
5
6
#include "
RDocumentInterface.h
"
7
#include "
RLayerListener.h
"
8
12
class
RLayerListenerAdapter
:
public
QObject,
public
RLayerListener
{
13
Q_OBJECT
14
15
public
:
16
RLayerListenerAdapter
(QObject* parent=NULL) : QObject(parent) { }
17
virtual
~RLayerListenerAdapter
() { }
18
19
virtual
void
updateLayers
(
RDocumentInterface
* documentInterface) {
20
emit
layersUpdated
(documentInterface);
21
}
22
23
virtual
void
clearLayers
() {
24
emit
layersCleared
();
25
}
26
27
signals:
28
void
layersUpdated
(
RDocumentInterface
* documentInterface);
29
void
layersCleared
();
30
};
31
32
Q_DECLARE_METATYPE
(
RLayerListenerAdapter
*)
33
34
#endif
src
core
RLayerListenerAdapter.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1