diff -r 5f6e176e9718 -r c79df732d095 mapeditor.h --- a/mapeditor.h Wed Sep 06 12:47:06 2006 +0000 +++ b/mapeditor.h Fri Sep 08 12:30:09 2006 +0000 @@ -91,6 +91,7 @@ void copy(); // copy branch to clipboard void redo(); // redo last action void undo(); // undo last action + void gotoStep (int);// goto a step in history private: void undoXML(const QString &, const QString &); void pasteNoSave(); // paste clipboard to branch @@ -249,7 +250,7 @@ bool isInteractive; // non interactive don't need tmpdirs QString tmpMapDir; // tmp directory with undo history QString histPath; // Path to history file - int undosTotal; // total number of undos + int stepsTotal; // total number of steps (undos+redos) SimpleSettings undoSet; // undo/redo commands bool blockReposition; // block while load or undo bool blockSaveState; // block while load or undo @@ -262,9 +263,9 @@ void resizeEvent( QResizeEvent * ); - Q3UrlOperator *urlOperator; - QDataStream *imageData; - QBuffer *imageBuffer; + Q3UrlOperator *urlOperator; + QDataStream *imageData; + QBuffer *imageBuffer; HistoryWindow historyWindow;