mainwindow.h
changeset 404 53efc2562a7d
parent 401 f364b13047ba
child 406 1c8ff1928b97
     1.1 --- a/mainwindow.h	Mon Nov 20 12:12:00 2006 +0000
     1.2 +++ b/mainwindow.h	Mon Nov 20 12:12:02 2006 +0000
     1.3 @@ -5,6 +5,7 @@
     1.4  
     1.5  #include "file.h"
     1.6  #include "findwindow.h"
     1.7 +#include "historywindow.h"
     1.8  #include "mapeditor.h"
     1.9  #include "texteditor.h"
    1.10  #include "xml.h"
    1.11 @@ -47,7 +48,6 @@
    1.12  	MapEditor* currentMapEditor() const;
    1.13      
    1.14  private slots:
    1.15 -    void newView();
    1.16  	void editorChanged(QWidget*);
    1.17  
    1.18      ErrorCode fileLoad(QString ,const LoadMode &);
    1.19 @@ -75,8 +75,11 @@
    1.20      void filePrint();
    1.21      void fileExitVYM();
    1.22  
    1.23 +public slots:
    1.24      void editUndo();	
    1.25      void editRedo();	
    1.26 +	void gotoHistoryStep (int);
    1.27 +private slots:	
    1.28      void editCopy();	
    1.29      void editPaste();	
    1.30      void editCut();	
    1.31 @@ -159,6 +162,7 @@
    1.32  
    1.33  	void windowToggleNoteEditor();
    1.34  	void windowToggleHistory();
    1.35 +	void updateHistory(SimpleSettings &);
    1.36  	void updateNoteFlag();
    1.37  	void updateActions();
    1.38  	ModMode getModMode();
    1.39 @@ -191,6 +195,8 @@
    1.40  	QLineEdit *lineedit;	// to enter headings of branches
    1.41  	QString prevSelection;
    1.42  
    1.43 +	HistoryWindow *historyWindow;
    1.44 +
    1.45  	Q3PtrList <QAction> actionListBranches;
    1.46  
    1.47  	QColor currentColor;