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);
47#else // !QT_MOC_HAS_STRINGDATA
48#error "qtmochelpers.h not found or too old."
49#endif // !QT_MOC_HAS_STRINGDATA
50
51Q_CONSTINIT static const uint qt_meta_data_ZN16PlaylistIconViewE[] = {
52
53 // content:
54 12, // revision
55 0, // classname
56 0, 0, // classinfo
57 1, 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, 20, 2, 0x09, 1 /* Protected */,
66
67 // slots: parameters
68 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5,
69
70 0 // eod
71};
72
73Q_CONSTINIT const QMetaObject PlaylistIconView::staticMetaObject = { {
74 QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(),
75 qt_meta_stringdata_ZN16PlaylistIconViewE.offsetsAndSizes,
76 qt_meta_data_ZN16PlaylistIconViewE,
77 qt_static_metacall,
78 nullptr,
79 qt_incomplete_metaTypeArray<qt_meta_tag_ZN16PlaylistIconViewE_t,
80 // Q_OBJECT / Q_GADGET
81 QtPrivate::TypeAndForceComplete<PlaylistIconView, std::true_type>,
82 // method 'selectionChanged'
83 QtPrivate::TypeAndForceComplete<void, std::false_type>,
84 QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>,
85 QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>
86 >,
87 nullptr
88} };
89
90void PlaylistIconView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
91{
92 auto *_t = static_cast<PlaylistIconView *>(_o);
93 if (_c == QMetaObject::InvokeMetaMethod) {
94 switch (_id) {
95 case 0: _t->selectionChanged((*reinterpret_cast< std::add_pointer_t<QItemSelection>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QItemSelection>>(_a[2]))); break;
96 default: ;
97 }
98 }
99 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
100 switch (_id) {
101 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
102 case 0:
103 switch (*reinterpret_cast<int*>(_a[1])) {
104 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
105 case 1:
106 case 0:
107 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QItemSelection >(); break;
108 }
109 break;
110 }
111 }
112}
113
114const QMetaObject *PlaylistIconView::metaObject() const
115{
116 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
117}
118
119void *PlaylistIconView::qt_metacast(const char *_clname)
120{
121 if (!_clname) return nullptr;
122 if (!strcmp(_clname, qt_meta_stringdata_ZN16PlaylistIconViewE.stringdata0))
123 return static_cast<void*>(this);
124 return QAbstractItemView::qt_metacast(_clname);
125}
126
127int PlaylistIconView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
128{
129 _id = QAbstractItemView::qt_metacall(_c, _id, _a);
130 if (_id < 0)
131 return _id;
132 if (_c == QMetaObject::InvokeMetaMethod) {
133 if (_id < 1)
134 qt_static_metacall(this, _c, _id, _a);
135 _id -= 1;
136 }
137 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
138 if (_id < 1)
139 qt_static_metacall(this, _c, _id, _a);
140 _id -= 1;
141 }
142 return _id;
143}
144QT_WARNING_POP