blob: 8d05ebdc6ef0041fc31c7077509a69df809a5e32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//
// C++ Interface: kxecommand
//
// Description:
//
//
// Author: Adam Charytoniuk <achary@poczta.onet.pl>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef KXECOMMAND_H
#define KXECOMMAND_H
#include <kcommand.h>
#include "kxedocument.h"
/**
This is a base class for undoable commands in our application
@author Adam Charytoniuk
*/
class KXECommand : public KCommand
{
public:
/** Constructor. Commands refer only to KXEDocument, not parts or views.
The KXEDocument is a class that owns KCommandHistory objcect.
*/
KXECommand(KXEDocument* pDocument);
~KXECommand();
protected:
KXEDocument* m_pDocument;
};
#endif
|