comparison libgui/src/m-editor/file-editor.cc @ 19639:d258070914ef gui-release

open file directly without edit command when editing a function from editor * file-editor-tab.cc (handle_context_menu_edit): append .m to file name if necessary, emit new signal to editor for the file open request * file-editor-tab.h: new signal requesting to open a file * file-editor.cc (add_file_editor_tab): connect new request-open-signal to the already existing slot for opening a file
author Torsten <ttl@justmail.de>
date Thu, 22 Jan 2015 06:52:37 +0100
parents b6bd9159c1c9
children 3156773fcc80
comparison
equal deleted inserted replaced
19633:b6bd9159c1c9 19639:d258070914ef
1613 main_win (), SLOT (run_file_in_terminal (const QFileInfo&))); 1613 main_win (), SLOT (run_file_in_terminal (const QFileInfo&)));
1614 1614
1615 connect (f, SIGNAL (execute_command_in_terminal_signal (const QString&)), 1615 connect (f, SIGNAL (execute_command_in_terminal_signal (const QString&)),
1616 main_win (), SLOT (execute_command_in_terminal (const QString&))); 1616 main_win (), SLOT (execute_command_in_terminal (const QString&)));
1617 1617
1618 connect (f, SIGNAL (request_open_file (const QString&)),
1619 this, SLOT (request_open_file (const QString&)));
1620
1618 connect (f, SIGNAL (set_global_edit_shortcuts_signal (bool)), 1621 connect (f, SIGNAL (set_global_edit_shortcuts_signal (bool)),
1619 main_win (), SLOT (set_global_edit_shortcuts (bool))); 1622 main_win (), SLOT (set_global_edit_shortcuts (bool)));
1620 1623
1621 // Signals from the file_editor non-trivial operations 1624 // Signals from the file_editor non-trivial operations
1622 connect (this, SIGNAL (fetab_settings_changed (const QSettings *)), 1625 connect (this, SIGNAL (fetab_settings_changed (const QSettings *)),