CuteLogger
Fast and simple logging solution for Qt based applications
moc_filedatedialog.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'filedatedialog.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/dialogs/filedatedialog.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 'filedatedialog.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_ZN14FileDateDialogE_t {};
35} // unnamed namespace
36
37template <> constexpr inline auto FileDateDialog::qt_create_metaobjectdata<qt_meta_tag_ZN14FileDateDialogE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "FileDateDialog",
42 "accept",
43 "",
44 "dateSelected",
45 "index"
46 };
47
48 QtMocHelpers::UintData qt_methods {
49 // Slot 'accept'
50 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
51 // Slot 'dateSelected'
52 QtMocHelpers::SlotData<void(int)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
53 { QMetaType::Int, 4 },
54 }}),
55 };
56 QtMocHelpers::UintData qt_properties {
57 };
58 QtMocHelpers::UintData qt_enums {
59 };
60 return QtMocHelpers::metaObjectData<FileDateDialog, qt_meta_tag_ZN14FileDateDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
61 qt_methods, qt_properties, qt_enums);
62}
63Q_CONSTINIT const QMetaObject FileDateDialog::staticMetaObject = { {
64 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
65 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14FileDateDialogE_t>.stringdata,
66 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14FileDateDialogE_t>.data,
67 qt_static_metacall,
68 nullptr,
69 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14FileDateDialogE_t>.metaTypes,
70 nullptr
71} };
72
73void FileDateDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
74{
75 auto *_t = static_cast<FileDateDialog *>(_o);
76 if (_c == QMetaObject::InvokeMetaMethod) {
77 switch (_id) {
78 case 0: _t->accept(); break;
79 case 1: _t->dateSelected((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
80 default: ;
81 }
82 }
83}
84
85const QMetaObject *FileDateDialog::metaObject() const
86{
87 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
88}
89
90void *FileDateDialog::qt_metacast(const char *_clname)
91{
92 if (!_clname) return nullptr;
93 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14FileDateDialogE_t>.strings))
94 return static_cast<void*>(this);
95 return QDialog::qt_metacast(_clname);
96}
97
98int FileDateDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
99{
100 _id = QDialog::qt_metacall(_c, _id, _a);
101 if (_id < 0)
102 return _id;
103 if (_c == QMetaObject::InvokeMetaMethod) {
104 if (_id < 2)
105 qt_static_metacall(this, _c, _id, _a);
106 _id -= 2;
107 }
108 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
109 if (_id < 2)
110 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
111 _id -= 2;
112 }
113 return _id;
114}
115QT_WARNING_POP