Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'qpushbuttonwithclipboard.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 "qpushbuttonwithclipboard.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 'qpushbuttonwithclipboard.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_ZN24QPushButtonWithClipboardE_t {};
35 : } // unnamed namespace
36 :
37 : template <> constexpr inline auto QPushButtonWithClipboard::qt_create_metaobjectdata<qt_meta_tag_ZN24QPushButtonWithClipboardE_t>()
38 : {
39 : namespace QMC = QtMocConstants;
40 : QtMocHelpers::StringRefStorage qt_stringData {
41 : "QPushButtonWithClipboard",
42 : "clicked",
43 : "",
44 : "changeIconDefault",
45 : "buttonClicked"
46 : };
47 :
48 : QtMocHelpers::UintData qt_methods {
49 : // Signal 'clicked'
50 : QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
51 : { QMetaType::QString, 2 },
52 : }}),
53 : // Slot 'changeIconDefault'
54 : QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
55 : // Slot 'buttonClicked'
56 : QtMocHelpers::SlotData<void(bool)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
57 : { QMetaType::Bool, 2 },
58 : }}),
59 : };
60 : QtMocHelpers::UintData qt_properties {
61 : };
62 : QtMocHelpers::UintData qt_enums {
63 : };
64 : return QtMocHelpers::metaObjectData<QPushButtonWithClipboard, qt_meta_tag_ZN24QPushButtonWithClipboardE_t>(QMC::MetaObjectFlag{}, qt_stringData,
65 : qt_methods, qt_properties, qt_enums);
66 : }
67 : Q_CONSTINIT const QMetaObject QPushButtonWithClipboard::staticMetaObject = { {
68 : QMetaObject::SuperData::link<QPushButton::staticMetaObject>(),
69 : qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24QPushButtonWithClipboardE_t>.stringdata,
70 : qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24QPushButtonWithClipboardE_t>.data,
71 : qt_static_metacall,
72 : nullptr,
73 : qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN24QPushButtonWithClipboardE_t>.metaTypes,
74 : nullptr
75 : } };
76 :
77 0 : void QPushButtonWithClipboard::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
78 : {
79 : auto *_t = static_cast<QPushButtonWithClipboard *>(_o);
80 0 : if (_c == QMetaObject::InvokeMetaMethod) {
81 0 : switch (_id) {
82 0 : case 0: _t->clicked((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
83 0 : case 1: _t->changeIconDefault(); break;
84 0 : case 2: _t->buttonClicked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
85 : default: ;
86 : }
87 : }
88 0 : if (_c == QMetaObject::IndexOfMethod) {
89 : if (QtMocHelpers::indexOfMethod<void (QPushButtonWithClipboard::*)(const QString & )>(_a, &QPushButtonWithClipboard::clicked, 0))
90 0 : return;
91 : }
92 : }
93 :
94 0 : const QMetaObject *QPushButtonWithClipboard::metaObject() const
95 : {
96 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
97 : }
98 :
99 0 : void *QPushButtonWithClipboard::qt_metacast(const char *_clname)
100 : {
101 0 : if (!_clname) return nullptr;
102 0 : if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24QPushButtonWithClipboardE_t>.strings))
103 : return static_cast<void*>(this);
104 0 : return QPushButton::qt_metacast(_clname);
105 : }
106 :
107 0 : int QPushButtonWithClipboard::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
108 : {
109 0 : _id = QPushButton::qt_metacall(_c, _id, _a);
110 0 : if (_id < 0)
111 : return _id;
112 0 : if (_c == QMetaObject::InvokeMetaMethod) {
113 0 : if (_id < 3)
114 0 : qt_static_metacall(this, _c, _id, _a);
115 0 : _id -= 3;
116 : }
117 0 : if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
118 0 : if (_id < 3)
119 0 : *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
120 0 : _id -= 3;
121 : }
122 : return _id;
123 : }
124 :
125 : // SIGNAL 0
126 0 : void QPushButtonWithClipboard::clicked(const QString & _t1)
127 : {
128 0 : QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
129 0 : }
130 : QT_WARNING_POP
|