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-workspace-model.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 'workspace-model.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 
12 #include "src/workspace-model.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'workspace-model.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_workspace_model[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  5, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  2, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  17, 16, 16, 16, 0x05,
37  51, 33, 16, 16, 0x05,
38 
39  // slots: signature, parameters, type, tag, flags
40  159, 84, 16, 16, 0x0a,
41  249, 16, 16, 16, 0x0a,
42  267, 16, 16, 16, 0x0a,
43 
44  0 // eod
45 };
46 
47 static const char qt_meta_stringdata_workspace_model[] = {
48  "workspace_model\0\0model_changed()\0"
49  "old_name,new_name\0rename_variable(QString,QString)\0"
50  "top_level,debug,scopes,symbols,class_names,dimensions,values,complex_f"
51  "lags\0"
52  "set_workspace(bool,bool,QString,QStringList,QStringList,QStringList,QS"
53  "tringList,QIntList)\0"
54  "clear_workspace()\0notice_settings(const QSettings*)\0"
55 };
56 
57 void workspace_model::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
58 {
59  if (_c == QMetaObject::InvokeMetaMethod) {
60  Q_ASSERT(staticMetaObject.cast(_o));
61  workspace_model *_t = static_cast<workspace_model *>(_o);
62  switch (_id) {
63  case 0: _t->model_changed(); break;
64  case 1: _t->rename_variable((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
65  case 2: _t->set_workspace((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QStringList(*)>(_a[4])),(*reinterpret_cast< const QStringList(*)>(_a[5])),(*reinterpret_cast< const QStringList(*)>(_a[6])),(*reinterpret_cast< const QStringList(*)>(_a[7])),(*reinterpret_cast< const QIntList(*)>(_a[8]))); break;
66  case 3: _t->clear_workspace(); break;
67  case 4: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
68  default: ;
69  }
70  }
71 }
72 
73 const QMetaObjectExtraData workspace_model::staticMetaObjectExtraData = {
74  0, qt_static_metacall
75 };
76 
77 const QMetaObject workspace_model::staticMetaObject = {
78  { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_workspace_model,
79  qt_meta_data_workspace_model, &staticMetaObjectExtraData }
80 };
81 
82 #ifdef Q_NO_DATA_RELOCATION
83 const QMetaObject &workspace_model::getStaticMetaObject() { return staticMetaObject; }
84 #endif //Q_NO_DATA_RELOCATION
85 
86 const QMetaObject *workspace_model::metaObject() const
87 {
88  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
89 }
90 
91 void *workspace_model::qt_metacast(const char *_clname)
92 {
93  if (!_clname) return 0;
94  if (!strcmp(_clname, qt_meta_stringdata_workspace_model))
95  return static_cast<void*>(const_cast< workspace_model*>(this));
96  return QAbstractTableModel::qt_metacast(_clname);
97 }
98 
99 int workspace_model::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100 {
101  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
102  if (_id < 0)
103  return _id;
104  if (_c == QMetaObject::InvokeMetaMethod) {
105  if (_id < 5)
106  qt_static_metacall(this, _c, _id, _a);
107  _id -= 5;
108  }
109  return _id;
110 }
111 
112 // SIGNAL 0
114 {
115  QMetaObject::activate(this, &staticMetaObject, 0, 0);
116 }
117 
118 // SIGNAL 1
119 void workspace_model::rename_variable(const QString & _t1, const QString & _t2)
120 {
121  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
122  QMetaObject::activate(this, &staticMetaObject, 1, _a);
123 }
124 QT_END_MOC_NAMESPACE
void rename_variable(const QString &old_name, const QString &new_name)
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_workspace_model[]
QList< int > QIntList
Definition: dialog.h:38
static const char qt_meta_stringdata_workspace_model[]