QCAD
Open Source 2D CAD
RDeleteObjectOperation.h
Go to the documentation of this file.
1 
20 #ifndef RDELETEOBJECTOPERATION_H
21 #define RDELETEOBJECTOPERATION_H
22 
23 #include "operations_global.h"
24 
25 #include <QSharedPointer>
26 
28 #include "ROperation.h"
29 #include "RVector.h"
30 
31 class RDocument;
32 class RExporter;
33 class RObject;
34 
42 public:
43  RDeleteObjectOperation(QSharedPointer<RObject> object, bool undoable = true);
45  }
46 };
47 
49 
50 #endif
RDeleteObjectOperation
Implementation of an operation that deletes entities.
Definition: RDeleteObjectOperation.h:41
RObject
Abstract base class for all objects.
Definition: RObject.h:61
operations_global.h
ROperation.h
QCADOPERATIONS_EXPORT
#define QCADOPERATIONS_EXPORT
Definition: operations_global.h:10
RDeleteObjectsOperation
Implementation of an operation that deletes entities.
Definition: RDeleteObjectsOperation.h:42
RVector.h
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(RMath *)
RExporter
Abstract base class for exporters.
Definition: RExporter.h:72
RDocument
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition: RDocument.h:72
RDeleteObjectsOperation.h
RDeleteObjectOperation::~RDeleteObjectOperation
virtual ~RDeleteObjectOperation()
Definition: RDeleteObjectOperation.h:44