1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'view.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 "view.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 'view.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_View_t { |
27 | const uint offsetsAndSize[10]; |
28 | char stringdata0[30]; |
29 | }; |
30 | #define QT_MOC_LITERAL(ofs, len) \ |
31 | uint(offsetof(qt_meta_stringdata_View_t, stringdata0) + ofs), len |
32 | static const qt_meta_stringdata_View_t qt_meta_stringdata_View = { |
33 | { |
34 | QT_MOC_LITERAL(0, 4), // "View" |
35 | QT_MOC_LITERAL(5, 11), // "updateImage" |
36 | QT_MOC_LITERAL(17, 0), // "" |
37 | QT_MOC_LITERAL(18, 2), // "id" |
38 | QT_MOC_LITERAL(21, 8) // "fileName" |
39 | |
40 | }, |
41 | "View\0updateImage\0\0id\0fileName" |
42 | }; |
43 | #undef QT_MOC_LITERAL |
44 | |
45 | static const uint qt_meta_data_View[] = { |
46 | |
47 | // content: |
48 | 9, // revision |
49 | 0, // classname |
50 | 0, 0, // classinfo |
51 | 1, 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, 2, 20, 2, 0x08, 0 /* Private */, |
60 | |
61 | // slots: parameters |
62 | QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4, |
63 | |
64 | 0 // eod |
65 | }; |
66 | |
67 | void View::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
68 | { |
69 | if (_c == QMetaObject::InvokeMetaMethod) { |
70 | Q_ASSERT(staticMetaObject.cast(_o)); |
71 | auto *_t = static_cast<View *>(_o); |
72 | Q_UNUSED(_t) |
73 | switch (_id) { |
74 | case 0: _t->updateImage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; |
75 | default: ; |
76 | } |
77 | } |
78 | } |
79 | |
80 | const QMetaObject View::staticMetaObject = { { |
81 | QMetaObject::SuperData::link<QGraphicsView::staticMetaObject>(), |
82 | qt_meta_stringdata_View.offsetsAndSize, |
83 | qt_meta_data_View, |
84 | qt_static_metacall, |
85 | nullptr, |
86 | qt_incomplete_metaTypeArray<qt_meta_stringdata_View_t |
87 | |
88 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type> |
89 | |
90 | |
91 | >, |
92 | nullptr |
93 | } }; |
94 | |
95 | |
96 | const QMetaObject *View::metaObject() const |
97 | { |
98 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
99 | } |
100 | |
101 | void *View::qt_metacast(const char *_clname) |
102 | { |
103 | if (!_clname) return nullptr; |
104 | if (!strcmp(_clname, qt_meta_stringdata_View.stringdata0)) |
105 | return static_cast<void*>(this); |
106 | return QGraphicsView::qt_metacast(_clname); |
107 | } |
108 | |
109 | int View::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
110 | { |
111 | _id = QGraphicsView::qt_metacall(_c, _id, _a); |
112 | if (_id < 0) |
113 | return _id; |
114 | if (_c == QMetaObject::InvokeMetaMethod) { |
115 | if (_id < 1) |
116 | qt_static_metacall(this, _c, _id, _a); |
117 | _id -= 1; |
118 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
119 | if (_id < 1) |
120 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
121 | _id -= 1; |
122 | } |
123 | return _id; |
124 | } |
125 | QT_WARNING_POP |
126 | QT_END_MOC_NAMESPACE |
127 | |