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-Object.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 'Object.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 "graphics/Object.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'Object.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_QtHandles__Object[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  6, 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  23, 19, 18, 18, 0x0a,
37  39, 18, 18, 18, 0x0a,
38  54, 18, 18, 18, 0x0a,
39  81, 67, 18, 18, 0x0a,
40  112, 108, 18, 18, 0x0a,
41  138, 18, 18, 18, 0x2a,
42 
43  0 // eod
44 };
45 
46 static const char qt_meta_stringdata_QtHandles__Object[] = {
47  "QtHandles::Object\0\0pId\0slotUpdate(int)\0"
48  "slotFinalize()\0slotRedraw()\0file_cmd,term\0"
49  "slotPrint(QString,QString)\0obj\0"
50  "objectDestroyed(QObject*)\0objectDestroyed()\0"
51 };
52 
53 void QtHandles::Object::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
54 {
55  if (_c == QMetaObject::InvokeMetaMethod) {
56  Q_ASSERT(staticMetaObject.cast(_o));
57  Object *_t = static_cast<Object *>(_o);
58  switch (_id) {
59  case 0: _t->slotUpdate((*reinterpret_cast< int(*)>(_a[1]))); break;
60  case 1: _t->slotFinalize(); break;
61  case 2: _t->slotRedraw(); break;
62  case 3: _t->slotPrint((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
63  case 4: _t->objectDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
64  case 5: _t->objectDestroyed(); break;
65  default: ;
66  }
67  }
68 }
69 
70 const QMetaObjectExtraData QtHandles::Object::staticMetaObjectExtraData = {
71  0, qt_static_metacall
72 };
73 
74 const QMetaObject QtHandles::Object::staticMetaObject = {
75  { &QObject::staticMetaObject, qt_meta_stringdata_QtHandles__Object,
76  qt_meta_data_QtHandles__Object, &staticMetaObjectExtraData }
77 };
78 
79 #ifdef Q_NO_DATA_RELOCATION
80 const QMetaObject &QtHandles::Object::getStaticMetaObject() { return staticMetaObject; }
81 #endif //Q_NO_DATA_RELOCATION
82 
83 const QMetaObject *QtHandles::Object::metaObject() const
84 {
85  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
86 }
87 
88 void *QtHandles::Object::qt_metacast(const char *_clname)
89 {
90  if (!_clname) return 0;
91  if (!strcmp(_clname, qt_meta_stringdata_QtHandles__Object))
92  return static_cast<void*>(const_cast< Object*>(this));
93  return QObject::qt_metacast(_clname);
94 }
95 
96 int QtHandles::Object::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
97 {
98  _id = QObject::qt_metacall(_c, _id, _a);
99  if (_id < 0)
100  return _id;
101  if (_c == QMetaObject::InvokeMetaMethod) {
102  if (_id < 6)
103  qt_static_metacall(this, _c, _id, _a);
104  _id -= 6;
105  }
106  return _id;
107 }
108 QT_END_MOC_NAMESPACE
static const char qt_meta_stringdata_QtHandles__Object[]
Definition: moc-Object.cc:46
Object(const graphics_object &go, QObject *obj=0)
Definition: Object.cc:37
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QtHandles__Object[]
Definition: moc-Object.cc:22