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