GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
moc-file-editor-tab.cc
Go to the documentation of this file.
1 #ifdef HAVE_CONFIG_H
2 #include <config.h>
3 #endif
4 /****************************************************************************
5 ** Meta object code from reading C++ file 'file-editor-tab.h'
6 **
7 ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
8 **
9 ** WARNING! All changes made in this file will be lost!
10 *****************************************************************************/
11 
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'file-editor-tab.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 63
16 #error "This file was generated using the moc from 4.8.6. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
19 #endif
20 
21 QT_BEGIN_MOC_NAMESPACE
22 static const uint qt_meta_data_file_editor_tab[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  74, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  9, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  34, 17, 16, 16, 0x05,
37  99, 69, 16, 16, 0x05,
38  131, 16, 16, 16, 0x05,
39  154, 152, 16, 16, 0x05,
40  203, 193, 16, 16, 0x05,
41  256, 225, 16, 16, 0x05,
42  302, 297, 16, 16, 0x05,
43  329, 16, 16, 16, 0x05,
44  368, 16, 16, 16, 0x05,
45 
46  // slots: signature, parameters, type, tag, flags
47  404, 395, 16, 16, 0x0a,
48  441, 430, 16, 16, 0x0a,
49  487, 469, 16, 16, 0x0a,
50  554, 540, 16, 16, 0x0a,
51  602, 593, 16, 16, 0x2a,
52  639, 636, 16, 16, 0x0a,
53  675, 636, 16, 16, 0x0a,
54  707, 636, 16, 16, 0x0a,
55  737, 733, 16, 16, 0x0a,
56  772, 768, 16, 16, 0x0a,
57  806, 636, 16, 16, 0x0a,
58  835, 16, 16, 16, 0x0a,
59  857, 636, 16, 16, 0x0a,
60  913, 883, 16, 16, 0x0a,
61  952, 636, 16, 16, 0x0a,
62  981, 636, 16, 16, 0x0a,
63  1008, 636, 16, 16, 0x0a,
64  1033, 636, 16, 16, 0x0a,
65  1061, 636, 16, 16, 0x0a,
66  1093, 636, 16, 16, 0x0a,
67  1123, 636, 16, 16, 0x0a,
68  1157, 636, 16, 16, 0x0a,
69  1189, 636, 16, 16, 0x0a,
70  1223, 636, 16, 16, 0x0a,
71  1255, 636, 16, 16, 0x0a,
72  1291, 636, 16, 16, 0x0a,
73  1330, 152, 16, 16, 0x0a,
74  1369, 636, 16, 16, 0x0a,
75  1407, 636, 16, 16, 0x0a,
76  1447, 636, 16, 16, 0x0a,
77  1484, 636, 16, 16, 0x0a,
78  1523, 768, 16, 16, 0x0a,
79  1574, 636, 16, 16, 0x0a,
80  1598, 636, 16, 16, 0x0a,
81  1623, 636, 16, 16, 0x0a,
82  1651, 636, 16, 16, 0x0a,
83  1680, 1672, 16, 16, 0x0a,
84  1710, 636, 16, 16, 0x2a,
85  1746, 1736, 16, 16, 0x0a,
86  1784, 636, 16, 16, 0x0a,
87  1821, 1672, 16, 16, 0x0a,
88  1865, 636, 16, 16, 0x2a,
89  1905, 1672, 16, 16, 0x0a,
90  1949, 636, 16, 16, 0x2a,
91  2004, 1989, 16, 16, 0x0a,
92  2060, 2050, 16, 16, 0x2a,
93  2102, 395, 16, 16, 0x0a,
94  2121, 16, 16, 16, 0x2a,
95  2153, 2144, 2136, 16, 0x0a,
96  2181, 2172, 16, 16, 0x0a,
97  2199, 16, 16, 16, 0x2a,
98  2210, 2144, 16, 16, 0x0a,
99  2236, 16, 16, 16, 0x0a,
100  2279, 2270, 16, 16, 0x08,
101  2310, 2270, 16, 16, 0x08,
102  2341, 2270, 16, 16, 0x08,
103  2374, 2270, 16, 16, 0x08,
104  2407, 2144, 16, 16, 0x08,
105  2443, 2144, 16, 16, 0x08,
106  2485, 16, 16, 16, 0x08,
107  2528, 2521, 16, 16, 0x08,
108  2574, 2568, 16, 16, 0x08,
109  2610, 16, 16, 16, 0x08,
110  2627, 16, 16, 16, 0x08,
111  2656, 2647, 16, 16, 0x08,
112 
113  0 // eod
114 };
115 
116 static const char qt_meta_stringdata_file_editor_tab[] = {
117  "file_editor_tab\0\0fileName,toolTip\0"
118  "file_name_changed(QString,QString)\0"
119  "copy_available,is_octave_file\0"
120  "editor_state_changed(bool,bool)\0"
121  "tab_remove_request()\0,\0"
122  "add_filename_to_list(QString,QWidget*)\0"
123  "file_name\0mru_add_file(QString)\0"
124  "saveFileName,remove_on_success\0"
125  "editor_check_conflict_save(QString,bool)\0"
126  "info\0run_file_signal(QFileInfo)\0"
127  "set_global_edit_shortcuts_signal(bool)\0"
128  "request_open_file(QString)\0modified\0"
129  "update_window_title(bool)\0enableCopy\0"
130  "handle_copy_available(bool)\0"
131  "line,margin,state\0"
132  "handle_margin_clicked(int,int,Qt::KeyboardModifiers)\0"
133  "settings,init\0notice_settings(const QSettings*,bool)\0"
134  "settings\0notice_settings(const QSettings*)\0"
135  "ID\0change_editor_state(const QWidget*)\0"
136  "file_name_query(const QWidget*)\0"
137  "set_focus(const QWidget*)\0dir\0"
138  "set_current_directory(QString)\0ID,\0"
139  "context_help(const QWidget*,bool)\0"
140  "context_edit(const QWidget*)\0"
141  "check_modified_file()\0save_file(const QWidget*)\0"
142  "ID,fileName,remove_on_success\0"
143  "save_file(const QWidget*,QString,bool)\0"
144  "save_file_as(const QWidget*)\0"
145  "print_file(const QWidget*)\0"
146  "run_file(const QWidget*)\0"
147  "context_run(const QWidget*)\0"
148  "toggle_bookmark(const QWidget*)\0"
149  "next_bookmark(const QWidget*)\0"
150  "previous_bookmark(const QWidget*)\0"
151  "remove_bookmark(const QWidget*)\0"
152  "toggle_breakpoint(const QWidget*)\0"
153  "next_breakpoint(const QWidget*)\0"
154  "previous_breakpoint(const QWidget*)\0"
155  "remove_all_breakpoints(const QWidget*)\0"
156  "scintilla_command(const QWidget*,uint)\0"
157  "comment_selected_text(const QWidget*)\0"
158  "uncomment_selected_text(const QWidget*)\0"
159  "indent_selected_text(const QWidget*)\0"
160  "unindent_selected_text(const QWidget*)\0"
161  "convert_eol(const QWidget*,QsciScintilla::EolMode)\0"
162  "zoom_in(const QWidget*)\0"
163  "zoom_out(const QWidget*)\0"
164  "zoom_normal(const QWidget*)\0"
165  "find(const QWidget*)\0ID,line\0"
166  "goto_line(const QWidget*,int)\0"
167  "goto_line(const QWidget*)\0ID,select\0"
168  "move_match_brace(const QWidget*,bool)\0"
169  "show_auto_completion(const QWidget*)\0"
170  "insert_debugger_pointer(const QWidget*,int)\0"
171  "insert_debugger_pointer(const QWidget*)\0"
172  "delete_debugger_pointer(const QWidget*,int)\0"
173  "delete_debugger_pointer(const QWidget*)\0"
174  "insert,ID,line\0"
175  "do_breakpoint_marker(bool,const QWidget*,int)\0"
176  "insert,ID\0do_breakpoint_marker(bool,const QWidget*)\0"
177  "set_modified(bool)\0set_modified()\0"
178  "QString\0fileName\0load_file(QString)\0"
179  "commands\0new_file(QString)\0new_file()\0"
180  "file_has_changed(QString)\0"
181  "handle_context_menu_edit(QString)\0"
182  "decision\0handle_file_reload_answer(int)\0"
183  "handle_file_resave_answer(int)\0"
184  "handle_file_modified_answer(int)\0"
185  "handle_find_dialog_finished(int)\0"
186  "handle_save_file_as_answer(QString)\0"
187  "handle_save_file_as_answer_close(QString)\0"
188  "handle_save_file_as_answer_cancel()\0"
189  "filter\0handle_save_as_filter_selected(QString)\0"
190  "index\0handle_combo_eol_current_index(int)\0"
191  "save_apis_info()\0auto_margin_width()\0"
192  "line,col\0handle_cursor_moved(int,int)\0"
193 };
194 
195 void file_editor_tab::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
196 {
197  if (_c == QMetaObject::InvokeMetaMethod) {
198  Q_ASSERT(staticMetaObject.cast(_o));
199  file_editor_tab *_t = static_cast<file_editor_tab *>(_o);
200  switch (_id) {
201  case 0: _t->file_name_changed((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
202  case 1: _t->editor_state_changed((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
203  case 2: _t->tab_remove_request(); break;
204  case 3: _t->add_filename_to_list((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QWidget*(*)>(_a[2]))); break;
205  case 4: _t->mru_add_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
206  case 5: _t->editor_check_conflict_save((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
207  case 6: _t->run_file_signal((*reinterpret_cast< const QFileInfo(*)>(_a[1]))); break;
208  case 7: _t->set_global_edit_shortcuts_signal((*reinterpret_cast< bool(*)>(_a[1]))); break;
209  case 8: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
210  case 9: _t->update_window_title((*reinterpret_cast< bool(*)>(_a[1]))); break;
211  case 10: _t->handle_copy_available((*reinterpret_cast< bool(*)>(_a[1]))); break;
212  case 11: _t->handle_margin_clicked((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[3]))); break;
213  case 12: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
214  case 13: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
215  case 14: _t->change_editor_state((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
216  case 15: _t->file_name_query((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
217  case 16: _t->set_focus((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
218  case 17: _t->set_current_directory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
219  case 18: _t->context_help((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
220  case 19: _t->context_edit((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
221  case 20: _t->check_modified_file(); break;
222  case 21: _t->save_file((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
223  case 22: _t->save_file((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
224  case 23: _t->save_file_as((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
225  case 24: _t->print_file((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
226  case 25: _t->run_file((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
227  case 26: _t->context_run((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
228  case 27: _t->toggle_bookmark((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
229  case 28: _t->next_bookmark((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
230  case 29: _t->previous_bookmark((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
231  case 30: _t->remove_bookmark((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
232  case 31: _t->toggle_breakpoint((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
233  case 32: _t->next_breakpoint((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
234  case 33: _t->previous_breakpoint((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
235  case 34: _t->remove_all_breakpoints((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
236  case 35: _t->scintilla_command((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
237  case 36: _t->comment_selected_text((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
238  case 37: _t->uncomment_selected_text((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
239  case 38: _t->indent_selected_text((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
240  case 39: _t->unindent_selected_text((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
241  case 40: _t->convert_eol((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< QsciScintilla::EolMode(*)>(_a[2]))); break;
242  case 41: _t->zoom_in((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
243  case 42: _t->zoom_out((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
244  case 43: _t->zoom_normal((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
245  case 44: _t->find((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
246  case 45: _t->goto_line((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
247  case 46: _t->goto_line((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
248  case 47: _t->move_match_brace((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
249  case 48: _t->show_auto_completion((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
250  case 49: _t->insert_debugger_pointer((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
251  case 50: _t->insert_debugger_pointer((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
252  case 51: _t->delete_debugger_pointer((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
253  case 52: _t->delete_debugger_pointer((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break;
254  case 53: _t->do_breakpoint_marker((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QWidget*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
255  case 54: _t->do_breakpoint_marker((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QWidget*(*)>(_a[2]))); break;
256  case 55: _t->set_modified((*reinterpret_cast< bool(*)>(_a[1]))); break;
257  case 56: _t->set_modified(); break;
258  case 57: { QString _r = _t->load_file((*reinterpret_cast< const QString(*)>(_a[1])));
259  if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
260  case 58: _t->new_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
261  case 59: _t->new_file(); break;
262  case 60: _t->file_has_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
263  case 61: _t->handle_context_menu_edit((*reinterpret_cast< const QString(*)>(_a[1]))); break;
264  case 62: _t->handle_file_reload_answer((*reinterpret_cast< int(*)>(_a[1]))); break;
265  case 63: _t->handle_file_resave_answer((*reinterpret_cast< int(*)>(_a[1]))); break;
266  case 64: _t->handle_file_modified_answer((*reinterpret_cast< int(*)>(_a[1]))); break;
267  case 65: _t->handle_find_dialog_finished((*reinterpret_cast< int(*)>(_a[1]))); break;
268  case 66: _t->handle_save_file_as_answer((*reinterpret_cast< const QString(*)>(_a[1]))); break;
269  case 67: _t->handle_save_file_as_answer_close((*reinterpret_cast< const QString(*)>(_a[1]))); break;
270  case 68: _t->handle_save_file_as_answer_cancel(); break;
271  case 69: _t->handle_save_as_filter_selected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
272  case 70: _t->handle_combo_eol_current_index((*reinterpret_cast< int(*)>(_a[1]))); break;
273  case 71: _t->save_apis_info(); break;
274  case 72: _t->auto_margin_width(); break;
275  case 73: _t->handle_cursor_moved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
276  default: ;
277  }
278  }
279 }
280 
281 const QMetaObjectExtraData file_editor_tab::staticMetaObjectExtraData = {
282  0, qt_static_metacall
283 };
284 
285 const QMetaObject file_editor_tab::staticMetaObject = {
286  { &QWidget::staticMetaObject, qt_meta_stringdata_file_editor_tab,
287  qt_meta_data_file_editor_tab, &staticMetaObjectExtraData }
288 };
289 
290 #ifdef Q_NO_DATA_RELOCATION
291 const QMetaObject &file_editor_tab::getStaticMetaObject() { return staticMetaObject; }
292 #endif //Q_NO_DATA_RELOCATION
293 
294 const QMetaObject *file_editor_tab::metaObject() const
295 {
296  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
297 }
298 
299 void *file_editor_tab::qt_metacast(const char *_clname)
300 {
301  if (!_clname) return 0;
302  if (!strcmp(_clname, qt_meta_stringdata_file_editor_tab))
303  return static_cast<void*>(const_cast< file_editor_tab*>(this));
304  return QWidget::qt_metacast(_clname);
305 }
306 
307 int file_editor_tab::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
308 {
309  _id = QWidget::qt_metacall(_c, _id, _a);
310  if (_id < 0)
311  return _id;
312  if (_c == QMetaObject::InvokeMetaMethod) {
313  if (_id < 74)
314  qt_static_metacall(this, _c, _id, _a);
315  _id -= 74;
316  }
317  return _id;
318 }
319 
320 // SIGNAL 0
321 void file_editor_tab::file_name_changed(const QString & _t1, const QString & _t2)
322 {
323  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
324  QMetaObject::activate(this, &staticMetaObject, 0, _a);
325 }
326 
327 // SIGNAL 1
329 {
330  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
331  QMetaObject::activate(this, &staticMetaObject, 1, _a);
332 }
333 
334 // SIGNAL 2
336 {
337  QMetaObject::activate(this, &staticMetaObject, 2, 0);
338 }
339 
340 // SIGNAL 3
341 void file_editor_tab::add_filename_to_list(const QString & _t1, QWidget * _t2)
342 {
343  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
344  QMetaObject::activate(this, &staticMetaObject, 3, _a);
345 }
346 
347 // SIGNAL 4
348 void file_editor_tab::mru_add_file(const QString & _t1)
349 {
350  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
351  QMetaObject::activate(this, &staticMetaObject, 4, _a);
352 }
353 
354 // SIGNAL 5
355 void file_editor_tab::editor_check_conflict_save(const QString & _t1, bool _t2)
356 {
357  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
358  QMetaObject::activate(this, &staticMetaObject, 5, _a);
359 }
360 
361 // SIGNAL 6
362 void file_editor_tab::run_file_signal(const QFileInfo & _t1)
363 {
364  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
365  QMetaObject::activate(this, &staticMetaObject, 6, _a);
366 }
367 
368 // SIGNAL 7
370 {
371  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
372  QMetaObject::activate(this, &staticMetaObject, 7, _a);
373 }
374 
375 // SIGNAL 8
376 void file_editor_tab::request_open_file(const QString & _t1)
377 {
378  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
379  QMetaObject::activate(this, &staticMetaObject, 8, _a);
380 }
381 QT_END_MOC_NAMESPACE
void add_filename_to_list(const QString &, QWidget *)
void set_global_edit_shortcuts_signal(bool)
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_file_editor_tab[]
void file_name_changed(const QString &fileName, const QString &toolTip)
static const char qt_meta_stringdata_file_editor_tab[]
void mru_add_file(const QString &file_name)
void editor_check_conflict_save(const QString &saveFileName, bool remove_on_success)
void run_file_signal(const QFileInfo &info)
void editor_state_changed(bool copy_available, bool is_octave_file)
void request_open_file(const QString &)