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