comparison libgui/src/m-editor/file-editor-tab.h @ 16568:477bfd5d95f5

use dir, not path, to refer to directory name * file-editor-tab.h, file-editor-tab.cc (file_editor_tab::bp_info::dir): Rename from path. Change all uses. (file_editor_tab::run_file): Rename local variable from path to dir.
author John W. Eaton <jwe@octave.org>
date Thu, 25 Apr 2013 12:27:01 -0400
parents 5fc1ce2947bd
children ab1df81adaa0
comparison
equal deleted inserted replaced
16567:68176102fe07 16568:477bfd5d95f5
146 debugger_position 146 debugger_position
147 }; 147 };
148 148
149 struct bp_info 149 struct bp_info
150 { 150 {
151 bp_info (const QString& f, const QString& p, const QString& fn, int l) 151 bp_info (const QString& f, const QString& d, const QString& fn, int l)
152 : file (f.toStdString ()), path (p.toStdString ()), 152 : file (f.toStdString ()), dir (d.toStdString ()),
153 function_name (fn.toStdString ()), line (l) 153 function_name (fn.toStdString ()), line (l)
154 { } 154 { }
155 155
156 std::string file; 156 std::string file;
157 std::string path; 157 std::string dir;
158 std::string function_name; 158 std::string function_name;
159 int line; 159 int line;
160 }; 160 };
161 161
162 void save_file (const QString& saveFileName, bool remove_on_success = false); 162 void save_file (const QString& saveFileName, bool remove_on_success = false);