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 68 (Qt 6.7.2)
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 != 68
21#error "This file was generated using the moc from 6.7.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 {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSFileDateDialogENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSFileDateDialogENDCLASS = QtMocHelpers::stringData(
38 "FileDateDialog",
39 "accept",
40 "",
41 "dateSelected",
42 "index"
43);
44#else // !QT_MOC_HAS_STRINGDATA
45#error "qtmochelpers.h not found or too old."
46#endif // !QT_MOC_HAS_STRINGDATA
47} // unnamed namespace
48
49Q_CONSTINIT static const uint qt_meta_data_CLASSFileDateDialogENDCLASS[] = {
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 0, // signalCount
61
62 // slots: name, argc, parameters, tag, flags, initial metatype offsets
63 1, 0, 26, 2, 0x08, 1 /* Private */,
64 3, 1, 27, 2, 0x08, 2 /* Private */,
65
66 // slots: parameters
67 QMetaType::Void,
68 QMetaType::Void, QMetaType::Int, 4,
69
70 0 // eod
71};
72
73Q_CONSTINIT const QMetaObject FileDateDialog::staticMetaObject = { {
74 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
75 qt_meta_stringdata_CLASSFileDateDialogENDCLASS.offsetsAndSizes,
76 qt_meta_data_CLASSFileDateDialogENDCLASS,
77 qt_static_metacall,
78 nullptr,
79 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSFileDateDialogENDCLASS_t,
80 // Q_OBJECT / Q_GADGET
81 QtPrivate::TypeAndForceComplete<FileDateDialog, std::true_type>,
82 // method 'accept'
83 QtPrivate::TypeAndForceComplete<void, std::false_type>,
84 // method 'dateSelected'
85 QtPrivate::TypeAndForceComplete<void, std::false_type>,
86 QtPrivate::TypeAndForceComplete<int, std::false_type>
87 >,
88 nullptr
89} };
90
91void FileDateDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
92{
93 if (_c == QMetaObject::InvokeMetaMethod) {
94 auto *_t = static_cast<FileDateDialog *>(_o);
95 (void)_t;
96 switch (_id) {
97 case 0: _t->accept(); break;
98 case 1: _t->dateSelected((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
99 default: ;
100 }
101 }
102}
103
104const QMetaObject *FileDateDialog::metaObject() const
105{
106 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107}
108
109void *FileDateDialog::qt_metacast(const char *_clname)
110{
111 if (!_clname) return nullptr;
112 if (!strcmp(_clname, qt_meta_stringdata_CLASSFileDateDialogENDCLASS.stringdata0))
113 return static_cast<void*>(this);
114 return QDialog::qt_metacast(_clname);
115}
116
117int FileDateDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
118{
119 _id = QDialog::qt_metacall(_c, _id, _a);
120 if (_id < 0)
121 return _id;
122 if (_c == QMetaObject::InvokeMetaMethod) {
123 if (_id < 2)
124 qt_static_metacall(this, _c, _id, _a);
125 _id -= 2;
126 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
127 if (_id < 2)
128 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
129 _id -= 2;
130 }
131 return _id;
132}
133QT_WARNING_POP