diff -r dfbc371b7280 -r 5378ed53ec92 mainwindow.h --- a/mainwindow.h Sat Mar 31 09:28:27 2007 +0000 +++ b/mainwindow.h Tue Apr 10 13:22:55 2007 +0000 @@ -43,6 +43,7 @@ void setupHelpActions(); void setupContextMenus(); void setupRecentMapsMenu(); + void setupMacros(); void hideEvent (QHideEvent * ); void showEvent (QShowEvent * ); bool reallyWriteDirectory(const QString&); @@ -193,6 +194,7 @@ void helpAbout(); void helpAboutQT(); + void callMacro (); private: QTabWidget *tabWidget; FindWindow *findWindow; @@ -214,7 +216,10 @@ QMenu *recentFilesMenu; enum { MaxRecentFiles = 9 }; - QAction *recentFileActs[MaxRecentFiles]; + QAction *recentFileActions[MaxRecentFiles]; + + QAction *macroActions[12]; + QStringList macro; QAction* actionFileSave; QAction* actionFilePrint;