Mercurial > octave-dspies
view .dir-locals.el @ 18697:908523bd79b4 gui-release
use shortcut manager for the debug menu
* main-window.cc (add_action): new function for adding actions to menus and
setting Qt::ApplicationShortcut to the actions;
(construct_debug_menu_item): do not set shortcuts but the slot here;
(construct_debug_menu): update calls to construct_debug_menu_item;
(set_global_shortcuts): set the shortcut for the actions and the settings key
* main-window.h: new function add_action, changed paramters of
construct_debug_menu_item
* shortcut-manager.cc (do_init_data): init the shortcuts for the debug menus
author | Torsten <ttl@justmail.de> |
---|---|
date | Mon, 28 Apr 2014 22:48:28 +0200 |
parents | 9ff04de067ce |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (and (buffer-file-name) (string-match-p "\\.h\\'" (buffer-file-name)) (not (string-match-p "/gnulib/" (buffer-file-name)))) (c++-mode) (c-set-style "gnu"))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))