CuteLogger
Fast and simple logging solution for Qt based applications
moc_playlisticonview.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'playlisticonview.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/playlisticonview.h"
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'playlisticonview.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS = QtMocHelpers::stringData(
41 "PlaylistIconView",
42 "selectionChanged",
43 "",
44 "QItemSelection",
45 "selected",
46 "deselected",
47 "updateSizes"
48);
49#else // !QT_MOC_HAS_STRING_DATA
50struct qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS_t {
51 uint offsetsAndSizes[14];
52 char stringdata0[17];
53 char stringdata1[17];
54 char stringdata2[1];
55 char stringdata3[15];
56 char stringdata4[9];
57 char stringdata5[11];
58 char stringdata6[12];
59};
60#define QT_MOC_LITERAL(ofs, len) \
61 uint(sizeof(qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS_t::offsetsAndSizes) + ofs), len
62Q_CONSTINIT static const qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS_t qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS = {
63 {
64 QT_MOC_LITERAL(0, 16), // "PlaylistIconView"
65 QT_MOC_LITERAL(17, 16), // "selectionChanged"
66 QT_MOC_LITERAL(34, 0), // ""
67 QT_MOC_LITERAL(35, 14), // "QItemSelection"
68 QT_MOC_LITERAL(50, 8), // "selected"
69 QT_MOC_LITERAL(59, 10), // "deselected"
70 QT_MOC_LITERAL(70, 11) // "updateSizes"
71 },
72 "PlaylistIconView",
73 "selectionChanged",
74 "",
75 "QItemSelection",
76 "selected",
77 "deselected",
78 "updateSizes"
79};
80#undef QT_MOC_LITERAL
81#endif // !QT_MOC_HAS_STRING_DATA
82} // unnamed namespace
83
84Q_CONSTINIT static const uint qt_meta_data_CLASSPlaylistIconViewENDCLASS[] = {
85
86 // content:
87 12, // revision
88 0, // classname
89 0, 0, // classinfo
90 2, 14, // methods
91 0, 0, // properties
92 0, 0, // enums/sets
93 0, 0, // constructors
94 0, // flags
95 0, // signalCount
96
97 // slots: name, argc, parameters, tag, flags, initial metatype offsets
98 1, 2, 26, 2, 0x09, 1 /* Protected */,
99 6, 0, 31, 2, 0x08, 4 /* Private */,
100
101 // slots: parameters
102 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5,
103 QMetaType::Void,
104
105 0 // eod
106};
107
108Q_CONSTINIT const QMetaObject PlaylistIconView::staticMetaObject = { {
109 QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(),
110 qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS.offsetsAndSizes,
111 qt_meta_data_CLASSPlaylistIconViewENDCLASS,
112 qt_static_metacall,
113 nullptr,
114 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS_t,
115 // Q_OBJECT / Q_GADGET
116 QtPrivate::TypeAndForceComplete<PlaylistIconView, std::true_type>,
117 // method 'selectionChanged'
118 QtPrivate::TypeAndForceComplete<void, std::false_type>,
119 QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>,
120 QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>,
121 // method 'updateSizes'
122 QtPrivate::TypeAndForceComplete<void, std::false_type>
123 >,
124 nullptr
125} };
126
127void PlaylistIconView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
128{
129 if (_c == QMetaObject::InvokeMetaMethod) {
130 auto *_t = static_cast<PlaylistIconView *>(_o);
131 (void)_t;
132 switch (_id) {
133 case 0: _t->selectionChanged((*reinterpret_cast< std::add_pointer_t<QItemSelection>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QItemSelection>>(_a[2]))); break;
134 case 1: _t->updateSizes(); break;
135 default: ;
136 }
137 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
138 switch (_id) {
139 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
140 case 0:
141 switch (*reinterpret_cast<int*>(_a[1])) {
142 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
143 case 1:
144 case 0:
145 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QItemSelection >(); break;
146 }
147 break;
148 }
149 }
150}
151
152const QMetaObject *PlaylistIconView::metaObject() const
153{
154 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
155}
156
157void *PlaylistIconView::qt_metacast(const char *_clname)
158{
159 if (!_clname) return nullptr;
160 if (!strcmp(_clname, qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS.stringdata0))
161 return static_cast<void*>(this);
162 return QAbstractItemView::qt_metacast(_clname);
163}
164
165int PlaylistIconView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
166{
167 _id = QAbstractItemView::qt_metacall(_c, _id, _a);
168 if (_id < 0)
169 return _id;
170 if (_c == QMetaObject::InvokeMetaMethod) {
171 if (_id < 2)
172 qt_static_metacall(this, _c, _id, _a);
173 _id -= 2;
174 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
175 if (_id < 2)
176 qt_static_metacall(this, _c, _id, _a);
177 _id -= 2;
178 }
179 return _id;
180}
181QT_WARNING_POP