mapeditor.h
changeset 381 c79df732d095
parent 377 5391ab620c95
child 390 0e1aeb21cb78
     1.1 --- a/mapeditor.h	Wed Sep 06 12:47:06 2006 +0000
     1.2 +++ b/mapeditor.h	Fri Sep 08 12:30:09 2006 +0000
     1.3 @@ -91,6 +91,7 @@
     1.4      void copy();		// copy branch to clipboard
     1.5      void redo();		// redo last action
     1.6      void undo();		// undo last action
     1.7 +	void gotoStep (int);// goto a step in history
     1.8  private:	
     1.9      void undoXML(const QString &, const QString &);
    1.10      void pasteNoSave();		// paste clipboard to branch
    1.11 @@ -249,7 +250,7 @@
    1.12  	bool isInteractive;			// non interactive don't need tmpdirs
    1.13  	QString tmpMapDir;			// tmp directory with undo history
    1.14  	QString histPath;			// Path to history file
    1.15 -	int undosTotal;				// total number of undos 
    1.16 +	int stepsTotal;				// total number of steps (undos+redos) 
    1.17  	SimpleSettings undoSet;		// undo/redo commands
    1.18  	bool blockReposition;		// block while load or undo
    1.19  	bool blockSaveState;		// block while load or undo
    1.20 @@ -262,9 +263,9 @@
    1.21  	
    1.22      void resizeEvent( QResizeEvent * );
    1.23  
    1.24 -  Q3UrlOperator *urlOperator;
    1.25 -  QDataStream *imageData;
    1.26 -  QBuffer *imageBuffer;
    1.27 +	Q3UrlOperator *urlOperator;
    1.28 +	QDataStream *imageData;
    1.29 +	QBuffer *imageBuffer;
    1.30  
    1.31  	HistoryWindow historyWindow;
    1.32