QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RExplodable.h
Go to the documentation of this file.
1 #ifndef REXPLODABLE_H
2 #define REXPLODABLE_H
3 
4 #include <QSharedPointer>
5 
6 #include "RShape.h"
7 
15 class RExplodable {
16 public:
17  virtual ~RExplodable() {}
18  virtual QList<QSharedPointer<RShape> > getExploded() const = 0;
19 };
20 
23 Q_DECLARE_METATYPE(QSharedPointer<RExplodable>)
24 Q_DECLARE_METATYPE(QSharedPointer<RExplodable>*)
25 
26 #endif