QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RCopyOperation.h
Go to the documentation of this file.
1 
20 #ifndef RCOPYOPERATION_H
21 #define RCOPYOPERATION_H
22 
23 #include "operations_global.h"
24 
25 #include "RDocument.h"
26 #include "REntity.h"
27 #include "RExporter.h"
28 #include "RClipboardOperation.h"
29 #include "RVector.h"
30 
31 
40 public:
41  RCopyOperation(const RVector& offset, RDocument& src);
42  virtual ~RCopyOperation() {}
43 
44  virtual RTransaction apply(RDocument& document, bool preview = false) const;
45  virtual void preview(RDocument& document, RExporter& exporter) const;
46 
47 private:
50 };
51 
53 
54 #endif