1/****************************************************************************
2** Meta object code from reading C++ file 'screenshot.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 "screenshot.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'screenshot.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 68
16#error "This file was generated using the moc from 6.0.0. 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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_Screenshot_t {
25 const uint offsetsAndSize[12];
26 char stringdata0[68];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_Screenshot_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_Screenshot_t qt_meta_stringdata_Screenshot = {
31 {
32QT_MOC_LITERAL(0, 10), // "Screenshot"
33QT_MOC_LITERAL(11, 13), // "newScreenshot"
34QT_MOC_LITERAL(25, 0), // ""
35QT_MOC_LITERAL(26, 14), // "saveScreenshot"
36QT_MOC_LITERAL(41, 11), // "shootScreen"
37QT_MOC_LITERAL(53, 14) // "updateCheckBox"
38
39 },
40 "Screenshot\0newScreenshot\0\0saveScreenshot\0"
41 "shootScreen\0updateCheckBox"
42};
43#undef QT_MOC_LITERAL
44
45static const uint qt_meta_data_Screenshot[] = {
46
47 // content:
48 9, // revision
49 0, // classname
50 0, 0, // classinfo
51 4, 14, // methods
52 0, 0, // properties
53 0, 0, // enums/sets
54 0, 0, // constructors
55 0, // flags
56 0, // signalCount
57
58 // slots: name, argc, parameters, tag, flags, initial metatype offsets
59 1, 0, 38, 2, 0x08, 0 /* Private */,
60 3, 0, 39, 2, 0x08, 1 /* Private */,
61 4, 0, 40, 2, 0x08, 2 /* Private */,
62 5, 0, 41, 2, 0x08, 3 /* Private */,
63
64 // slots: parameters
65 QMetaType::Void,
66 QMetaType::Void,
67 QMetaType::Void,
68 QMetaType::Void,
69
70 0 // eod
71};
72
73void Screenshot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
74{
75 if (_c == QMetaObject::InvokeMetaMethod) {
76 Q_ASSERT(staticMetaObject.cast(_o));
77 auto *_t = static_cast<Screenshot *>(_o);
78 Q_UNUSED(_t)
79 switch (_id) {
80 case 0: _t->newScreenshot(); break;
81 case 1: _t->saveScreenshot(); break;
82 case 2: _t->shootScreen(); break;
83 case 3: _t->updateCheckBox(); break;
84 default: ;
85 }
86 }
87 Q_UNUSED(_a);
88}
89
90const QMetaObject Screenshot::staticMetaObject = { {
91 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
92 qt_meta_stringdata_Screenshot.offsetsAndSize,
93 qt_meta_data_Screenshot,
94 qt_static_metacall,
95 nullptr,
96qt_incomplete_metaTypeArray<qt_meta_stringdata_Screenshot_t
97
98, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
99
100
101>,
102 nullptr
103} };
104
105
106const QMetaObject *Screenshot::metaObject() const
107{
108 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
109}
110
111void *Screenshot::qt_metacast(const char *_clname)
112{
113 if (!_clname) return nullptr;
114 if (!strcmp(_clname, qt_meta_stringdata_Screenshot.stringdata0))
115 return static_cast<void*>(this);
116 return QWidget::qt_metacast(_clname);
117}
118
119int Screenshot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
120{
121 _id = QWidget::qt_metacall(_c, _id, _a);
122 if (_id < 0)
123 return _id;
124 if (_c == QMetaObject::InvokeMetaMethod) {
125 if (_id < 4)
126 qt_static_metacall(this, _c, _id, _a);
127 _id -= 4;
128 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
129 if (_id < 4)
130 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
131 _id -= 4;
132 }
133 return _id;
134}
135QT_WARNING_POP
136QT_END_MOC_NAMESPACE
137