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