Mercurial > octave-nkf
diff libgui/src/m-editor/file-editor-tab.h @ 19642:4b980842edba gui-release
clean up some signal-slot combinations in the editor
* file-editor-tab.cc (contructor): remove connections of signals for command
execution and for creating the context menu;
(execute_command_in_terminal, create_context_menu): related slots removed
* file-editor-tab.h: removed slots and signals that were emitted therein
* file-editor.cc (add_file_editor_tab): connect edit area signals directly
to the related slots without involving the editor tab
author | Torsten <ttl@justmail.de> |
---|---|
date | Thu, 22 Jan 2015 21:38:12 +0100 |
parents | d258070914ef |
children | 8ef79bc61d8a |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.h Thu Jan 22 14:46:30 2015 -0500 +++ b/libgui/src/m-editor/file-editor-tab.h Thu Jan 22 21:38:12 2015 +0100 @@ -120,8 +120,6 @@ void file_has_changed (const QString& fileName); - void execute_command_in_terminal (const QString& command); - void create_context_menu (QMenu *); void handle_context_menu_edit (const QString&); signals: @@ -135,9 +133,7 @@ void editor_check_conflict_save (const QString& saveFileName, bool remove_on_success); void run_file_signal (const QFileInfo& info); - void execute_command_in_terminal_signal (const QString&); void set_global_edit_shortcuts_signal (bool); - void create_context_menu_tab_signal (QMenu *); void request_open_file (const QString&); protected: