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