General Purpose Geodetic Library
NsSetupDialog.moc.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'NsSetupDialog.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include <memory>
10 #include "NsSetupDialog.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'NsSetupDialog.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.2. 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[7];
26  char stringdata0[80];
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_NsSetupDialog_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
34  {
35 QT_MOC_LITERAL(0, 0, 13), // "NsSetupDialog"
36 QT_MOC_LITERAL(1, 14, 5), // "apply"
37 QT_MOC_LITERAL(2, 20, 0), // ""
38 QT_MOC_LITERAL(3, 21, 6), // "accept"
39 QT_MOC_LITERAL(4, 28, 6), // "reject"
40 QT_MOC_LITERAL(5, 35, 25), // "modifyPlotterOutputFormat"
41 QT_MOC_LITERAL(6, 61, 18) // "modifyAutosaveMode"
42 
43  },
44  "NsSetupDialog\0apply\0\0accept\0reject\0"
45  "modifyPlotterOutputFormat\0modifyAutosaveMode"
46 };
47 #undef QT_MOC_LITERAL
48 
49 static const uint qt_meta_data_NsSetupDialog[] = {
50 
51  // content:
52  8, // revision
53  0, // classname
54  0, 0, // classinfo
55  5, 14, // methods
56  0, 0, // properties
57  0, 0, // enums/sets
58  0, 0, // constructors
59  0, // flags
60  0, // signalCount
61 
62  // slots: name, argc, parameters, tag, flags
63  1, 0, 39, 2, 0x08 /* Private */,
64  3, 0, 40, 2, 0x08 /* Private */,
65  4, 0, 41, 2, 0x08 /* Private */,
66  5, 1, 42, 2, 0x08 /* Private */,
67  6, 1, 45, 2, 0x08 /* Private */,
68 
69  // slots: parameters
70  QMetaType::Void,
71  QMetaType::Void,
72  QMetaType::Void,
73  QMetaType::Void, QMetaType::Int, 2,
74  QMetaType::Void, QMetaType::Int, 2,
75 
76  0 // eod
77 };
78 
79 void NsSetupDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80 {
81  if (_c == QMetaObject::InvokeMetaMethod) {
82  auto *_t = static_cast<NsSetupDialog *>(_o);
83  Q_UNUSED(_t)
84  switch (_id) {
85  case 0: _t->apply(); break;
86  case 1: _t->accept(); break;
87  case 2: _t->reject(); break;
88  case 3: _t->modifyPlotterOutputFormat((*reinterpret_cast< int(*)>(_a[1]))); break;
89  case 4: _t->modifyAutosaveMode((*reinterpret_cast< int(*)>(_a[1]))); break;
90  default: ;
91  }
92  }
93 }
94 
95 QT_INIT_METAOBJECT const QMetaObject NsSetupDialog::staticMetaObject = { {
96  QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
99  qt_static_metacall,
100  nullptr,
101  nullptr
102 } };
103 
104 
105 const QMetaObject *NsSetupDialog::metaObject() const
106 {
107  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
108 }
109 
110 void *NsSetupDialog::qt_metacast(const char *_clname)
111 {
112  if (!_clname) return nullptr;
113  if (!strcmp(_clname, qt_meta_stringdata_NsSetupDialog.stringdata0))
114  return static_cast<void*>(this);
115  return QDialog::qt_metacast(_clname);
116 }
117 
118 int NsSetupDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
119 {
120  _id = QDialog::qt_metacall(_c, _id, _a);
121  if (_id < 0)
122  return _id;
123  if (_c == QMetaObject::InvokeMetaMethod) {
124  if (_id < 5)
125  qt_static_metacall(this, _c, _id, _a);
126  _id -= 5;
127  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
128  if (_id < 5)
129  *reinterpret_cast<int*>(_a[0]) = -1;
130  _id -= 5;
131  }
132  return _id;
133 }
134 QT_WARNING_POP
135 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_NsSetupDialog_t qt_meta_stringdata_NsSetupDialog
static const uint qt_meta_data_NsSetupDialog[]