QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RDeleteAllEntitiesOperation.h
Go to the documentation of this file.
1 
20 #ifndef RDELETEALLENTITIESOBJECTSOPERATION_H
21 #define RDELETEALLENTITIESOBJECTSOPERATION_H
22 
23 #include "operations_global.h"
24 
25 #include <QList>
26 #include <QSharedPointer>
27 
28 #include "RDocument.h"
29 #include "RExporter.h"
30 #include "ROperation.h"
31 #include "RTransaction.h"
32 #include "RVector.h"
33 
34 class RObject;
35 
43 public:
44  RDeleteAllEntitiesOperation(bool undoable = true);
46  }
47 
48  virtual RTransaction apply(RDocument& document, bool preview = false) const;
49  virtual void preview(RDocument& document, RExporter& exporter) const;
50 };
51 
53 
54 #endif