Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'qprogressindicator.h'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "qprogressindicator.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 'qprogressindicator.h' doesn't include <QObject>."
20 : #elif Q_MOC_OUTPUT_REVISION != 69
21 : #error "This file was generated using the moc from 6.10.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 :
30 : QT_WARNING_PUSH
31 : QT_WARNING_DISABLE_DEPRECATED
32 : QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33 : namespace {
34 : struct qt_meta_tag_ZN18QProgressIndicatorE_t {};
35 : } // unnamed namespace
36 :
37 : template <> constexpr inline auto QProgressIndicator::qt_create_metaobjectdata<qt_meta_tag_ZN18QProgressIndicatorE_t>()
38 : {
39 : namespace QMC = QtMocConstants;
40 : QtMocHelpers::StringRefStorage qt_stringData {
41 : "QProgressIndicator",
42 : "startAnimation",
43 : "",
44 : "stopAnimation",
45 : "setAnimationDelay",
46 : "delay",
47 : "setDisplayedWhenStopped",
48 : "state",
49 : "setColor",
50 : "QColor",
51 : "color"
52 : };
53 :
54 : QtMocHelpers::UintData qt_methods {
55 : // Slot 'startAnimation'
56 : QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
57 : // Slot 'stopAnimation'
58 : QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
59 : // Slot 'setAnimationDelay'
60 : QtMocHelpers::SlotData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
61 : { QMetaType::Int, 5 },
62 : }}),
63 : // Slot 'setDisplayedWhenStopped'
64 : QtMocHelpers::SlotData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
65 : { QMetaType::Bool, 7 },
66 : }}),
67 : // Slot 'setColor'
68 : QtMocHelpers::SlotData<void(const QColor &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
69 : { 0x80000000 | 9, 10 },
70 : }}),
71 : };
72 : QtMocHelpers::UintData qt_properties {
73 : };
74 : QtMocHelpers::UintData qt_enums {
75 : };
76 : return QtMocHelpers::metaObjectData<QProgressIndicator, qt_meta_tag_ZN18QProgressIndicatorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
77 : qt_methods, qt_properties, qt_enums);
78 : }
79 : Q_CONSTINIT const QMetaObject QProgressIndicator::staticMetaObject = { {
80 : QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
81 : qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18QProgressIndicatorE_t>.stringdata,
82 : qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18QProgressIndicatorE_t>.data,
83 : qt_static_metacall,
84 : nullptr,
85 : qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18QProgressIndicatorE_t>.metaTypes,
86 : nullptr
87 : } };
88 :
89 0 : void QProgressIndicator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
90 : {
91 : auto *_t = static_cast<QProgressIndicator *>(_o);
92 0 : if (_c == QMetaObject::InvokeMetaMethod) {
93 0 : switch (_id) {
94 0 : case 0: _t->startAnimation(); break;
95 0 : case 1: _t->stopAnimation(); break;
96 0 : case 2: _t->setAnimationDelay((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
97 0 : case 3: _t->setDisplayedWhenStopped((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
98 0 : case 4: _t->setColor((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
99 : default: ;
100 : }
101 : }
102 0 : }
103 :
104 0 : const QMetaObject *QProgressIndicator::metaObject() const
105 : {
106 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107 : }
108 :
109 0 : void *QProgressIndicator::qt_metacast(const char *_clname)
110 : {
111 0 : if (!_clname) return nullptr;
112 0 : if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18QProgressIndicatorE_t>.strings))
113 : return static_cast<void*>(this);
114 0 : return QWidget::qt_metacast(_clname);
115 : }
116 :
117 0 : int QProgressIndicator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
118 : {
119 0 : _id = QWidget::qt_metacall(_c, _id, _a);
120 0 : if (_id < 0)
121 : return _id;
122 0 : if (_c == QMetaObject::InvokeMetaMethod) {
123 0 : if (_id < 5)
124 0 : qt_static_metacall(this, _c, _id, _a);
125 0 : _id -= 5;
126 : }
127 0 : if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
128 0 : if (_id < 5)
129 0 : *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
130 0 : _id -= 5;
131 : }
132 : return _id;
133 : }
134 : QT_WARNING_POP
|