RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_model_loader.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'model_loader.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "model_loader.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'model_loader.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.3.2. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
22  QByteArrayData data[3];
23  char stringdata[18];
24 };
25 #define QT_MOC_LITERAL(idx, ofs, len) \
26  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27  qptrdiff(offsetof(qt_meta_stringdata_ModelLoader_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_ModelLoader_t qt_meta_stringdata_ModelLoader = {
31  {
32 QT_MOC_LITERAL(0, 0, 11),
33 QT_MOC_LITERAL(1, 12, 4),
34 QT_MOC_LITERAL(2, 17, 0)
35  },
36  "ModelLoader\0load\0"
37 };
38 #undef QT_MOC_LITERAL
39 
40 static const uint qt_meta_data_ModelLoader[] = {
41 
42  // content:
43  7, // revision
44  0, // classname
45  0, 0, // classinfo
46  1, 14, // methods
47  0, 0, // properties
48  0, 0, // enums/sets
49  0, 0, // constructors
50  0, // flags
51  0, // signalCount
52 
53  // slots: name, argc, parameters, tag, flags
54  1, 0, 19, 2, 0x0a /* Public */,
55 
56  // slots: parameters
57  QMetaType::Void,
58 
59  0 // eod
60 };
61 
62 void ModelLoader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
63 {
64  if (_c == QMetaObject::InvokeMetaMethod) {
65  ModelLoader *_t = static_cast<ModelLoader *>(_o);
66  switch (_id) {
67  case 0: _t->load(); break;
68  default: ;
69  }
70  }
71  Q_UNUSED(_a);
72 }
73 
74 const QMetaObject ModelLoader::staticMetaObject = {
75  { &QObject::staticMetaObject, qt_meta_stringdata_ModelLoader.data,
76  qt_meta_data_ModelLoader, qt_static_metacall, 0, 0}
77 };
78 
79 
80 const QMetaObject *ModelLoader::metaObject() const
81 {
82  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
83 }
84 
85 void *ModelLoader::qt_metacast(const char *_clname)
86 {
87  if (!_clname) return 0;
88  if (!strcmp(_clname, qt_meta_stringdata_ModelLoader.stringdata))
89  return static_cast<void*>(const_cast< ModelLoader*>(this));
90  if (!strcmp(_clname, "Plugin::Object"))
91  return static_cast< Plugin::Object*>(const_cast< ModelLoader*>(this));
92  return QObject::qt_metacast(_clname);
93 }
94 
95 int ModelLoader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
96 {
97  _id = QObject::qt_metacall(_c, _id, _a);
98  if (_id < 0)
99  return _id;
100  if (_c == QMetaObject::InvokeMetaMethod) {
101  if (_id < 1)
102  qt_static_metacall(this, _c, _id, _a);
103  _id -= 1;
104  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
105  if (_id < 1)
106  *reinterpret_cast<int*>(_a[0]) = -1;
107  _id -= 1;
108  }
109  return _id;
110 }
111 QT_END_MOC_NAMESPACE
void load(void)
#define QT_MOC_LITERAL(idx, ofs, len)