diff libgui/src/set-path-dialog.h @ 29782:02461b0ccc00

reduce dependence of files_dock_widget on Octave interpreter * files-dock-widget.h, files-dock-widget.cc: Don't include interpreter.h or load-save.h. (files_dock_widget::modify_path_signal): Use QStringList to pass list of directory names, not octave_value_list. Change all uses. * main-window.h, main-window.cc (main_window::modify_path): Use QStringList to pass list of directory names, not octave_value_list. Change all uses. * set-path-dialog.h, set-path-dialog.cc (set_path_dialog::modify_path_signal): Use QStringList to pass list of directory names, not octave_value_list. Change all uses.
author John W. Eaton <jwe@octave.org>
date Fri, 18 Jun 2021 01:20:46 -0400
parents 8dd0fca2a3d9
children 796f54d4ddbf
line wrap: on
line diff
--- a/libgui/src/set-path-dialog.h	Fri Jun 18 22:50:59 2021 +0200
+++ b/libgui/src/set-path-dialog.h	Fri Jun 18 01:20:46 2021 -0400
@@ -63,8 +63,8 @@
 
     //! Emitted, when the path has to be modified
 
-    void modify_path_signal (const octave_value_list& dir_list,
-                             bool rm, bool subdirs);
+    void modify_path_signal (const QStringList& dir_list, bool rm,
+                             bool subdirs);
 
     void interpreter_event (const fcn_callback& fcn);
     void interpreter_event (const meth_callback& meth);