|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
20 #ifndef RENTITYEXPORTLISTENER_H
21 #define RENTITYEXPORTLISTENER_H
49 registeredProperties.insert(QPair<QString, QString>(title, regExp));
53 QSet<QPair<QString, QString> >::const_iterator it;
54 for (it=registeredProperties.constBegin(); it!=registeredProperties.constEnd(); it++) {
bool hasCustomProperty(const QString &title, const QString &key) const
Definition: RObject.cpp:457
virtual ~REntityExportListener()
Definition: REntityExportListener.h:42
virtual bool checkCustomProperty(REntity *e) const
Definition: REntityExportListener.h:52
virtual void registerCustomProperty(const QString &title, const QString ®Exp)
Registers the given custom property as trigger.
Definition: REntityExportListener.h:48
Base class for all entity classes.
Definition: REntity.h:65
Q_DECLARE_METATYPE(RMath *)
QSet< QPair< QString, QString > > registeredProperties
Definition: REntityExportListener.h:74
Abstract base class for exporters.
Definition: RExporter.h:72
virtual void exportEntity(RExporter *exporter, REntity *entity)=0
Called by the document whenever an entity is exporter with one of the registered custom properties.
Abstract base class for classes that wish to be notified when an entity is exported.
Definition: REntityExportListener.h:40
#define QCADCORE_EXPORT
Definition: core_global.h:10