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