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.8.1)
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.8.1. 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 {
34struct qt_meta_tag_ZN16PlaylistIconViewE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN16PlaylistIconViewE = QtMocHelpers::stringData(
40 "PlaylistIconView",
41 "selectionChanged",
42 "",
43 "QItemSelection",
44 "selected",
45 "deselected",
46 "updateSizes"
47);
48#else // !QT_MOC_HAS_STRINGDATA
49#error "qtmochelpers.h not found or too old."
50#endif // !QT_MOC_HAS_STRINGDATA
51
52Q_CONSTINIT static const uint qt_meta_data_ZN16PlaylistIconViewE[] = {
53
54 // content:
55 12, // revision
56 0, // classname
57 0, 0, // classinfo
58 2, 14, // methods
59 0, 0, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 0, // signalCount
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 2, 26, 2, 0x09, 1 /* Protected */,
67 6, 0, 31, 2, 0x08, 4 /* Private */,
68
69 // slots: parameters
70 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5,
71 QMetaType::Void,
72
73 0 // eod
74};
75
76Q_CONSTINIT const QMetaObject PlaylistIconView::staticMetaObject = { {
77 QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(),
78 qt_meta_stringdata_ZN16PlaylistIconViewE.offsetsAndSizes,
79 qt_meta_data_ZN16PlaylistIconViewE,
80 qt_static_metacall,
81 nullptr,
82 qt_incomplete_metaTypeArray<qt_meta_tag_ZN16PlaylistIconViewE_t,
83 // Q_OBJECT / Q_GADGET
84 QtPrivate::TypeAndForceComplete<PlaylistIconView, std::true_type>,
85 // method 'selectionChanged'
86 QtPrivate::TypeAndForceComplete<void, std::false_type>,
87 QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>,
88 QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>,
89 // method 'updateSizes'
90 QtPrivate::TypeAndForceComplete<void, std::false_type>
91 >,
92 nullptr
93} };
94
95void PlaylistIconView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
96{
97 auto *_t = static_cast<PlaylistIconView *>(_o);
98 if (_c == QMetaObject::InvokeMetaMethod) {
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 }
105 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
106 switch (_id) {
107 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
108 case 0:
109 switch (*reinterpret_cast<int*>(_a[1])) {
110 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
111 case 1:
112 case 0:
113 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QItemSelection >(); break;
114 }
115 break;
116 }
117 }
118}
119
120const QMetaObject *PlaylistIconView::metaObject() const
121{
122 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
123}
124
125void *PlaylistIconView::qt_metacast(const char *_clname)
126{
127 if (!_clname) return nullptr;
128 if (!strcmp(_clname, qt_meta_stringdata_ZN16PlaylistIconViewE.stringdata0))
129 return static_cast<void*>(this);
130 return QAbstractItemView::qt_metacast(_clname);
131}
132
133int PlaylistIconView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
134{
135 _id = QAbstractItemView::qt_metacall(_c, _id, _a);
136 if (_id < 0)
137 return _id;
138 if (_c == QMetaObject::InvokeMetaMethod) {
139 if (_id < 2)
140 qt_static_metacall(this, _c, _id, _a);
141 _id -= 2;
142 }
143 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
144 if (_id < 2)
145 qt_static_metacall(this, _c, _id, _a);
146 _id -= 2;
147 }
148 return _id;
149}
150QT_WARNING_POP