/src/qtbase/src/gui/.moc/moc_qpaintdevicewindow.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /**************************************************************************** |
2 | | ** Meta object code from reading C++ file 'qpaintdevicewindow.h' |
3 | | ** |
4 | | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.17) |
5 | | ** |
6 | | ** WARNING! All changes made in this file will be lost! |
7 | | *****************************************************************************/ |
8 | | |
9 | | #include <memory> |
10 | | #include "../kernel/qpaintdevicewindow.h" |
11 | | #include <QtCore/qbytearray.h> |
12 | | #include <QtCore/qmetatype.h> |
13 | | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | | #error "The header file 'qpaintdevicewindow.h' doesn't include <QObject>." |
15 | | #elif Q_MOC_OUTPUT_REVISION != 67 |
16 | | #error "This file was generated using the moc from 5.15.17. 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 |
24 | | struct qt_meta_stringdata_QPaintDeviceWindow_t { |
25 | | QByteArrayData data[3]; |
26 | | char stringdata0[27]; |
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_QPaintDeviceWindow_t, stringdata0) + ofs \ |
31 | | - idx * sizeof(QByteArrayData)) \ |
32 | | ) |
33 | | static const qt_meta_stringdata_QPaintDeviceWindow_t qt_meta_stringdata_QPaintDeviceWindow = { |
34 | | { |
35 | | QT_MOC_LITERAL(0, 0, 18), // "QPaintDeviceWindow" |
36 | | QT_MOC_LITERAL(1, 19, 6), // "update" |
37 | | QT_MOC_LITERAL(2, 26, 0) // "" |
38 | | |
39 | | }, |
40 | | "QPaintDeviceWindow\0update\0" |
41 | | }; |
42 | | #undef QT_MOC_LITERAL |
43 | | |
44 | | static const uint qt_meta_data_QPaintDeviceWindow[] = { |
45 | | |
46 | | // content: |
47 | | 8, // revision |
48 | | 0, // classname |
49 | | 0, 0, // classinfo |
50 | | 1, 14, // methods |
51 | | 0, 0, // properties |
52 | | 0, 0, // enums/sets |
53 | | 0, 0, // constructors |
54 | | 0, // flags |
55 | | 0, // signalCount |
56 | | |
57 | | // slots: name, argc, parameters, tag, flags |
58 | | 1, 0, 19, 2, 0x0a /* Public */, |
59 | | |
60 | | // slots: parameters |
61 | | QMetaType::Void, |
62 | | |
63 | | 0 // eod |
64 | | }; |
65 | | |
66 | | void QPaintDeviceWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
67 | 0 | { |
68 | 0 | if (_c == QMetaObject::InvokeMetaMethod) { |
69 | 0 | auto *_t = static_cast<QPaintDeviceWindow *>(_o); |
70 | 0 | (void)_t; |
71 | 0 | switch (_id) { |
72 | 0 | case 0: _t->update(); break; |
73 | 0 | default: ; |
74 | 0 | } |
75 | 0 | } |
76 | 0 | (void)_a; |
77 | 0 | } |
78 | | |
79 | | QT_INIT_METAOBJECT const QMetaObject QPaintDeviceWindow::staticMetaObject = { { |
80 | | QMetaObject::SuperData::link<QWindow::staticMetaObject>(), |
81 | | qt_meta_stringdata_QPaintDeviceWindow.data, |
82 | | qt_meta_data_QPaintDeviceWindow, |
83 | | qt_static_metacall, |
84 | | nullptr, |
85 | | nullptr |
86 | | } }; |
87 | | |
88 | | |
89 | | const QMetaObject *QPaintDeviceWindow::metaObject() const |
90 | 0 | { |
91 | 0 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
92 | 0 | } |
93 | | |
94 | | void *QPaintDeviceWindow::qt_metacast(const char *_clname) |
95 | 0 | { |
96 | 0 | if (!_clname) return nullptr; |
97 | 0 | if (!strcmp(_clname, qt_meta_stringdata_QPaintDeviceWindow.stringdata0)) |
98 | 0 | return static_cast<void*>(this); |
99 | 0 | if (!strcmp(_clname, "QPaintDevice")) |
100 | 0 | return static_cast< QPaintDevice*>(this); |
101 | 0 | return QWindow::qt_metacast(_clname); |
102 | 0 | } |
103 | | |
104 | | int QPaintDeviceWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
105 | 0 | { |
106 | 0 | _id = QWindow::qt_metacall(_c, _id, _a); |
107 | 0 | if (_id < 0) |
108 | 0 | return _id; |
109 | 0 | if (_c == QMetaObject::InvokeMetaMethod) { |
110 | 0 | if (_id < 1) |
111 | 0 | qt_static_metacall(this, _c, _id, _a); |
112 | 0 | _id -= 1; |
113 | 0 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
114 | 0 | if (_id < 1) |
115 | 0 | *reinterpret_cast<int*>(_a[0]) = -1; |
116 | 0 | _id -= 1; |
117 | 0 | } |
118 | 0 | return _id; |
119 | 0 | } |
120 | | QT_WARNING_POP |
121 | | QT_END_MOC_NAMESPACE |