Mercurial > octave-nkf
diff libgui/src/m-editor/file-editor.h @ 16615:cb09eecbd84e
add close actions to the file menu of the editor
* file-editor.cc(consruct): new actions for close, close all and clos other
* file-editor.cc/.h
(request_close_file.request_close_all_files,request_close_other_files):
new slots for the new actions
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 05 May 2013 16:34:11 +0200 |
parents | 49653ed9561b |
children | 3c2e457eeb72 |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.h Sat May 04 22:51:43 2013 -0500 +++ b/libgui/src/m-editor/file-editor.h Sun May 05 16:34:11 2013 +0200 @@ -105,6 +105,9 @@ void request_new_script (const QString& commands); void request_new_function (const QString& commands); void request_open_file (void); + void request_close_file (bool); + void request_close_all_files (bool); + void request_close_other_files (bool); void request_mru_open_file (QAction *action); void request_print_file (void);