RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_connector.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'connector.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 "connector.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'connector.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[8];
23  char stringdata[143];
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_Connector__Panel_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_Connector__Panel_t qt_meta_stringdata_Connector__Panel = {
31  {
32 QT_MOC_LITERAL(0, 0, 16),
33 QT_MOC_LITERAL(1, 17, 21),
34 QT_MOC_LITERAL(2, 39, 0),
35 QT_MOC_LITERAL(3, 40, 22),
36 QT_MOC_LITERAL(4, 63, 22),
37 QT_MOC_LITERAL(5, 86, 16),
38 QT_MOC_LITERAL(6, 103, 16),
39 QT_MOC_LITERAL(7, 120, 22)
40  },
41  "Connector::Panel\0buildInputChannelList\0"
42  "\0buildOutputChannelList\0highlightConnectionBox\0"
43  "QListWidgetItem*\0toggleConnection\0"
44  "updateConnectionButton"
45 };
46 #undef QT_MOC_LITERAL
47 
48 static const uint qt_meta_data_Connector__Panel[] = {
49 
50  // content:
51  7, // revision
52  0, // classname
53  0, 0, // classinfo
54  5, 14, // methods
55  0, 0, // properties
56  0, 0, // enums/sets
57  0, 0, // constructors
58  0, // flags
59  0, // signalCount
60 
61  // slots: name, argc, parameters, tag, flags
62  1, 0, 39, 2, 0x08 /* Private */,
63  3, 0, 40, 2, 0x08 /* Private */,
64  4, 1, 41, 2, 0x08 /* Private */,
65  6, 1, 44, 2, 0x08 /* Private */,
66  7, 0, 47, 2, 0x08 /* Private */,
67 
68  // slots: parameters
69  QMetaType::Void,
70  QMetaType::Void,
71  QMetaType::Void, 0x80000000 | 5, 2,
72  QMetaType::Void, QMetaType::Bool, 2,
73  QMetaType::Void,
74 
75  0 // eod
76 };
77 
78 void Connector::Panel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79 {
80  if (_c == QMetaObject::InvokeMetaMethod) {
81  Panel *_t = static_cast<Panel *>(_o);
82  switch (_id) {
83  case 0: _t->buildInputChannelList(); break;
84  case 1: _t->buildOutputChannelList(); break;
85  case 2: _t->highlightConnectionBox((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
86  case 3: _t->toggleConnection((*reinterpret_cast< bool(*)>(_a[1]))); break;
87  case 4: _t->updateConnectionButton(); break;
88  default: ;
89  }
90  }
91 }
92 
93 const QMetaObject Connector::Panel::staticMetaObject = {
94  { &QWidget::staticMetaObject, qt_meta_stringdata_Connector__Panel.data,
95  qt_meta_data_Connector__Panel, qt_static_metacall, 0, 0}
96 };
97 
98 
99 const QMetaObject *Connector::Panel::metaObject() const
100 {
101  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
102 }
103 
104 void *Connector::Panel::qt_metacast(const char *_clname)
105 {
106  if (!_clname) return 0;
107  if (!strcmp(_clname, qt_meta_stringdata_Connector__Panel.stringdata))
108  return static_cast<void*>(const_cast< Panel*>(this));
109  if (!strcmp(_clname, "Event::Handler"))
110  return static_cast< Event::Handler*>(const_cast< Panel*>(this));
111  return QWidget::qt_metacast(_clname);
112 }
113 
114 int Connector::Panel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
115 {
116  _id = QWidget::qt_metacall(_c, _id, _a);
117  if (_id < 0)
118  return _id;
119  if (_c == QMetaObject::InvokeMetaMethod) {
120  if (_id < 5)
121  qt_static_metacall(this, _c, _id, _a);
122  _id -= 5;
123  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
124  if (_id < 5)
125  *reinterpret_cast<int*>(_a[0]) = -1;
126  _id -= 5;
127  }
128  return _id;
129 }
131  QByteArrayData data[3];
132  char stringdata[38];
133 };
134 #define QT_MOC_LITERAL(idx, ofs, len) \
135  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
136  qptrdiff(offsetof(qt_meta_stringdata_Connector__Plugin_t, stringdata) + ofs \
137  - idx * sizeof(QByteArrayData)) \
138  )
139 static const qt_meta_stringdata_Connector__Plugin_t qt_meta_stringdata_Connector__Plugin = {
140  {
141 QT_MOC_LITERAL(0, 0, 17),
142 QT_MOC_LITERAL(1, 18, 18),
143 QT_MOC_LITERAL(2, 37, 0)
144  },
145  "Connector::Plugin\0showConnectorPanel\0"
146  ""
147 };
148 #undef QT_MOC_LITERAL
149 
150 static const uint qt_meta_data_Connector__Plugin[] = {
151 
152  // content:
153  7, // revision
154  0, // classname
155  0, 0, // classinfo
156  1, 14, // methods
157  0, 0, // properties
158  0, 0, // enums/sets
159  0, 0, // constructors
160  0, // flags
161  0, // signalCount
162 
163  // slots: name, argc, parameters, tag, flags
164  1, 0, 19, 2, 0x0a /* Public */,
165 
166  // slots: parameters
167  QMetaType::Void,
168 
169  0 // eod
170 };
171 
172 void Connector::Plugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
173 {
174  if (_c == QMetaObject::InvokeMetaMethod) {
175  Plugin *_t = static_cast<Plugin *>(_o);
176  switch (_id) {
177  case 0: _t->showConnectorPanel(); break;
178  default: ;
179  }
180  }
181  Q_UNUSED(_a);
182 }
183 
184 const QMetaObject Connector::Plugin::staticMetaObject = {
185  { &QObject::staticMetaObject, qt_meta_stringdata_Connector__Plugin.data,
186  qt_meta_data_Connector__Plugin, qt_static_metacall, 0, 0}
187 };
188 
189 
190 const QMetaObject *Connector::Plugin::metaObject() const
191 {
192  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
193 }
194 
195 void *Connector::Plugin::qt_metacast(const char *_clname)
196 {
197  if (!_clname) return 0;
198  if (!strcmp(_clname, qt_meta_stringdata_Connector__Plugin.stringdata))
199  return static_cast<void*>(const_cast< Plugin*>(this));
200  if (!strcmp(_clname, "::Plugin::Object"))
201  return static_cast< ::Plugin::Object*>(const_cast< Plugin*>(this));
202  return QObject::qt_metacast(_clname);
203 }
204 
205 int Connector::Plugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
206 {
207  _id = QObject::qt_metacall(_c, _id, _a);
208  if (_id < 0)
209  return _id;
210  if (_c == QMetaObject::InvokeMetaMethod) {
211  if (_id < 1)
212  qt_static_metacall(this, _c, _id, _a);
213  _id -= 1;
214  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
215  if (_id < 1)
216  *reinterpret_cast<int*>(_a[0]) = -1;
217  _id -= 1;
218  }
219  return _id;
220 }
221 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
Panel(QWidget *)
Definition: connector.cpp:39
Classes associated with the loading/unloading of binaries at run-time.
Definition: plugin.h:35