1/****************************************************************************
2** Meta object code from reading C++ file 'bookwindow.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 "bookwindow.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 'bookwindow.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
23QT_BEGIN_MOC_NAMESPACE
24QT_WARNING_PUSH
25QT_WARNING_DISABLE_DEPRECATED
26struct qt_meta_stringdata_BookWindow_t {
27 const uint offsetsAndSize[6];
28 char stringdata0[18];
29};
30#define QT_MOC_LITERAL(ofs, len) \
31 uint(offsetof(qt_meta_stringdata_BookWindow_t, stringdata0) + ofs), len
32static const qt_meta_stringdata_BookWindow_t qt_meta_stringdata_BookWindow = {
33 {
34QT_MOC_LITERAL(0, 10), // "BookWindow"
35QT_MOC_LITERAL(11, 5), // "about"
36QT_MOC_LITERAL(17, 0) // ""
37
38 },
39 "BookWindow\0about\0"
40};
41#undef QT_MOC_LITERAL
42
43static const uint qt_meta_data_BookWindow[] = {
44
45 // content:
46 9, // revision
47 0, // classname
48 0, 0, // classinfo
49 1, 14, // methods
50 0, 0, // properties
51 0, 0, // enums/sets
52 0, 0, // constructors
53 0, // flags
54 0, // signalCount
55
56 // slots: name, argc, parameters, tag, flags, initial metatype offsets
57 1, 0, 20, 2, 0x08, 0 /* Private */,
58
59 // slots: parameters
60 QMetaType::Void,
61
62 0 // eod
63};
64
65void BookWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
66{
67 if (_c == QMetaObject::InvokeMetaMethod) {
68 Q_ASSERT(staticMetaObject.cast(_o));
69 auto *_t = static_cast<BookWindow *>(_o);
70 Q_UNUSED(_t)
71 switch (_id) {
72 case 0: _t->about(); break;
73 default: ;
74 }
75 }
76 Q_UNUSED(_a);
77}
78
79const QMetaObject BookWindow::staticMetaObject = { {
80 QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
81 qt_meta_stringdata_BookWindow.offsetsAndSize,
82 qt_meta_data_BookWindow,
83 qt_static_metacall,
84 nullptr,
85qt_incomplete_metaTypeArray<qt_meta_stringdata_BookWindow_t
86
87, QtPrivate::TypeAndForceComplete<void, std::false_type>
88
89
90>,
91 nullptr
92} };
93
94
95const QMetaObject *BookWindow::metaObject() const
96{
97 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
98}
99
100void *BookWindow::qt_metacast(const char *_clname)
101{
102 if (!_clname) return nullptr;
103 if (!strcmp(_clname, qt_meta_stringdata_BookWindow.stringdata0))
104 return static_cast<void*>(this);
105 return QMainWindow::qt_metacast(_clname);
106}
107
108int BookWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
109{
110 _id = QMainWindow::qt_metacall(_c, _id, _a);
111 if (_id < 0)
112 return _id;
113 if (_c == QMetaObject::InvokeMetaMethod) {
114 if (_id < 1)
115 qt_static_metacall(this, _c, _id, _a);
116 _id -= 1;
117 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
118 if (_id < 1)
119 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
120 _id -= 1;
121 }
122 return _id;
123}
124QT_WARNING_POP
125QT_END_MOC_NAMESPACE
126