You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
670 B
38 lines
670 B
//
|
|
// 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
|