General Purpose Geodetic Library
SgGuiParameterCfg.moc.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'SgGuiParameterCfg.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include <memory>
10 #include "SgGuiParameterCfg.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'SgGuiParameterCfg.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.3. 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 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
25  QByteArrayData data[9];
26  char stringdata0[99];
27 };
28 #define QT_MOC_LITERAL(idx, ofs, len) \
29  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30  qptrdiff(offsetof(qt_meta_stringdata_SgGuiParameterCfg_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
34  {
35 QT_MOC_LITERAL(0, 0, 17), // "SgGuiParameterCfg"
36 QT_MOC_LITERAL(1, 18, 12), // "windowClosed"
37 QT_MOC_LITERAL(2, 31, 0), // ""
38 QT_MOC_LITERAL(3, 32, 13), // "valueModified"
39 QT_MOC_LITERAL(4, 46, 6), // "accept"
40 QT_MOC_LITERAL(5, 53, 5), // "apply"
41 QT_MOC_LITERAL(6, 59, 6), // "reject"
42 QT_MOC_LITERAL(7, 66, 10), // "setDefault"
43 QT_MOC_LITERAL(8, 77, 21) // "stochasticTypeChanged"
44 
45  },
46  "SgGuiParameterCfg\0windowClosed\0\0"
47  "valueModified\0accept\0apply\0reject\0"
48  "setDefault\0stochasticTypeChanged"
49 };
50 #undef QT_MOC_LITERAL
51 
52 static const uint qt_meta_data_SgGuiParameterCfg[] = {
53 
54  // content:
55  8, // revision
56  0, // classname
57  0, 0, // classinfo
58  7, 14, // methods
59  0, 0, // properties
60  0, 0, // enums/sets
61  0, 0, // constructors
62  0, // flags
63  2, // signalCount
64 
65  // signals: name, argc, parameters, tag, flags
66  1, 0, 49, 2, 0x06 /* Public */,
67  3, 1, 50, 2, 0x06 /* Public */,
68 
69  // slots: name, argc, parameters, tag, flags
70  4, 0, 53, 2, 0x08 /* Private */,
71  5, 0, 54, 2, 0x08 /* Private */,
72  6, 0, 55, 2, 0x08 /* Private */,
73  7, 0, 56, 2, 0x08 /* Private */,
74  8, 1, 57, 2, 0x08 /* Private */,
75 
76  // signals: parameters
77  QMetaType::Void,
78  QMetaType::Void, QMetaType::Bool, 2,
79 
80  // slots: parameters
81  QMetaType::Void,
82  QMetaType::Void,
83  QMetaType::Void,
84  QMetaType::Void,
85  QMetaType::Void, QMetaType::Int, 2,
86 
87  0 // eod
88 };
89 
90 void SgGuiParameterCfg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
91 {
92  if (_c == QMetaObject::InvokeMetaMethod) {
93  auto *_t = static_cast<SgGuiParameterCfg *>(_o);
94  (void)_t;
95  switch (_id) {
96  case 0: _t->windowClosed(); break;
97  case 1: _t->valueModified((*reinterpret_cast< bool(*)>(_a[1]))); break;
98  case 2: _t->accept(); break;
99  case 3: _t->apply(); break;
100  case 4: _t->reject(); break;
101  case 5: _t->setDefault(); break;
102  case 6: _t->stochasticTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
103  default: ;
104  }
105  } else if (_c == QMetaObject::IndexOfMethod) {
106  int *result = reinterpret_cast<int *>(_a[0]);
107  {
108  using _t = void (SgGuiParameterCfg::*)();
109  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SgGuiParameterCfg::windowClosed)) {
110  *result = 0;
111  return;
112  }
113  }
114  {
115  using _t = void (SgGuiParameterCfg::*)(bool );
116  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SgGuiParameterCfg::valueModified)) {
117  *result = 1;
118  return;
119  }
120  }
121  }
122 }
123 
124 QT_INIT_METAOBJECT const QMetaObject SgGuiParameterCfg::staticMetaObject = { {
125  QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
128  qt_static_metacall,
129  nullptr,
130  nullptr
131 } };
132 
133 
134 const QMetaObject *SgGuiParameterCfg::metaObject() const
135 {
136  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
137 }
138 
139 void *SgGuiParameterCfg::qt_metacast(const char *_clname)
140 {
141  if (!_clname) return nullptr;
143  return static_cast<void*>(this);
144  return QDialog::qt_metacast(_clname);
145 }
146 
147 int SgGuiParameterCfg::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
148 {
149  _id = QDialog::qt_metacall(_c, _id, _a);
150  if (_id < 0)
151  return _id;
152  if (_c == QMetaObject::InvokeMetaMethod) {
153  if (_id < 7)
154  qt_static_metacall(this, _c, _id, _a);
155  _id -= 7;
156  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
157  if (_id < 7)
158  *reinterpret_cast<int*>(_a[0]) = -1;
159  _id -= 7;
160  }
161  return _id;
162 }
163 
164 // SIGNAL 0
166 {
167  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
168 }
169 
170 // SIGNAL 1
172 {
173  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
174  QMetaObject::activate(this, &staticMetaObject, 1, _a);
175 }
176 QT_WARNING_POP
177 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_SgGuiParameterCfg[]
static const qt_meta_stringdata_SgGuiParameterCfg_t qt_meta_stringdata_SgGuiParameterCfg
#define QT_MOC_LITERAL(idx, ofs, len)