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.7.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#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'playlisticonview.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.7.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS = QtMocHelpers::stringData(
38 "PlaylistIconView",
39 "selectionChanged",
40 "",
41 "QItemSelection",
42 "selected",
43 "deselected",
44 "updateSizes"
45);
46#else // !QT_MOC_HAS_STRINGDATA
47#error "qtmochelpers.h not found or too old."
48#endif // !QT_MOC_HAS_STRINGDATA
49} // unnamed namespace
50
51Q_CONSTINIT static const uint qt_meta_data_CLASSPlaylistIconViewENDCLASS[] = {
52
53 // content:
54 12, // revision
55 0, // classname
56 0, 0, // classinfo
57 2, 14, // methods
58 0, 0, // properties
59 0, 0, // enums/sets
60 0, 0, // constructors
61 0, // flags
62 0, // signalCount
63
64 // slots: name, argc, parameters, tag, flags, initial metatype offsets
65 1, 2, 26, 2, 0x09, 1 /* Protected */,
66 6, 0, 31, 2, 0x08, 4 /* Private */,
67
68 // slots: parameters
69 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5,
70 QMetaType::Void,
71
72 0 // eod
73};
74
75Q_CONSTINIT const QMetaObject PlaylistIconView::staticMetaObject = { {
76 QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(),
77 qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS.offsetsAndSizes,
78 qt_meta_data_CLASSPlaylistIconViewENDCLASS,
79 qt_static_metacall,
80 nullptr,
81 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS_t,
82 // Q_OBJECT / Q_GADGET
83 QtPrivate::TypeAndForceComplete<PlaylistIconView, std::true_type>,
84 // method 'selectionChanged'
85 QtPrivate::TypeAndForceComplete<void, std::false_type>,
86 QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>,
87 QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>,
88 // method 'updateSizes'
89 QtPrivate::TypeAndForceComplete<void, std::false_type>
90 >,
91 nullptr
92} };
93
94void PlaylistIconView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
95{
96 if (_c == QMetaObject::InvokeMetaMethod) {
97 auto *_t = static_cast<PlaylistIconView *>(_o);
98 (void)_t;
99 switch (_id) {
100 case 0: _t->selectionChanged((*reinterpret_cast< std::add_pointer_t<QItemSelection>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QItemSelection>>(_a[2]))); break;
101 case 1: _t->updateSizes(); break;
102 default: ;
103 }
104 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
105 switch (_id) {
106 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
107 case 0:
108 switch (*reinterpret_cast<int*>(_a[1])) {
109 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
110 case 1:
111 case 0:
112 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QItemSelection >(); break;
113 }
114 break;
115 }
116 }
117}
118
119const QMetaObject *PlaylistIconView::metaObject() const
120{
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122}
123
124void *PlaylistIconView::qt_metacast(const char *_clname)
125{
126 if (!_clname) return nullptr;
127 if (!strcmp(_clname, qt_meta_stringdata_CLASSPlaylistIconViewENDCLASS.stringdata0))
128 return static_cast<void*>(this);
129 return QAbstractItemView::qt_metacast(_clname);
130}
131
132int PlaylistIconView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
133{
134 _id = QAbstractItemView::qt_metacall(_c, _id, _a);
135 if (_id < 0)
136 return _id;
137 if (_c == QMetaObject::InvokeMetaMethod) {
138 if (_id < 2)
139 qt_static_metacall(this, _c, _id, _a);
140 _id -= 2;
141 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
142 if (_id < 2)
143 qt_static_metacall(this, _c, _id, _a);
144 _id -= 2;
145 }
146 return _id;
147}
148QT_WARNING_POP