QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
moc_qprogressindicator.cpp
Go to the documentation of this file.
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
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
30QT_WARNING_PUSH
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
35} // unnamed namespace
36
37template <> 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}
79Q_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
89void QProgressIndicator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
90{
91 auto *_t = static_cast<QProgressIndicator *>(_o);
92 if (_c == QMetaObject::InvokeMetaMethod) {
93 switch (_id) {
94 case 0: _t->startAnimation(); break;
95 case 1: _t->stopAnimation(); break;
96 case 2: _t->setAnimationDelay((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
97 case 3: _t->setDisplayedWhenStopped((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
98 case 4: _t->setColor((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
99 default: ;
100 }
101 }
102}
103
104const QMetaObject *QProgressIndicator::metaObject() const
105{
106 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107}
108
109void *QProgressIndicator::qt_metacast(const char *_clname)
110{
111 if (!_clname) return nullptr;
112 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18QProgressIndicatorE_t>.strings))
113 return static_cast<void*>(this);
114 return QWidget::qt_metacast(_clname);
115}
116
117int QProgressIndicator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
118{
119 _id = QWidget::qt_metacall(_c, _id, _a);
120 if (_id < 0)
121 return _id;
122 if (_c == QMetaObject::InvokeMetaMethod) {
123 if (_id < 5)
124 qt_static_metacall(this, _c, _id, _a);
125 _id -= 5;
126 }
127 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
128 if (_id < 5)
129 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
130 _id -= 5;
131 }
132 return _id;
133}
134QT_WARNING_POP
QProgressIndicator(QWidget *parent=0)
QProgressIndicator::QProgressIndicator constructor.
#define Q_CONSTINIT