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
RBlockListenerAdapter.h
Go to the documentation of this file.
1
#ifndef RBLOCKLISTENERADAPTER_H_
2
#define RBLOCKLISTENERADAPTER_H_
3
4
#include <QObject>
5
6
#include "
RDocumentInterface.h
"
7
#include "
RVector.h
"
8
#include "
RBlockListener.h
"
9
17
class
RBlockListenerAdapter
:
public
QObject,
public
RBlockListener
{
18
Q_OBJECT
19
20
public
:
21
RBlockListenerAdapter
(QObject* parent=NULL) : QObject(parent) { }
22
virtual
~RBlockListenerAdapter
() { }
23
24
virtual
void
updateBlocks
(
RDocumentInterface
* documentInterface) {
25
emit
blocksUpdated
(documentInterface);
26
}
27
28
virtual
void
clearBlocks
() {
29
emit
blocksCleared
();
30
}
31
32
signals:
33
void
blocksUpdated
(
RDocumentInterface
* documentInterface);
34
void
blocksCleared
();
35
};
36
37
Q_DECLARE_METATYPE
(
RBlockListenerAdapter
*)
38
39
#endif
src
core
RBlockListenerAdapter.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1