CuteLogger
Fast and simple logging solution for Qt based applications
moc_listselectiondialog.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'listselectiondialog.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/dialogs/listselectiondialog.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 'listselectiondialog.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_CLASSListSelectionDialogENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSListSelectionDialogENDCLASS = QtMocHelpers::stringData(
41 "ListSelectionDialog",
42 "onItemActivated",
43 "",
44 "QListWidgetItem*",
45 "item"
46);
47#else // !QT_MOC_HAS_STRING_DATA
48struct qt_meta_stringdata_CLASSListSelectionDialogENDCLASS_t {
49 uint offsetsAndSizes[10];
50 char stringdata0[20];
51 char stringdata1[16];
52 char stringdata2[1];
53 char stringdata3[17];
54 char stringdata4[5];
55};
56#define QT_MOC_LITERAL(ofs, len) \
57 uint(sizeof(qt_meta_stringdata_CLASSListSelectionDialogENDCLASS_t::offsetsAndSizes) + ofs), len
58Q_CONSTINIT static const qt_meta_stringdata_CLASSListSelectionDialogENDCLASS_t qt_meta_stringdata_CLASSListSelectionDialogENDCLASS = {
59 {
60 QT_MOC_LITERAL(0, 19), // "ListSelectionDialog"
61 QT_MOC_LITERAL(20, 15), // "onItemActivated"
62 QT_MOC_LITERAL(36, 0), // ""
63 QT_MOC_LITERAL(37, 16), // "QListWidgetItem*"
64 QT_MOC_LITERAL(54, 4) // "item"
65 },
66 "ListSelectionDialog",
67 "onItemActivated",
68 "",
69 "QListWidgetItem*",
70 "item"
71};
72#undef QT_MOC_LITERAL
73#endif // !QT_MOC_HAS_STRING_DATA
74} // unnamed namespace
75
76Q_CONSTINIT static const uint qt_meta_data_CLASSListSelectionDialogENDCLASS[] = {
77
78 // content:
79 12, // revision
80 0, // classname
81 0, 0, // classinfo
82 1, 14, // methods
83 0, 0, // properties
84 0, 0, // enums/sets
85 0, 0, // constructors
86 0, // flags
87 0, // signalCount
88
89 // slots: name, argc, parameters, tag, flags, initial metatype offsets
90 1, 1, 20, 2, 0x08, 1 /* Private */,
91
92 // slots: parameters
93 QMetaType::Void, 0x80000000 | 3, 4,
94
95 0 // eod
96};
97
98Q_CONSTINIT const QMetaObject ListSelectionDialog::staticMetaObject = { {
99 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
100 qt_meta_stringdata_CLASSListSelectionDialogENDCLASS.offsetsAndSizes,
101 qt_meta_data_CLASSListSelectionDialogENDCLASS,
102 qt_static_metacall,
103 nullptr,
104 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSListSelectionDialogENDCLASS_t,
105 // Q_OBJECT / Q_GADGET
106 QtPrivate::TypeAndForceComplete<ListSelectionDialog, std::true_type>,
107 // method 'onItemActivated'
108 QtPrivate::TypeAndForceComplete<void, std::false_type>,
109 QtPrivate::TypeAndForceComplete<QListWidgetItem *, std::false_type>
110 >,
111 nullptr
112} };
113
114void ListSelectionDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
115{
116 if (_c == QMetaObject::InvokeMetaMethod) {
117 auto *_t = static_cast<ListSelectionDialog *>(_o);
118 (void)_t;
119 switch (_id) {
120 case 0: _t->onItemActivated((*reinterpret_cast< std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
121 default: ;
122 }
123 }
124}
125
126const QMetaObject *ListSelectionDialog::metaObject() const
127{
128 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
129}
130
131void *ListSelectionDialog::qt_metacast(const char *_clname)
132{
133 if (!_clname) return nullptr;
134 if (!strcmp(_clname, qt_meta_stringdata_CLASSListSelectionDialogENDCLASS.stringdata0))
135 return static_cast<void*>(this);
136 return QDialog::qt_metacast(_clname);
137}
138
139int ListSelectionDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
140{
141 _id = QDialog::qt_metacall(_c, _id, _a);
142 if (_id < 0)
143 return _id;
144 if (_c == QMetaObject::InvokeMetaMethod) {
145 if (_id < 1)
146 qt_static_metacall(this, _c, _id, _a);
147 _id -= 1;
148 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
149 if (_id < 1)
150 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
151 _id -= 1;
152 }
153 return _id;
154}
155QT_WARNING_POP