CuteLogger
Fast and simple logging solution for Qt based applications
moc_scopedock.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'scopedock.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/scopedock.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 'scopedock.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_ZN9ScopeDockE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN9ScopeDockE = QtMocHelpers::stringData(
40 "ScopeDock",
41 "onActionToggled",
42 "",
43 "checked"
44);
45#else // !QT_MOC_HAS_STRINGDATA
46#error "qtmochelpers.h not found or too old."
47#endif // !QT_MOC_HAS_STRINGDATA
48
49Q_CONSTINIT static const uint qt_meta_data_ZN9ScopeDockE[] = {
50
51 // content:
52 12, // revision
53 0, // classname
54 0, 0, // classinfo
55 1, 14, // methods
56 0, 0, // properties
57 0, 0, // enums/sets
58 0, 0, // constructors
59 0, // flags
60 0, // signalCount
61
62 // slots: name, argc, parameters, tag, flags, initial metatype offsets
63 1, 1, 20, 2, 0x08, 1 /* Private */,
64
65 // slots: parameters
66 QMetaType::Void, QMetaType::Bool, 3,
67
68 0 // eod
69};
70
71Q_CONSTINIT const QMetaObject ScopeDock::staticMetaObject = { {
72 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
73 qt_meta_stringdata_ZN9ScopeDockE.offsetsAndSizes,
74 qt_meta_data_ZN9ScopeDockE,
75 qt_static_metacall,
76 nullptr,
77 qt_incomplete_metaTypeArray<qt_meta_tag_ZN9ScopeDockE_t,
78 // Q_OBJECT / Q_GADGET
79 QtPrivate::TypeAndForceComplete<ScopeDock, std::true_type>,
80 // method 'onActionToggled'
81 QtPrivate::TypeAndForceComplete<void, std::false_type>,
82 QtPrivate::TypeAndForceComplete<bool, std::false_type>
83 >,
84 nullptr
85} };
86
87void ScopeDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
88{
89 auto *_t = static_cast<ScopeDock *>(_o);
90 if (_c == QMetaObject::InvokeMetaMethod) {
91 switch (_id) {
92 case 0: _t->onActionToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
93 default: ;
94 }
95 }
96}
97
98const QMetaObject *ScopeDock::metaObject() const
99{
100 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
101}
102
103void *ScopeDock::qt_metacast(const char *_clname)
104{
105 if (!_clname) return nullptr;
106 if (!strcmp(_clname, qt_meta_stringdata_ZN9ScopeDockE.stringdata0))
107 return static_cast<void*>(this);
108 return QDockWidget::qt_metacast(_clname);
109}
110
111int ScopeDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
112{
113 _id = QDockWidget::qt_metacall(_c, _id, _a);
114 if (_id < 0)
115 return _id;
116 if (_c == QMetaObject::InvokeMetaMethod) {
117 if (_id < 1)
118 qt_static_metacall(this, _c, _id, _a);
119 _id -= 1;
120 }
121 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
122 if (_id < 1)
123 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
124 _id -= 1;
125 }
126 return _id;
127}
128QT_WARNING_POP