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