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