diff -r fb97757e06c0 -r 0796c5592f00 mainwindow.h --- a/mainwindow.h Sat Mar 31 09:28:30 2007 +0000 +++ b/mainwindow.h Mon Apr 09 15:42:21 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;