diff -r 9079931da6c3 -r 087e60400acc mapeditor.h --- a/mapeditor.h Wed Jul 27 18:56:32 2005 +0000 +++ b/mapeditor.h Wed Jul 27 18:56:35 2005 +0000 @@ -26,7 +26,7 @@ MapCenterObj* getMapCenter(); QCanvas* getCanvas(); void adjustCanvasSize();// adjust canvas size to map and scrollview - bool blockReposition(); // block while load or undo + bool isRepositionBlocked(); // block while load or undo private: void makeTmpDirs(); // create temporary directories @@ -36,8 +36,8 @@ QString saveToDir(const QString&,const QString &,bool, const QPoint &,LinkableMapObj*); void saveState(); // save actual state to backup void saveState(LinkableMapObj *); - void saveState(const QString &); - void saveState(const SaveMode&, LinkableMapObj *, const QString &); + void saveState(const QString &, const QString &); + void saveState(const SaveMode&, LinkableMapObj *, const QString &, const QString &); void parseAtom(const QString &); void addFloatImage(const QPixmap &img); @@ -190,6 +190,7 @@ LinkableMapObj* selection; // select a LinkableMapObj LinkableMapObj* selectionLast; // last selection QString undoSelection; // selection for undo + QString redoSelection; // selection for redo MapObj* movingObj; // moving a MapObj MapObj* linkingObj_src; // part of a link QPoint movingObj_orgPos; // org. pos of mouse before move @@ -204,6 +205,7 @@ bool mapUnsaved; // Flag if map should be saved QString backupXML; // backup (XML) for undo QString undoCommand; // FIXME testing + QString redoCommand; // FIXME testing // if != NULL bool printFrame; // Print frame around map @@ -219,7 +221,8 @@ bool isInteractive; // non interactive don't need tmpdirs QString bakMapDir; // tmp directory with data for undo - bool blockreposition; // block while load or undo + bool blockReposition; // block while load or undo + bool blockSaveState; // block while load or undo BranchObj* itFind; // next object in find process bool EOFind; // true, if search failed