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 67 (Qt 5.11.0)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "trayicon.h"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 'trayicon.h' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.11.0. It"
16 : #error "cannot be used with the include files from this version of Qt."
17 : #error "(The moc has changed too much.)"
18 : #endif
19 :
20 : QT_BEGIN_MOC_NAMESPACE
21 : QT_WARNING_PUSH
22 : QT_WARNING_DISABLE_DEPRECATED
23 : struct qt_meta_stringdata_TrayIcon_t {
24 : QByteArrayData data[6];
25 : char stringdata0[80];
26 : };
27 : #define QT_MOC_LITERAL(idx, ofs, len) \
28 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 : qptrdiff(offsetof(qt_meta_stringdata_TrayIcon_t, stringdata0) + ofs \
30 : - idx * sizeof(QByteArrayData)) \
31 : )
32 : static const qt_meta_stringdata_TrayIcon_t qt_meta_stringdata_TrayIcon = {
33 : {
34 : QT_MOC_LITERAL(0, 0, 8), // "TrayIcon"
35 : QT_MOC_LITERAL(1, 9, 14), // "showHideParent"
36 : QT_MOC_LITERAL(2, 24, 0), // ""
37 : QT_MOC_LITERAL(3, 25, 13), // "iconActivated"
38 : QT_MOC_LITERAL(4, 39, 33), // "QSystemTrayIcon::ActivationRe..."
39 : QT_MOC_LITERAL(5, 73, 6) // "reason"
40 :
41 : },
42 : "TrayIcon\0showHideParent\0\0iconActivated\0"
43 : "QSystemTrayIcon::ActivationReason\0"
44 : "reason"
45 : };
46 : #undef QT_MOC_LITERAL
47 :
48 : static const uint qt_meta_data_TrayIcon[] = {
49 :
50 : // content:
51 : 7, // revision
52 : 0, // classname
53 : 0, 0, // classinfo
54 : 2, 14, // methods
55 : 0, 0, // properties
56 : 0, 0, // enums/sets
57 : 0, 0, // constructors
58 : 0, // flags
59 : 0, // signalCount
60 :
61 : // slots: name, argc, parameters, tag, flags
62 : 1, 0, 24, 2, 0x0a /* Public */,
63 : 3, 1, 25, 2, 0x0a /* Public */,
64 :
65 : // slots: parameters
66 : QMetaType::Void,
67 : QMetaType::Void, 0x80000000 | 4, 5,
68 :
69 : 0 // eod
70 : };
71 :
72 0 : void TrayIcon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
73 : {
74 0 : if (_c == QMetaObject::InvokeMetaMethod) {
75 0 : TrayIcon *_t = static_cast<TrayIcon *>(_o);
76 : Q_UNUSED(_t)
77 0 : switch (_id) {
78 0 : case 0: _t->showHideParent(); break;
79 0 : case 1: _t->iconActivated((*reinterpret_cast< QSystemTrayIcon::ActivationReason(*)>(_a[1]))); break;
80 : default: ;
81 : }
82 0 : }
83 0 : }
84 :
85 : QT_INIT_METAOBJECT const QMetaObject TrayIcon::staticMetaObject = {
86 : { &QWidget::staticMetaObject, qt_meta_stringdata_TrayIcon.data,
87 : qt_meta_data_TrayIcon, qt_static_metacall, nullptr, nullptr}
88 : };
89 :
90 :
91 0 : const QMetaObject *TrayIcon::metaObject() const
92 : {
93 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
94 : }
95 :
96 0 : void *TrayIcon::qt_metacast(const char *_clname)
97 : {
98 0 : if (!_clname) return nullptr;
99 0 : if (!strcmp(_clname, qt_meta_stringdata_TrayIcon.stringdata0))
100 0 : return static_cast<void*>(this);
101 0 : return QWidget::qt_metacast(_clname);
102 0 : }
103 :
104 0 : int TrayIcon::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
105 : {
106 0 : _id = QWidget::qt_metacall(_c, _id, _a);
107 0 : if (_id < 0)
108 0 : return _id;
109 0 : if (_c == QMetaObject::InvokeMetaMethod) {
110 0 : if (_id < 2)
111 0 : qt_static_metacall(this, _c, _id, _a);
112 0 : _id -= 2;
113 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
114 0 : if (_id < 2)
115 0 : *reinterpret_cast<int*>(_a[0]) = -1;
116 0 : _id -= 2;
117 0 : }
118 0 : return _id;
119 0 : }
120 : QT_WARNING_POP
121 : QT_END_MOC_NAMESPACE
|