24 #ifndef KORG_HISTORY_H
25 #define KORG_HISTORY_H
28 #include <tqptrlist.h>
39 class History : public TQObject
50 void startMultiModify( const TQString &description );
51 void endMultiModify();
61 void undoAvailable( const TQString & );
62 void redoAvailable( const TQString & );
75 virtual void undo() = 0;
76 virtual void redo() = 0;
78 virtual TQString text() = 0;
84 class EntryDelete : public Entry
99 class EntryAdd : public Entry
114 class EntryEdit : public Entry
131 class MultiEntry : public Entry
137 void appendEntry( Entry* entry );
144 TQPtrList<Entry> mEntries;
149 MultiEntry *mCurrentMultiEntry;
151 TQPtrList<Entry> mEntries;
152 TQPtrListIterator<Entry> mUndoEntry;
153 TQPtrListIterator<Entry> mRedoEntry;
|