1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'informationwindow.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "informationwindow.h" |
11 | #include <QtGui/qtextcursor.h> |
12 | #include <QScreen> |
13 | #include <QtCore/qbytearray.h> |
14 | #include <QtCore/qmetatype.h> |
15 | #if !defined(Q_MOC_OUTPUT_REVISION) |
16 | #error "The header file 'informationwindow.h' doesn't include <QObject>." |
17 | #elif Q_MOC_OUTPUT_REVISION != 68 |
18 | #error "This file was generated using the moc from 6.0.0. It" |
19 | #error "cannot be used with the include files from this version of Qt." |
20 | #error "(The moc has changed too much.)" |
21 | #endif |
22 | |
23 | QT_BEGIN_MOC_NAMESPACE |
24 | QT_WARNING_PUSH |
25 | QT_WARNING_DISABLE_DEPRECATED |
26 | struct qt_meta_stringdata_InformationWindow_t { |
27 | const uint offsetsAndSize[18]; |
28 | char stringdata0[79]; |
29 | }; |
30 | #define QT_MOC_LITERAL(ofs, len) \ |
31 | uint(offsetof(qt_meta_stringdata_InformationWindow_t, stringdata0) + ofs), len |
32 | static const qt_meta_stringdata_InformationWindow_t qt_meta_stringdata_InformationWindow = { |
33 | { |
34 | QT_MOC_LITERAL(0, 17), // "InformationWindow" |
35 | QT_MOC_LITERAL(18, 12), // "imageChanged" |
36 | QT_MOC_LITERAL(31, 0), // "" |
37 | QT_MOC_LITERAL(32, 2), // "id" |
38 | QT_MOC_LITERAL(35, 8), // "fileName" |
39 | QT_MOC_LITERAL(44, 6), // "revert" |
40 | QT_MOC_LITERAL(51, 6), // "submit" |
41 | QT_MOC_LITERAL(58, 13), // "enableButtons" |
42 | QT_MOC_LITERAL(72, 6) // "enable" |
43 | |
44 | }, |
45 | "InformationWindow\0imageChanged\0\0id\0" |
46 | "fileName\0revert\0submit\0enableButtons\0" |
47 | "enable" |
48 | }; |
49 | #undef QT_MOC_LITERAL |
50 | |
51 | static const uint qt_meta_data_InformationWindow[] = { |
52 | |
53 | // content: |
54 | 9, // revision |
55 | 0, // classname |
56 | 0, 0, // classinfo |
57 | 5, 14, // methods |
58 | 0, 0, // properties |
59 | 0, 0, // enums/sets |
60 | 0, 0, // constructors |
61 | 0, // flags |
62 | 1, // signalCount |
63 | |
64 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
65 | 1, 2, 44, 2, 0x06, 0 /* Public */, |
66 | |
67 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
68 | 5, 0, 49, 2, 0x08, 3 /* Private */, |
69 | 6, 0, 50, 2, 0x08, 4 /* Private */, |
70 | 7, 1, 51, 2, 0x08, 5 /* Private */, |
71 | 7, 0, 54, 2, 0x28, 7 /* Private | MethodCloned */, |
72 | |
73 | // signals: parameters |
74 | QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4, |
75 | |
76 | // slots: parameters |
77 | QMetaType::Void, |
78 | QMetaType::Void, |
79 | QMetaType::Void, QMetaType::Bool, 8, |
80 | QMetaType::Void, |
81 | |
82 | 0 // eod |
83 | }; |
84 | |
85 | void InformationWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
86 | { |
87 | if (_c == QMetaObject::InvokeMetaMethod) { |
88 | Q_ASSERT(staticMetaObject.cast(_o)); |
89 | auto *_t = static_cast<InformationWindow *>(_o); |
90 | Q_UNUSED(_t) |
91 | switch (_id) { |
92 | case 0: _t->imageChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; |
93 | case 1: _t->revert(); break; |
94 | case 2: _t->submit(); break; |
95 | case 3: _t->enableButtons((*reinterpret_cast< bool(*)>(_a[1]))); break; |
96 | case 4: _t->enableButtons(); break; |
97 | default: ; |
98 | } |
99 | } else if (_c == QMetaObject::IndexOfMethod) { |
100 | int *result = reinterpret_cast<int *>(_a[0]); |
101 | { |
102 | using _t = void (InformationWindow::*)(int , const QString & ); |
103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InformationWindow::imageChanged)) { |
104 | *result = 0; |
105 | return; |
106 | } |
107 | } |
108 | } |
109 | } |
110 | |
111 | const QMetaObject InformationWindow::staticMetaObject = { { |
112 | QMetaObject::SuperData::link<QDialog::staticMetaObject>(), |
113 | qt_meta_stringdata_InformationWindow.offsetsAndSize, |
114 | qt_meta_data_InformationWindow, |
115 | qt_static_metacall, |
116 | nullptr, |
117 | qt_incomplete_metaTypeArray<qt_meta_stringdata_InformationWindow_t |
118 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type> |
119 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
120 | |
121 | |
122 | >, |
123 | nullptr |
124 | } }; |
125 | |
126 | |
127 | const QMetaObject *InformationWindow::metaObject() const |
128 | { |
129 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
130 | } |
131 | |
132 | void *InformationWindow::qt_metacast(const char *_clname) |
133 | { |
134 | if (!_clname) return nullptr; |
135 | if (!strcmp(_clname, qt_meta_stringdata_InformationWindow.stringdata0)) |
136 | return static_cast<void*>(this); |
137 | return QDialog::qt_metacast(_clname); |
138 | } |
139 | |
140 | int InformationWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
141 | { |
142 | _id = QDialog::qt_metacall(_c, _id, _a); |
143 | if (_id < 0) |
144 | return _id; |
145 | if (_c == QMetaObject::InvokeMetaMethod) { |
146 | if (_id < 5) |
147 | qt_static_metacall(this, _c, _id, _a); |
148 | _id -= 5; |
149 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
150 | if (_id < 5) |
151 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
152 | _id -= 5; |
153 | } |
154 | return _id; |
155 | } |
156 | |
157 | // SIGNAL 0 |
158 | void InformationWindow::imageChanged(int _t1, const QString & _t2) |
159 | { |
160 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
161 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
162 | } |
163 | QT_WARNING_POP |
164 | QT_END_MOC_NAMESPACE |
165 | |