NCL Composer
0.1.5
Main Page
Related Pages
Classes
All
Classes
Functions
Variables
Pages
qnstremovecommand.h
1
#ifndef QNSTREMOVECOMMAND_H
2
#define QNSTREMOVECOMMAND_H
3
4
#include <QUndoCommand>
5
6
#include "qnstgraphicsentity.h"
7
#include "qnstview.h"
8
9
class
QnstView
;
10
11
class
QnstRemoveCommand
:
public
QUndoCommand
12
{
13
public
:
14
QnstRemoveCommand
(
QnstView
* view,
QnstGraphicsEntity
* entity);
15
16
~
QnstRemoveCommand
();
17
18
virtual
void
undo();
19
20
virtual
void
redo();
21
22
private
:
23
void
copy(
QnstGraphicsEntity
* entity);
24
25
void
copy(
QnstGraphicsEntity
* entity,
QnstGraphicsEntity
* parent);
26
27
void
paste(
QnstGraphicsEntity
* entity,
QnstGraphicsEntity
* parent);
28
29
bool
ignore;
30
31
QString parent;
32
33
QnstView
* view;
34
35
QnstGraphicsEntity
* entity;
36
};
37
38
39
#endif // QNSTREMOVECOMMAND_H
composer-plugins
qnclstructural
src
ui
view
qnstremovecommand.h
Generated on Tue Jun 18 2013 16:03:01 for NCL Composer by
1.8.4