1 #include "undostackitem.h"
6 UndoStackItem::UndoStackItem() : ListItem<UndoStackItem>()
11 UndoStackItem::~UndoStackItem()
13 delete [] description;
16 void UndoStackItem::set_description(char *description)
18 this->description = new char[strlen(description) + 1];
19 strcpy(this->description, description);
22 void UndoStackItem::undo()
26 void UndoStackItem::redo()
30 int UndoStackItem::get_size()