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-interface.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-interface.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-interface.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_interface[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  11, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  0, // signalCount
34 
35  // slots: signature, parameters, type, tag, flags
36  31, 23, 22, 22, 0x0a,
37  57, 22, 22, 22, 0x2a,
38  76, 23, 22, 22, 0x0a,
39  104, 22, 22, 22, 0x2a,
40  125, 22, 22, 22, 0x0a,
41  152, 22, 22, 22, 0x0a,
42  229, 172, 22, 22, 0x0a,
43  325, 275, 22, 22, 0x2a,
44  398, 366, 22, 22, 0x2a,
45  452, 434, 22, 22, 0x2a,
46  496, 483, 22, 22, 0x2a,
47 
48  0 // eod
49 };
50 
52  "file_editor_interface\0\0command\0"
53  "request_new_file(QString)\0request_new_file()\0"
54  "request_new_script(QString)\0"
55  "request_new_script()\0request_new_function(bool)\0"
56  "request_open_file()\0"
57  "openFileName,line,debug_pointer,breakpoint_marker,insert\0"
58  "request_open_file(QString,int,bool,bool,bool)\0"
59  "openFileName,line,debug_pointer,breakpoint_marker\0"
60  "request_open_file(QString,int,bool,bool)\0"
61  "openFileName,line,debug_pointer\0"
62  "request_open_file(QString,int,bool)\0"
63  "openFileName,line\0request_open_file(QString,int)\0"
64  "openFileName\0request_open_file(QString)\0"
65 };
66 
67 void file_editor_interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  Q_ASSERT(staticMetaObject.cast(_o));
71  file_editor_interface *_t = static_cast<file_editor_interface *>(_o);
72  switch (_id) {
73  case 0: _t->request_new_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
74  case 1: _t->request_new_file(); break;
75  case 2: _t->request_new_script((*reinterpret_cast< const QString(*)>(_a[1]))); break;
76  case 3: _t->request_new_script(); break;
77  case 4: _t->request_new_function((*reinterpret_cast< bool(*)>(_a[1]))); break;
78  case 5: _t->request_open_file(); break;
79  case 6: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5]))); break;
80  case 7: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
81  case 8: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
82  case 9: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
83  case 10: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
84  default: ;
85  }
86  }
87 }
88 
89 const QMetaObjectExtraData file_editor_interface::staticMetaObjectExtraData = {
90  0, qt_static_metacall
91 };
92 
93 const QMetaObject file_editor_interface::staticMetaObject = {
94  { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_file_editor_interface,
95  qt_meta_data_file_editor_interface, &staticMetaObjectExtraData }
96 };
97 
98 #ifdef Q_NO_DATA_RELOCATION
99 const QMetaObject &file_editor_interface::getStaticMetaObject() { return staticMetaObject; }
100 #endif //Q_NO_DATA_RELOCATION
101 
102 const QMetaObject *file_editor_interface::metaObject() const
103 {
104  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
105 }
106 
107 void *file_editor_interface::qt_metacast(const char *_clname)
108 {
109  if (!_clname) return 0;
110  if (!strcmp(_clname, qt_meta_stringdata_file_editor_interface))
111  return static_cast<void*>(const_cast< file_editor_interface*>(this));
112  return octave_dock_widget::qt_metacast(_clname);
113 }
114 
115 int file_editor_interface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
116 {
117  _id = octave_dock_widget::qt_metacall(_c, _id, _a);
118  if (_id < 0)
119  return _id;
120  if (_c == QMetaObject::InvokeMetaMethod) {
121  if (_id < 11)
122  qt_static_metacall(this, _c, _id, _a);
123  _id -= 11;
124  }
125  return _id;
126 }
127 QT_END_MOC_NAMESPACE
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_file_editor_interface[]
static const char qt_meta_stringdata_file_editor_interface[]
virtual void request_new_file(const QString &command=QString())=0