Coverage Report

Created: 2025-07-23 08:13

/src/qtbase/src/gui/.moc/moc_qevent.cpp
Line
Count
Source (jump to first uncovered line)
1
/****************************************************************************
2
** Meta object code from reading C++ file 'qevent.h'
3
**
4
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.17)
5
**
6
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
8
9
#include <memory>
10
#include "../kernel/qevent.h"
11
#include <QtCore/qbytearray.h>
12
#include <QtCore/qmetatype.h>
13
#if !defined(Q_MOC_OUTPUT_REVISION)
14
#error "The header file 'qevent.h' doesn't include <QObject>."
15
#elif Q_MOC_OUTPUT_REVISION != 67
16
#error "This file was generated using the moc from 5.15.17. It"
17
#error "cannot be used with the include files from this version of Qt."
18
#error "(The moc has changed too much.)"
19
#endif
20
21
QT_BEGIN_MOC_NAMESPACE
22
QT_WARNING_PUSH
23
QT_WARNING_DISABLE_DEPRECATED
24
struct qt_meta_stringdata_QTabletEvent_t {
25
    QByteArrayData data[14];
26
    char stringdata0[139];
27
};
28
#define QT_MOC_LITERAL(idx, ofs, len) \
29
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30
    qptrdiff(offsetof(qt_meta_stringdata_QTabletEvent_t, stringdata0) + ofs \
31
        - idx * sizeof(QByteArrayData)) \
32
    )
33
static const qt_meta_stringdata_QTabletEvent_t qt_meta_stringdata_QTabletEvent = {
34
    {
35
QT_MOC_LITERAL(0, 0, 12), // "QTabletEvent"
36
QT_MOC_LITERAL(1, 13, 12), // "TabletDevice"
37
QT_MOC_LITERAL(2, 26, 8), // "NoDevice"
38
QT_MOC_LITERAL(3, 35, 4), // "Puck"
39
QT_MOC_LITERAL(4, 40, 6), // "Stylus"
40
QT_MOC_LITERAL(5, 47, 8), // "Airbrush"
41
QT_MOC_LITERAL(6, 56, 10), // "FourDMouse"
42
QT_MOC_LITERAL(7, 67, 11), // "XFreeEraser"
43
QT_MOC_LITERAL(8, 79, 14), // "RotationStylus"
44
QT_MOC_LITERAL(9, 94, 11), // "PointerType"
45
QT_MOC_LITERAL(10, 106, 14), // "UnknownPointer"
46
QT_MOC_LITERAL(11, 121, 3), // "Pen"
47
QT_MOC_LITERAL(12, 125, 6), // "Cursor"
48
QT_MOC_LITERAL(13, 132, 6) // "Eraser"
49
50
    },
51
    "QTabletEvent\0TabletDevice\0NoDevice\0"
52
    "Puck\0Stylus\0Airbrush\0FourDMouse\0"
53
    "XFreeEraser\0RotationStylus\0PointerType\0"
54
    "UnknownPointer\0Pen\0Cursor\0Eraser"
55
};
56
#undef QT_MOC_LITERAL
57
58
static const uint qt_meta_data_QTabletEvent[] = {
59
60
 // content:
61
       8,       // revision
62
       0,       // classname
63
       0,    0, // classinfo
64
       0,    0, // methods
65
       0,    0, // properties
66
       2,   14, // enums/sets
67
       0,    0, // constructors
68
       4,       // flags
69
       0,       // signalCount
70
71
 // enums: name, alias, flags, count, data
72
       1,    1, 0x0,    7,   24,
73
       9,    9, 0x0,    4,   38,
74
75
 // enum data: key, value
76
       2, uint(QTabletEvent::NoDevice),
77
       3, uint(QTabletEvent::Puck),
78
       4, uint(QTabletEvent::Stylus),
79
       5, uint(QTabletEvent::Airbrush),
80
       6, uint(QTabletEvent::FourDMouse),
81
       7, uint(QTabletEvent::XFreeEraser),
82
       8, uint(QTabletEvent::RotationStylus),
83
      10, uint(QTabletEvent::UnknownPointer),
84
      11, uint(QTabletEvent::Pen),
85
      12, uint(QTabletEvent::Cursor),
86
      13, uint(QTabletEvent::Eraser),
87
88
       0        // eod
89
};
90
91
QT_INIT_METAOBJECT const QMetaObject QTabletEvent::staticMetaObject = { {
92
    QtPrivate::MetaObjectForType<QInputEvent>::value(),
93
    qt_meta_stringdata_QTabletEvent.data,
94
    qt_meta_data_QTabletEvent,
95
    nullptr,
96
    nullptr,
97
    nullptr
98
} };
99
100
struct qt_meta_stringdata_QPointingDeviceUniqueId_t {
101
    QByteArrayData data[2];
102
    char stringdata0[34];
103
};
104
#define QT_MOC_LITERAL(idx, ofs, len) \
105
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
106
    qptrdiff(offsetof(qt_meta_stringdata_QPointingDeviceUniqueId_t, stringdata0) + ofs \
107
        - idx * sizeof(QByteArrayData)) \
108
    )
109
static const qt_meta_stringdata_QPointingDeviceUniqueId_t qt_meta_stringdata_QPointingDeviceUniqueId = {
110
    {
111
QT_MOC_LITERAL(0, 0, 23), // "QPointingDeviceUniqueId"
112
QT_MOC_LITERAL(1, 24, 9) // "numericId"
113
114
    },
115
    "QPointingDeviceUniqueId\0numericId"
116
};
117
#undef QT_MOC_LITERAL
118
119
static const uint qt_meta_data_QPointingDeviceUniqueId[] = {
120
121
 // content:
122
       8,       // revision
123
       0,       // classname
124
       0,    0, // classinfo
125
       0,    0, // methods
126
       1,   14, // properties
127
       0,    0, // enums/sets
128
       0,    0, // constructors
129
       4,       // flags
130
       0,       // signalCount
131
132
 // properties: name, type, flags
133
       1, QMetaType::LongLong, 0x00095401,
134
135
       0        // eod
136
};
137
138
void QPointingDeviceUniqueId::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
139
0
{
140
141
0
#ifndef QT_NO_PROPERTIES
142
0
    if (_c == QMetaObject::ReadProperty) {
143
0
        auto *_t = reinterpret_cast<QPointingDeviceUniqueId *>(_o);
144
0
        (void)_t;
145
0
        void *_v = _a[0];
146
0
        switch (_id) {
147
0
        case 0: *reinterpret_cast< qint64*>(_v) = _t->numericId(); break;
148
0
        default: break;
149
0
        }
150
0
    } else if (_c == QMetaObject::WriteProperty) {
151
0
    } else if (_c == QMetaObject::ResetProperty) {
152
0
    }
153
0
#endif // QT_NO_PROPERTIES
154
0
    (void)_o;
155
0
    (void)_id;
156
0
    (void)_c;
157
0
    (void)_a;
158
0
}
159
160
QT_INIT_METAOBJECT const QMetaObject QPointingDeviceUniqueId::staticMetaObject = { {
161
    nullptr,
162
    qt_meta_stringdata_QPointingDeviceUniqueId.data,
163
    qt_meta_data_QPointingDeviceUniqueId,
164
    qt_static_metacall,
165
    nullptr,
166
    nullptr
167
} };
168
169
QT_WARNING_POP
170
QT_END_MOC_NAMESPACE