diff framework/MainWindowBase.h @ 391:9e31759254fe

Attempt to get rebuilt-shortcuts working on OS/X (unsuccessfully)
author Chris Cannam
date Wed, 13 Aug 2014 10:11:25 +0100
parents a7a643988390
children 71b21d6e66be
line wrap: on
line diff
--- a/framework/MainWindowBase.h	Wed Aug 13 09:52:46 2014 +0100
+++ b/framework/MainWindowBase.h	Wed Aug 13 10:11:25 2014 +0100
@@ -60,6 +60,8 @@
 class KeyReference;
 class Labeller;
 class ModelDataTableDialog;
+class QSignalMapper;
+class QShortcut;
 
 /**
  * The base class for the SV main window.  This includes everything to
@@ -427,6 +429,8 @@
     // shortcuts on OS/X
     virtual void finaliseMenus();
     virtual void finaliseMenu(QMenu *);
+    QSignalMapper *m_menuShortcutMapper;
+    QList<QShortcut *> m_appShortcuts;
 
     virtual bool shouldCreateNewSessionForRDFAudio(bool *) { return true; }