CuteLogger
Fast and simple logging solution for Qt based applications
moc_notesdock.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'notesdock.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.1)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/docks/notesdock.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 'notesdock.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.1. 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_ZN9NotesDockE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN9NotesDockE = QtMocHelpers::stringData(
40 "NotesDock",
41 "modified",
42 "",
43 "onTextChanged"
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_ZN9NotesDockE[] = {
50
51 // content:
52 12, // revision
53 0, // classname
54 0, 0, // classinfo
55 2, 14, // methods
56 0, 0, // properties
57 0, 0, // enums/sets
58 0, 0, // constructors
59 0, // flags
60 1, // signalCount
61
62 // signals: name, argc, parameters, tag, flags, initial metatype offsets
63 1, 0, 26, 2, 0x06, 1 /* Public */,
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 3, 0, 27, 2, 0x08, 2 /* Private */,
67
68 // signals: parameters
69 QMetaType::Void,
70
71 // slots: parameters
72 QMetaType::Void,
73
74 0 // eod
75};
76
77Q_CONSTINIT const QMetaObject NotesDock::staticMetaObject = { {
78 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
79 qt_meta_stringdata_ZN9NotesDockE.offsetsAndSizes,
80 qt_meta_data_ZN9NotesDockE,
81 qt_static_metacall,
82 nullptr,
83 qt_incomplete_metaTypeArray<qt_meta_tag_ZN9NotesDockE_t,
84 // Q_OBJECT / Q_GADGET
85 QtPrivate::TypeAndForceComplete<NotesDock, std::true_type>,
86 // method 'modified'
87 QtPrivate::TypeAndForceComplete<void, std::false_type>,
88 // method 'onTextChanged'
89 QtPrivate::TypeAndForceComplete<void, std::false_type>
90 >,
91 nullptr
92} };
93
94void NotesDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
95{
96 auto *_t = static_cast<NotesDock *>(_o);
97 if (_c == QMetaObject::InvokeMetaMethod) {
98 switch (_id) {
99 case 0: _t->modified(); break;
100 case 1: _t->onTextChanged(); break;
101 default: ;
102 }
103 }
104 if (_c == QMetaObject::IndexOfMethod) {
105 int *result = reinterpret_cast<int *>(_a[0]);
106 {
107 using _q_method_type = void (NotesDock::*)();
108 if (_q_method_type _q_method = &NotesDock::modified; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
109 *result = 0;
110 return;
111 }
112 }
113 }
114}
115
116const QMetaObject *NotesDock::metaObject() const
117{
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
119}
120
121void *NotesDock::qt_metacast(const char *_clname)
122{
123 if (!_clname) return nullptr;
124 if (!strcmp(_clname, qt_meta_stringdata_ZN9NotesDockE.stringdata0))
125 return static_cast<void*>(this);
126 return QDockWidget::qt_metacast(_clname);
127}
128
129int NotesDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130{
131 _id = QDockWidget::qt_metacall(_c, _id, _a);
132 if (_id < 0)
133 return _id;
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 if (_id < 2)
136 qt_static_metacall(this, _c, _id, _a);
137 _id -= 2;
138 }
139 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140 if (_id < 2)
141 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
142 _id -= 2;
143 }
144 return _id;
145}
146
147// SIGNAL 0
148void NotesDock::modified()
149{
150 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
151}
152QT_WARNING_POP