Mercurial > octave-nkf
comparison libgui/src/m-editor/file-editor-interface.h @ 19461:3c038da18218 gui-release
cleanup of focus function in gui editor
* file-editor-interface.h: remove function set_focus
* file-editor.cc (focus): call common function and extra code for the editor;
(set_focus): removed, all code now in focus ();
(request_new_file, request_open_file): replaced set_focus by focus
* file-editor.h: removed set_focus
author | Torsten <ttl@justmail.de> |
---|---|
date | Thu, 25 Dec 2014 08:31:31 +0100 |
parents | ed0df431631b |
children | 7934b56c8b7b |
comparison
equal
deleted
inserted
replaced
19460:f90bb1e30de2 | 19461:3c038da18218 |
---|---|
60 | 60 |
61 virtual void handle_edit_file_request (const QString& file) = 0; | 61 virtual void handle_edit_file_request (const QString& file) = 0; |
62 | 62 |
63 virtual bool check_closing (int closing_state) = 0; | 63 virtual bool check_closing (int closing_state) = 0; |
64 | 64 |
65 virtual void set_focus () = 0; | |
66 | |
67 virtual void empty_script (bool, bool) = 0; | 65 virtual void empty_script (bool, bool) = 0; |
68 | 66 |
69 virtual void enable_menu_shortcuts (bool enable) = 0; | 67 virtual void enable_menu_shortcuts (bool enable) = 0; |
70 | 68 |
71 public slots: | 69 public slots: |