mainwindow.h
changeset 445 0796c5592f00
parent 442 dfbc371b7280
child 450 beb875135811
     1.1 --- a/mainwindow.h	Sat Mar 31 09:28:30 2007 +0000
     1.2 +++ b/mainwindow.h	Mon Apr 09 15:42:21 2007 +0000
     1.3 @@ -43,6 +43,7 @@
     1.4      void setupHelpActions();
     1.5      void setupContextMenus();
     1.6  	void setupRecentMapsMenu();
     1.7 +    void setupMacros();
     1.8  	void hideEvent (QHideEvent * );
     1.9  	void showEvent (QShowEvent * );
    1.10  	bool reallyWriteDirectory(const QString&);
    1.11 @@ -193,6 +194,7 @@
    1.12      void helpAbout();
    1.13      void helpAboutQT();
    1.14  
    1.15 +	void callMacro ();
    1.16  private:
    1.17  	QTabWidget *tabWidget;
    1.18  	FindWindow *findWindow;
    1.19 @@ -214,7 +216,10 @@
    1.20  
    1.21  	QMenu *recentFilesMenu;
    1.22  	enum { MaxRecentFiles = 9 };
    1.23 -    QAction *recentFileActs[MaxRecentFiles];
    1.24 +    QAction *recentFileActions[MaxRecentFiles];
    1.25 +
    1.26 +    QAction *macroActions[12];
    1.27 +	QStringList macro;
    1.28  
    1.29  	QAction* actionFileSave;
    1.30  	QAction* actionFilePrint;