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