Mercurial > hg > octave-lyh
changeset 16425:8ff9006cedc3
delete unused functions and signal for updating dbstop marker
* main-window.h, main-window.cc
(main_window::handle_update_dbstop_marker_request): Delete.
(main_window::construct): Delete signal connection from
_octave_qt_event_listener::update_dbstop_marker_signal to
main_window::handle_update_dbstop_marker_request.
* octave-qt-event-listener.h, octave-qt-event-listener.cc
(octave_qt_event_listener::update_dbstop_marker): Delete.
(octave_qt_event_listener::update_dbstop_marker_signal):
Delete signal.
* octave-event-listener (octave_event_listener::update_dbstop_marker):
Delete.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 04 Apr 2013 01:50:57 -0400 |
parents | ad052cdc89ad |
children | 203976ae18d1 |
files | libgui/src/main-window.cc libgui/src/main-window.h libgui/src/octave-qt-event-listener.cc libgui/src/octave-qt-event-listener.h libinterp/interp-core/octave-event-listener.h |
diffstat | 5 files changed, 0 insertions(+), 29 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/main-window.cc +++ b/libgui/src/main-window.cc @@ -511,15 +511,6 @@ } void -main_window::handle_update_dbstop_marker_request (bool insert, - const QString& file, int line) -{ -#ifdef HAVE_QSCINTILLA - _file_editor->handle_update_dbstop_marker_request (insert, file, line); -#endif -} - -void main_window::debug_continue () { octave_link::post_event (this, &main_window::debug_continue_callback); @@ -1192,11 +1183,6 @@ SIGNAL (delete_debugger_pointer_signal (const QString&, int)), this, SLOT (handle_delete_debugger_pointer_request (const QString&, int))); - connect (_octave_qt_event_listener, - SIGNAL (update_dbstop_marker_signal (bool, const QString&, int)), - this, - SLOT (handle_update_dbstop_marker_request (bool, const QString&, int))); - // FIXME -- is it possible to eliminate the event_listenter? _octave_qt_link = new octave_qt_link ();
--- a/libgui/src/main-window.h +++ b/libgui/src/main-window.h @@ -110,7 +110,6 @@ void handle_quit_debug_mode (); void handle_insert_debugger_pointer_request (const QString& file, int line); void handle_delete_debugger_pointer_request (const QString& file, int line); - void handle_update_dbstop_marker_request (bool insert, const QString& file, int line); void debug_continue (); void debug_step_into (); void debug_step_over ();
--- a/libgui/src/octave-qt-event-listener.cc +++ b/libgui/src/octave-qt-event-listener.cc @@ -68,15 +68,6 @@ } void -octave_qt_event_listener::update_dbstop_marker (bool insert, - const std::string& file, - int line) -{ - emit update_dbstop_marker_signal (insert, QString::fromStdString (file), - line); -} - -void octave_qt_event_listener::about_to_exit () { qApp->quit ();
--- a/libgui/src/octave-qt-event-listener.h +++ b/libgui/src/octave-qt-event-listener.h @@ -39,7 +39,6 @@ void update_history (void); void insert_debugger_pointer (const std::string& file, int line); void delete_debugger_pointer (const std::string& file, int line); - void update_dbstop_marker (bool insert, const std::string& file, int line); void about_to_exit (); void entered_debug_mode (); @@ -51,7 +50,6 @@ void update_history_signal (void); void insert_debugger_pointer_signal (const QString& file, int line); void delete_debugger_pointer_signal (const QString& file, int line); - void update_dbstop_marker_signal (bool insert, const QString& file, int line); void entered_debug_mode_signal (); void quit_debug_mode_signal (); };
--- a/libinterp/interp-core/octave-event-listener.h +++ b/libinterp/interp-core/octave-event-listener.h @@ -46,9 +46,6 @@ virtual void delete_debugger_pointer (const std::string& file, int line) = 0; - virtual void - update_dbstop_marker (bool insert, const std::string& file, int line) = 0; - virtual void about_to_exit () = 0; virtual void entered_debug_mode () = 0;