1/****************************************************************************
2** Meta object code from reading C++ file 'qclipboard.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 "kernel/qclipboard.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qclipboard.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_QClipboard_t {
25 const uint offsetsAndSize[16];
26 char stringdata0[89];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QClipboard_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QClipboard_t qt_meta_stringdata_QClipboard = {
31 {
32QT_MOC_LITERAL(0, 10), // "QClipboard"
33QT_MOC_LITERAL(11, 7), // "changed"
34QT_MOC_LITERAL(19, 0), // ""
35QT_MOC_LITERAL(20, 16), // "QClipboard::Mode"
36QT_MOC_LITERAL(37, 4), // "mode"
37QT_MOC_LITERAL(42, 16), // "selectionChanged"
38QT_MOC_LITERAL(59, 17), // "findBufferChanged"
39QT_MOC_LITERAL(77, 11) // "dataChanged"
40
41 },
42 "QClipboard\0changed\0\0QClipboard::Mode\0"
43 "mode\0selectionChanged\0findBufferChanged\0"
44 "dataChanged"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_QClipboard[] = {
49
50 // content:
51 9, // revision
52 0, // classname
53 0, 0, // classinfo
54 4, 14, // methods
55 0, 0, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 4, // signalCount
60
61 // signals: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 1, 38, 2, 0x06, 0 /* Public */,
63 5, 0, 41, 2, 0x06, 2 /* Public */,
64 6, 0, 42, 2, 0x06, 3 /* Public */,
65 7, 0, 43, 2, 0x06, 4 /* Public */,
66
67 // signals: parameters
68 QMetaType::Void, 0x80000000 | 3, 4,
69 QMetaType::Void,
70 QMetaType::Void,
71 QMetaType::Void,
72
73 0 // eod
74};
75
76void QClipboard::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77{
78 if (_c == QMetaObject::InvokeMetaMethod) {
79 Q_ASSERT(staticMetaObject.cast(_o));
80 auto *_t = static_cast<QClipboard *>(_o);
81 Q_UNUSED(_t)
82 switch (_id) {
83 case 0: _t->changed((*reinterpret_cast< QClipboard::Mode(*)>(_a[1]))); break;
84 case 1: _t->selectionChanged(); break;
85 case 2: _t->findBufferChanged(); break;
86 case 3: _t->dataChanged(); break;
87 default: ;
88 }
89 } else if (_c == QMetaObject::IndexOfMethod) {
90 int *result = reinterpret_cast<int *>(_a[0]);
91 {
92 using _t = void (QClipboard::*)(QClipboard::Mode );
93 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QClipboard::changed)) {
94 *result = 0;
95 return;
96 }
97 }
98 {
99 using _t = void (QClipboard::*)();
100 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QClipboard::selectionChanged)) {
101 *result = 1;
102 return;
103 }
104 }
105 {
106 using _t = void (QClipboard::*)();
107 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QClipboard::findBufferChanged)) {
108 *result = 2;
109 return;
110 }
111 }
112 {
113 using _t = void (QClipboard::*)();
114 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QClipboard::dataChanged)) {
115 *result = 3;
116 return;
117 }
118 }
119 }
120}
121
122const QMetaObject QClipboard::staticMetaObject = { {
123 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
124 qt_meta_stringdata_QClipboard.offsetsAndSize,
125 qt_meta_data_QClipboard,
126 qt_static_metacall,
127 nullptr,
128qt_incomplete_metaTypeArray<qt_meta_stringdata_QClipboard_t
129, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QClipboard::Mode, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
130
131
132
133>,
134 nullptr
135} };
136
137
138const QMetaObject *QClipboard::metaObject() const
139{
140 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
141}
142
143void *QClipboard::qt_metacast(const char *_clname)
144{
145 if (!_clname) return nullptr;
146 if (!strcmp(_clname, qt_meta_stringdata_QClipboard.stringdata0))
147 return static_cast<void*>(this);
148 return QObject::qt_metacast(_clname);
149}
150
151int QClipboard::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
152{
153 _id = QObject::qt_metacall(_c, _id, _a);
154 if (_id < 0)
155 return _id;
156 if (_c == QMetaObject::InvokeMetaMethod) {
157 if (_id < 4)
158 qt_static_metacall(this, _c, _id, _a);
159 _id -= 4;
160 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
161 if (_id < 4)
162 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
163 _id -= 4;
164 }
165 return _id;
166}
167
168// SIGNAL 0
169void QClipboard::changed(QClipboard::Mode _t1)
170{
171 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
172 QMetaObject::activate(this, &staticMetaObject, 0, _a);
173}
174
175// SIGNAL 1
176void QClipboard::selectionChanged()
177{
178 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
179}
180
181// SIGNAL 2
182void QClipboard::findBufferChanged()
183{
184 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
185}
186
187// SIGNAL 3
188void QClipboard::dataChanged()
189{
190 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
191}
192QT_WARNING_POP
193QT_END_MOC_NAMESPACE
194