|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
20 #ifndef RDELETEOBJECTSOPERATION_H
21 #define RDELETEOBJECTSOPERATION_H
26 #include <QSharedPointer>
53 QList<QSharedPointer<RObject> >
list;
Abstract base class for all objects.
Definition: RObject.h:61
virtual RTransaction apply(RDocument &document, bool preview=false)=0
Applies this operation to selection in the given document.
#define QCADOPERATIONS_EXPORT
Definition: operations_global.h:10
virtual ~RDeleteObjectsOperation()
Definition: RDeleteObjectsOperation.h:46
Implementation of an operation that deletes entities.
Definition: RDeleteObjectsOperation.h:42
Q_DECLARE_METATYPE(RMath *)
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition: RDocument.h:72
QList< QSharedPointer< RObject > > list
Definition: RDeleteObjectsOperation.h:53
This abstract class is an interface for all operation implementations.
Definition: ROperation.h:44
void deleteObject(void obj)
Deletes the given RObject from the drawing.
Definition: simple_create.js:199
Transaction implementation.
Definition: RTransaction.h:74