CuteLogger
Fast and simple logging solution for Qt based applications
moc_recentdock.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'recentdock.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/docks/recentdock.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 'recentdock.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.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 {
34struct qt_meta_tag_ZN10RecentDockE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN10RecentDockE = QtMocHelpers::stringData(
40 "RecentDock",
41 "itemActivated",
42 "",
43 "url",
44 "deleted",
45 "add",
46 "remove",
47 "s",
48 "find",
49 "on_listWidget_activated",
50 "QModelIndex",
51 "i",
52 "on_lineEdit_textChanged",
53 "search",
54 "on_actionDelete_triggered",
55 "on_listWidget_customContextMenuRequested",
56 "pos"
57);
58#else // !QT_MOC_HAS_STRINGDATA
59#error "qtmochelpers.h not found or too old."
60#endif // !QT_MOC_HAS_STRINGDATA
61
62Q_CONSTINIT static const uint qt_meta_data_ZN10RecentDockE[] = {
63
64 // content:
65 12, // revision
66 0, // classname
67 0, 0, // classinfo
68 9, 14, // methods
69 0, 0, // properties
70 0, 0, // enums/sets
71 0, 0, // constructors
72 0, // flags
73 2, // signalCount
74
75 // signals: name, argc, parameters, tag, flags, initial metatype offsets
76 1, 1, 68, 2, 0x06, 1 /* Public */,
77 4, 1, 71, 2, 0x06, 3 /* Public */,
78
79 // slots: name, argc, parameters, tag, flags, initial metatype offsets
80 5, 1, 74, 2, 0x0a, 5 /* Public */,
81 6, 1, 77, 2, 0x0a, 7 /* Public */,
82 8, 0, 80, 2, 0x0a, 9 /* Public */,
83 9, 1, 81, 2, 0x08, 10 /* Private */,
84 12, 1, 84, 2, 0x08, 12 /* Private */,
85 14, 0, 87, 2, 0x08, 14 /* Private */,
86 15, 1, 88, 2, 0x08, 15 /* Private */,
87
88 // signals: parameters
89 QMetaType::Void, QMetaType::QString, 3,
90 QMetaType::Void, QMetaType::QString, 3,
91
92 // slots: parameters
93 QMetaType::Void, QMetaType::QString, 2,
94 QMetaType::QString, QMetaType::QString, 7,
95 QMetaType::Void,
96 QMetaType::Void, 0x80000000 | 10, 11,
97 QMetaType::Void, QMetaType::QString, 13,
98 QMetaType::Void,
99 QMetaType::Void, QMetaType::QPoint, 16,
100
101 0 // eod
102};
103
104Q_CONSTINIT const QMetaObject RecentDock::staticMetaObject = { {
105 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
106 qt_meta_stringdata_ZN10RecentDockE.offsetsAndSizes,
107 qt_meta_data_ZN10RecentDockE,
108 qt_static_metacall,
109 nullptr,
110 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10RecentDockE_t,
111 // Q_OBJECT / Q_GADGET
112 QtPrivate::TypeAndForceComplete<RecentDock, std::true_type>,
113 // method 'itemActivated'
114 QtPrivate::TypeAndForceComplete<void, std::false_type>,
115 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
116 // method 'deleted'
117 QtPrivate::TypeAndForceComplete<void, std::false_type>,
118 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
119 // method 'add'
120 QtPrivate::TypeAndForceComplete<void, std::false_type>,
121 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
122 // method 'remove'
123 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
124 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
125 // method 'find'
126 QtPrivate::TypeAndForceComplete<void, std::false_type>,
127 // method 'on_listWidget_activated'
128 QtPrivate::TypeAndForceComplete<void, std::false_type>,
129 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
130 // method 'on_lineEdit_textChanged'
131 QtPrivate::TypeAndForceComplete<void, std::false_type>,
132 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
133 // method 'on_actionDelete_triggered'
134 QtPrivate::TypeAndForceComplete<void, std::false_type>,
135 // method 'on_listWidget_customContextMenuRequested'
136 QtPrivate::TypeAndForceComplete<void, std::false_type>,
137 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>
138 >,
139 nullptr
140} };
141
142void RecentDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
143{
144 auto *_t = static_cast<RecentDock *>(_o);
145 if (_c == QMetaObject::InvokeMetaMethod) {
146 switch (_id) {
147 case 0: _t->itemActivated((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
148 case 1: _t->deleted((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
149 case 2: _t->add((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
150 case 3: { QString _r = _t->remove((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
151 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
152 case 4: _t->find(); break;
153 case 5: _t->on_listWidget_activated((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
154 case 6: _t->on_lineEdit_textChanged((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
155 case 7: _t->on_actionDelete_triggered(); break;
156 case 8: _t->on_listWidget_customContextMenuRequested((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
157 default: ;
158 }
159 }
160 if (_c == QMetaObject::IndexOfMethod) {
161 int *result = reinterpret_cast<int *>(_a[0]);
162 {
163 using _q_method_type = void (RecentDock::*)(const QString & );
164 if (_q_method_type _q_method = &RecentDock::itemActivated; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
165 *result = 0;
166 return;
167 }
168 }
169 {
170 using _q_method_type = void (RecentDock::*)(const QString & );
171 if (_q_method_type _q_method = &RecentDock::deleted; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
172 *result = 1;
173 return;
174 }
175 }
176 }
177}
178
179const QMetaObject *RecentDock::metaObject() const
180{
181 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
182}
183
184void *RecentDock::qt_metacast(const char *_clname)
185{
186 if (!_clname) return nullptr;
187 if (!strcmp(_clname, qt_meta_stringdata_ZN10RecentDockE.stringdata0))
188 return static_cast<void*>(this);
189 return QDockWidget::qt_metacast(_clname);
190}
191
192int RecentDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
193{
194 _id = QDockWidget::qt_metacall(_c, _id, _a);
195 if (_id < 0)
196 return _id;
197 if (_c == QMetaObject::InvokeMetaMethod) {
198 if (_id < 9)
199 qt_static_metacall(this, _c, _id, _a);
200 _id -= 9;
201 }
202 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
203 if (_id < 9)
204 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
205 _id -= 9;
206 }
207 return _id;
208}
209
210// SIGNAL 0
211void RecentDock::itemActivated(const QString & _t1)
212{
213 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
214 QMetaObject::activate(this, &staticMetaObject, 0, _a);
215}
216
217// SIGNAL 1
218void RecentDock::deleted(const QString & _t1)
219{
220 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
221 QMetaObject::activate(this, &staticMetaObject, 1, _a);
222}
223QT_WARNING_POP