QCAD
Open Source 2D CAD
RAddObjectOperation.h
Go to the documentation of this file.
1 
20 #ifndef RADDOBJECTOPERATION_H
21 #define RADDOBJECTOPERATION_H
22 
23 #include "operations_global.h"
24 
25 #include <QSharedPointer>
26 
27 #include "RAddObjectsOperation.h"
28 #include "ROperation.h"
29 #include "RVector.h"
30 
31 class RObject;
32 
40 public:
42  RAddObjectOperation(QSharedPointer<RObject> object, const QString& text,
43  bool useCurrentAttributes = true, bool undoable = true);
44  RAddObjectOperation(QSharedPointer<RObject> object,
45  bool useCurrentAttributes = true, bool undoable = true);
47  }
48 };
49 
51 
52 #endif
RAddObjectOperation()
Definition: RAddObjectOperation.h:41
Abstract base class for all objects.
Definition: RObject.h:61
virtual ~RAddObjectOperation()
Definition: RAddObjectOperation.h:46
#define QCADOPERATIONS_EXPORT
Definition: operations_global.h:10
Q_DECLARE_METATYPE(RMath *)
Implementation of an operation that adds entities.
Definition: RAddObjectOperation.h:39
Implementation of an operation that adds entities.
Definition: RAddObjectsOperation.h:42