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