1 /****************************************************************************
2 ** Meta object code from reading C++ file 'csettings.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.5)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "csettings.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'csettings.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.9.5. 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
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
23 struct qt_meta_stringdata_CFrmSettings_t {
24     QByteArrayData data[11];
25     char stringdata0[103];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29     qptrdiff(offsetof(qt_meta_stringdata_CFrmSettings_t, stringdata0) + ofs \
30         - idx * sizeof(QByteArrayData)) \
31     )
32 static const qt_meta_stringdata_CFrmSettings_t qt_meta_stringdata_CFrmSettings = {
33     {
34 QT_MOC_LITERAL(0, 0, 12), // "CFrmSettings"
35 QT_MOC_LITERAL(1, 13, 10), // "outputSlot"
36 QT_MOC_LITERAL(2, 24, 0), // ""
37 QT_MOC_LITERAL(3, 25, 7), // "addSlot"
38 QT_MOC_LITERAL(4, 33, 8), // "helpSlot"
39 QT_MOC_LITERAL(5, 42, 10), // "cancelSlot"
40 QT_MOC_LITERAL(6, 53, 6), // "okSlot"
41 QT_MOC_LITERAL(7, 60, 7), // "newSlot"
42 QT_MOC_LITERAL(8, 68, 8), // "openSlot"
43 QT_MOC_LITERAL(9, 77, 8), // "saveSlot"
44 QT_MOC_LITERAL(10, 86, 16) // "scopeChangedSlot"
45 
46     },
47     "CFrmSettings\0outputSlot\0\0addSlot\0"
48     "helpSlot\0cancelSlot\0okSlot\0newSlot\0"
49     "openSlot\0saveSlot\0scopeChangedSlot"
50 };
51 #undef QT_MOC_LITERAL
52 
53 static const uint qt_meta_data_CFrmSettings[] = {
54 
55  // content:
56        7,       // revision
57        0,       // classname
58        0,    0, // classinfo
59        9,   14, // methods
60        0,    0, // properties
61        0,    0, // enums/sets
62        0,    0, // constructors
63        0,       // flags
64        0,       // signalCount
65 
66  // slots: name, argc, parameters, tag, flags
67        1,    0,   59,    2, 0x08 /* Private */,
68        3,    0,   60,    2, 0x08 /* Private */,
69        4,    0,   61,    2, 0x08 /* Private */,
70        5,    0,   62,    2, 0x08 /* Private */,
71        6,    0,   63,    2, 0x08 /* Private */,
72        7,    0,   64,    2, 0x08 /* Private */,
73        8,    0,   65,    2, 0x08 /* Private */,
74        9,    0,   66,    2, 0x08 /* Private */,
75       10,    1,   67,    2, 0x08 /* Private */,
76 
77  // slots: parameters
78     QMetaType::Void,
79     QMetaType::Void,
80     QMetaType::Void,
81     QMetaType::Void,
82     QMetaType::Void,
83     QMetaType::Void,
84     QMetaType::Void,
85     QMetaType::Void,
86     QMetaType::Void, QMetaType::Int,    2,
87 
88        0        // eod
89 };
90 
qt_static_metacall(QObject * _o,QMetaObject::Call _c,int _id,void ** _a)91 void CFrmSettings::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
92 {
93     if (_c == QMetaObject::InvokeMetaMethod) {
94         CFrmSettings *_t = static_cast<CFrmSettings *>(_o);
95         Q_UNUSED(_t)
96         switch (_id) {
97         case 0: _t->outputSlot(); break;
98         case 1: _t->addSlot(); break;
99         case 2: _t->helpSlot(); break;
100         case 3: _t->cancelSlot(); break;
101         case 4: _t->okSlot(); break;
102         case 5: _t->newSlot(); break;
103         case 6: _t->openSlot(); break;
104         case 7: _t->saveSlot(); break;
105         case 8: _t->scopeChangedSlot((*reinterpret_cast< int(*)>(_a[1]))); break;
106         default: ;
107         }
108     }
109 }
110 
111 const QMetaObject CFrmSettings::staticMetaObject = {
112     { &QDialog::staticMetaObject, qt_meta_stringdata_CFrmSettings.data,
113       qt_meta_data_CFrmSettings,  qt_static_metacall, nullptr, nullptr}
114 };
115 
116 
metaObject() const117 const QMetaObject *CFrmSettings::metaObject() const
118 {
119     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
120 }
121 
qt_metacast(const char * _clname)122 void *CFrmSettings::qt_metacast(const char *_clname)
123 {
124     if (!_clname) return nullptr;
125     if (!strcmp(_clname, qt_meta_stringdata_CFrmSettings.stringdata0))
126         return static_cast<void*>(this);
127     return QDialog::qt_metacast(_clname);
128 }
129 
qt_metacall(QMetaObject::Call _c,int _id,void ** _a)130 int CFrmSettings::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
131 {
132     _id = QDialog::qt_metacall(_c, _id, _a);
133     if (_id < 0)
134         return _id;
135     if (_c == QMetaObject::InvokeMetaMethod) {
136         if (_id < 9)
137             qt_static_metacall(this, _c, _id, _a);
138         _id -= 9;
139     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140         if (_id < 9)
141             *reinterpret_cast<int*>(_a[0]) = -1;
142         _id -= 9;
143     }
144     return _id;
145 }
146 QT_WARNING_POP
147 QT_END_MOC_NAMESPACE
148