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.7.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.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_CLASSRecentDockENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSRecentDockENDCLASS = QtMocHelpers::stringData(
38 "RecentDock",
39 "itemActivated",
40 "",
41 "url",
42 "deleted",
43 "add",
44 "remove",
45 "s",
46 "find",
47 "on_listWidget_activated",
48 "QModelIndex",
49 "i",
50 "on_lineEdit_textChanged",
51 "search",
52 "on_actionDelete_triggered",
53 "on_listWidget_customContextMenuRequested",
54 "pos"
55);
56#else // !QT_MOC_HAS_STRINGDATA
57#error "qtmochelpers.h not found or too old."
58#endif // !QT_MOC_HAS_STRINGDATA
59} // unnamed namespace
60
61Q_CONSTINIT static const uint qt_meta_data_CLASSRecentDockENDCLASS[] = {
62
63 // content:
64 12, // revision
65 0, // classname
66 0, 0, // classinfo
67 9, 14, // methods
68 0, 0, // properties
69 0, 0, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 2, // signalCount
73
74 // signals: name, argc, parameters, tag, flags, initial metatype offsets
75 1, 1, 68, 2, 0x06, 1 /* Public */,
76 4, 1, 71, 2, 0x06, 3 /* Public */,
77
78 // slots: name, argc, parameters, tag, flags, initial metatype offsets
79 5, 1, 74, 2, 0x0a, 5 /* Public */,
80 6, 1, 77, 2, 0x0a, 7 /* Public */,
81 8, 0, 80, 2, 0x0a, 9 /* Public */,
82 9, 1, 81, 2, 0x08, 10 /* Private */,
83 12, 1, 84, 2, 0x08, 12 /* Private */,
84 14, 0, 87, 2, 0x08, 14 /* Private */,
85 15, 1, 88, 2, 0x08, 15 /* Private */,
86
87 // signals: parameters
88 QMetaType::Void, QMetaType::QString, 3,
89 QMetaType::Void, QMetaType::QString, 3,
90
91 // slots: parameters
92 QMetaType::Void, QMetaType::QString, 2,
93 QMetaType::QString, QMetaType::QString, 7,
94 QMetaType::Void,
95 QMetaType::Void, 0x80000000 | 10, 11,
96 QMetaType::Void, QMetaType::QString, 13,
97 QMetaType::Void,
98 QMetaType::Void, QMetaType::QPoint, 16,
99
100 0 // eod
101};
102
103Q_CONSTINIT const QMetaObject RecentDock::staticMetaObject = { {
104 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
105 qt_meta_stringdata_CLASSRecentDockENDCLASS.offsetsAndSizes,
106 qt_meta_data_CLASSRecentDockENDCLASS,
107 qt_static_metacall,
108 nullptr,
109 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSRecentDockENDCLASS_t,
110 // Q_OBJECT / Q_GADGET
111 QtPrivate::TypeAndForceComplete<RecentDock, std::true_type>,
112 // method 'itemActivated'
113 QtPrivate::TypeAndForceComplete<void, std::false_type>,
114 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
115 // method 'deleted'
116 QtPrivate::TypeAndForceComplete<void, std::false_type>,
117 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
118 // method 'add'
119 QtPrivate::TypeAndForceComplete<void, std::false_type>,
120 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
121 // method 'remove'
122 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
123 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
124 // method 'find'
125 QtPrivate::TypeAndForceComplete<void, std::false_type>,
126 // method 'on_listWidget_activated'
127 QtPrivate::TypeAndForceComplete<void, std::false_type>,
128 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
129 // method 'on_lineEdit_textChanged'
130 QtPrivate::TypeAndForceComplete<void, std::false_type>,
131 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
132 // method 'on_actionDelete_triggered'
133 QtPrivate::TypeAndForceComplete<void, std::false_type>,
134 // method 'on_listWidget_customContextMenuRequested'
135 QtPrivate::TypeAndForceComplete<void, std::false_type>,
136 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>
137 >,
138 nullptr
139} };
140
141void RecentDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
142{
143 if (_c == QMetaObject::InvokeMetaMethod) {
144 auto *_t = static_cast<RecentDock *>(_o);
145 (void)_t;
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 } else if (_c == QMetaObject::IndexOfMethod) {
160 int *result = reinterpret_cast<int *>(_a[0]);
161 {
162 using _t = void (RecentDock::*)(const QString & );
163 if (_t _q_method = &RecentDock::itemActivated; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
164 *result = 0;
165 return;
166 }
167 }
168 {
169 using _t = void (RecentDock::*)(const QString & );
170 if (_t _q_method = &RecentDock::deleted; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
171 *result = 1;
172 return;
173 }
174 }
175 }
176}
177
178const QMetaObject *RecentDock::metaObject() const
179{
180 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
181}
182
183void *RecentDock::qt_metacast(const char *_clname)
184{
185 if (!_clname) return nullptr;
186 if (!strcmp(_clname, qt_meta_stringdata_CLASSRecentDockENDCLASS.stringdata0))
187 return static_cast<void*>(this);
188 return QDockWidget::qt_metacast(_clname);
189}
190
191int RecentDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
192{
193 _id = QDockWidget::qt_metacall(_c, _id, _a);
194 if (_id < 0)
195 return _id;
196 if (_c == QMetaObject::InvokeMetaMethod) {
197 if (_id < 9)
198 qt_static_metacall(this, _c, _id, _a);
199 _id -= 9;
200 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
201 if (_id < 9)
202 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
203 _id -= 9;
204 }
205 return _id;
206}
207
208// SIGNAL 0
209void RecentDock::itemActivated(const QString & _t1)
210{
211 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
212 QMetaObject::activate(this, &staticMetaObject, 0, _a);
213}
214
215// SIGNAL 1
216void RecentDock::deleted(const QString & _t1)
217{
218 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
219 QMetaObject::activate(this, &staticMetaObject, 1, _a);
220}
221QT_WARNING_POP