20#ifndef RDELETEOBJECTSOPERATION_H
21#define RDELETEOBJECTSOPERATION_H
26#include <QSharedPointer>
51 QList<QSharedPointer<RObject> >
list;
Q_DECLARE_METATYPE(RMath *)
Implementation of an operation that deletes entities.
Definition RDeleteObjectsOperation.h:40
QList< QSharedPointer< RObject > > list
Definition RDeleteObjectsOperation.h:51
virtual ~RDeleteObjectsOperation()
Definition RDeleteObjectsOperation.h:44
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition RDocument.h:78
Abstract base class for all objects.
Definition RObject.h:64
This abstract class is an interface for all operation implementations.
Definition ROperation.h:45
virtual RTransaction apply(RDocument &document, bool preview=false)=0
Applies this operation to selection in the given document.
Transaction implementation.
Definition RTransaction.h:73
void deleteObject(void obj)
Deletes the given RObject from the drawing.
Definition simple_create.js:216
#define QCADOPERATIONS_EXPORT
Definition operations_global.h:10