Mercurial > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
16614:49653ed9561b | 16615:cb09eecbd84e |
---|---|
103 | 103 |
104 void request_new_file (const QString& commands); | 104 void request_new_file (const QString& commands); |
105 void request_new_script (const QString& commands); | 105 void request_new_script (const QString& commands); |
106 void request_new_function (const QString& commands); | 106 void request_new_function (const QString& commands); |
107 void request_open_file (void); | 107 void request_open_file (void); |
108 void request_close_file (bool); | |
109 void request_close_all_files (bool); | |
110 void request_close_other_files (bool); | |
108 void request_mru_open_file (QAction *action); | 111 void request_mru_open_file (QAction *action); |
109 void request_print_file (void); | 112 void request_print_file (void); |
110 | 113 |
111 void request_undo (void); | 114 void request_undo (void); |
112 void request_redo (void); | 115 void request_redo (void); |