GNU Octave  4.2.1
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 #if defined (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  13, 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  243, 172, 22, 22, 0x0a,
43  371, 305, 22, 22, 0x2a,
44  484, 425, 22, 22, 0x2a,
45  574, 533, 22, 22, 0x2a,
46  645, 618, 22, 22, 0x2a,
47  706, 684, 22, 22, 0x2a,
48  754, 741, 22, 22, 0x2a,
49 
50  0 // eod
51 };
52 
54  "file_editor_interface\0\0command\0"
55  "request_new_file(QString)\0request_new_file()\0"
56  "request_new_script(QString)\0"
57  "request_new_script()\0request_new_function(bool)\0"
58  "request_open_file()\0"
59  "openFileName,encoding,line,debug_pointer,breakpoint_marker,insert,cond\0"
60  "request_open_file(QString,QString,int,bool,bool,bool,QString)\0"
61  "openFileName,encoding,line,debug_pointer,breakpoint_marker,insert\0"
62  "request_open_file(QString,QString,int,bool,bool,bool)\0"
63  "openFileName,encoding,line,debug_pointer,breakpoint_marker\0"
64  "request_open_file(QString,QString,int,bool,bool)\0"
65  "openFileName,encoding,line,debug_pointer\0"
66  "request_open_file(QString,QString,int,bool)\0"
67  "openFileName,encoding,line\0"
68  "request_open_file(QString,QString,int)\0"
69  "openFileName,encoding\0"
70  "request_open_file(QString,QString)\0"
71  "openFileName\0request_open_file(QString)\0"
72 };
73 
74 void file_editor_interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
75 {
76  if (_c == QMetaObject::InvokeMetaMethod) {
77  Q_ASSERT(staticMetaObject.cast(_o));
78  file_editor_interface *_t = static_cast<file_editor_interface *>(_o);
79  switch (_id) {
80  case 0: _t->request_new_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
81  case 1: _t->request_new_file(); break;
82  case 2: _t->request_new_script((*reinterpret_cast< const QString(*)>(_a[1]))); break;
83  case 3: _t->request_new_script(); break;
84  case 4: _t->request_new_function((*reinterpret_cast< bool(*)>(_a[1]))); break;
85  case 5: _t->request_open_file(); break;
86  case 6: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5])),(*reinterpret_cast< bool(*)>(_a[6])),(*reinterpret_cast< const QString(*)>(_a[7]))); break;
87  case 7: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5])),(*reinterpret_cast< bool(*)>(_a[6]))); break;
88  case 8: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5]))); break;
89  case 9: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
90  case 10: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
91  case 11: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
92  case 12: _t->request_open_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
93  default: ;
94  }
95  }
96 }
97 
98 const QMetaObjectExtraData file_editor_interface::staticMetaObjectExtraData = {
99  0, qt_static_metacall
100 };
101 
102 const QMetaObject file_editor_interface::staticMetaObject = {
103  { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_file_editor_interface,
104  qt_meta_data_file_editor_interface, &staticMetaObjectExtraData }
105 };
106 
107 #ifdef Q_NO_DATA_RELOCATION
108 const QMetaObject &file_editor_interface::getStaticMetaObject() { return staticMetaObject; }
109 #endif //Q_NO_DATA_RELOCATION
110 
111 const QMetaObject *file_editor_interface::metaObject() const
112 {
113  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
114 }
115 
116 void *file_editor_interface::qt_metacast(const char *_clname)
117 {
118  if (!_clname) return 0;
120  return static_cast<void*>(const_cast< file_editor_interface*>(this));
121  return octave_dock_widget::qt_metacast(_clname);
122 }
123 
124 int file_editor_interface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
125 {
126  _id = octave_dock_widget::qt_metacall(_c, _id, _a);
127  if (_id < 0)
128  return _id;
129  if (_c == QMetaObject::InvokeMetaMethod) {
130  if (_id < 13)
131  qt_static_metacall(this, _c, _id, _a);
132  _id -= 13;
133  }
134  return _id;
135 }
136 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
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112