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 69 (Qt 6.9.0)
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 != 69
21#error "This file was generated using the moc from 6.9.0. 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
37template <> constexpr inline auto NotesDock::qt_create_metaobjectdata<qt_meta_tag_ZN9NotesDockE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "NotesDock",
42 "modified",
43 "",
44 "onTextChanged"
45 };
46
47 QtMocHelpers::UintData qt_methods {
48 // Signal 'modified'
49 QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
50 // Slot 'onTextChanged'
51 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
52 };
53 QtMocHelpers::UintData qt_properties {
54 };
55 QtMocHelpers::UintData qt_enums {
56 };
57 return QtMocHelpers::metaObjectData<NotesDock, qt_meta_tag_ZN9NotesDockE_t>(QMC::MetaObjectFlag{}, qt_stringData,
58 qt_methods, qt_properties, qt_enums);
59}
60Q_CONSTINIT const QMetaObject NotesDock::staticMetaObject = { {
61 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
62 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9NotesDockE_t>.stringdata,
63 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9NotesDockE_t>.data,
64 qt_static_metacall,
65 nullptr,
66 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9NotesDockE_t>.metaTypes,
67 nullptr
68} };
69
70void NotesDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
71{
72 auto *_t = static_cast<NotesDock *>(_o);
73 if (_c == QMetaObject::InvokeMetaMethod) {
74 switch (_id) {
75 case 0: _t->modified(); break;
76 case 1: _t->onTextChanged(); break;
77 default: ;
78 }
79 }
80 if (_c == QMetaObject::IndexOfMethod) {
81 if (QtMocHelpers::indexOfMethod<void (NotesDock::*)()>(_a, &NotesDock::modified, 0))
82 return;
83 }
84}
85
86const QMetaObject *NotesDock::metaObject() const
87{
88 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
89}
90
91void *NotesDock::qt_metacast(const char *_clname)
92{
93 if (!_clname) return nullptr;
94 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9NotesDockE_t>.strings))
95 return static_cast<void*>(this);
96 return QDockWidget::qt_metacast(_clname);
97}
98
99int NotesDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100{
101 _id = QDockWidget::qt_metacall(_c, _id, _a);
102 if (_id < 0)
103 return _id;
104 if (_c == QMetaObject::InvokeMetaMethod) {
105 if (_id < 2)
106 qt_static_metacall(this, _c, _id, _a);
107 _id -= 2;
108 }
109 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
110 if (_id < 2)
111 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
112 _id -= 2;
113 }
114 return _id;
115}
116
117// SIGNAL 0
118void NotesDock::modified()
119{
120 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
121}
122QT_WARNING_POP