GCC Code Coverage Report
Directory: QGVCore/ Exec Total Coverage
File: QGVCore/qgvcore_autogen/include/moc_QGVScene.cpp Lines: 0 89 0.0 %
Date: 2024-03-31 10:30:44 Branches: 0 84 0.0 %

Line Branch Exec Source
1
/****************************************************************************
2
** Meta object code from reading C++ file 'QGVScene.h'
3
**
4
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.8)
5
**
6
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
8
9
#include "QGVCore/QGVScene.h"
10
#include <QtCore/qbytearray.h>
11
#include <QtCore/qmetatype.h>
12
#if !defined(Q_MOC_OUTPUT_REVISION)
13
#error "The header file 'QGVScene.h' doesn't include <QObject>."
14
#elif Q_MOC_OUTPUT_REVISION != 67
15
#error "This file was generated using the moc from 5.12.8. 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_QGVScene_t {
24
    QByteArrayData data[17];
25
    char stringdata0[212];
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_QGVScene_t, stringdata0) + ofs \
30
        - idx * sizeof(QByteArrayData)) \
31
    )
32
static const qt_meta_stringdata_QGVScene_t qt_meta_stringdata_QGVScene = {
33
    {
34
QT_MOC_LITERAL(0, 0, 8), // "QGVScene"
35
QT_MOC_LITERAL(1, 9, 15), // "nodeContextMenu"
36
QT_MOC_LITERAL(2, 25, 0), // ""
37
QT_MOC_LITERAL(3, 26, 8), // "QGVNode*"
38
QT_MOC_LITERAL(4, 35, 4), // "node"
39
QT_MOC_LITERAL(5, 40, 15), // "nodeDoubleClick"
40
QT_MOC_LITERAL(6, 56, 11), // "nodeChanged"
41
QT_MOC_LITERAL(7, 68, 16), // "nodeMouseRelease"
42
QT_MOC_LITERAL(8, 85, 15), // "edgeContextMenu"
43
QT_MOC_LITERAL(9, 101, 8), // "QGVEdge*"
44
QT_MOC_LITERAL(10, 110, 4), // "edge"
45
QT_MOC_LITERAL(11, 115, 15), // "edgeDoubleClick"
46
QT_MOC_LITERAL(12, 131, 19), // "subGraphContextMenu"
47
QT_MOC_LITERAL(13, 151, 12), // "QGVSubGraph*"
48
QT_MOC_LITERAL(14, 164, 5), // "graph"
49
QT_MOC_LITERAL(15, 170, 19), // "subGraphDoubleClick"
50
QT_MOC_LITERAL(16, 190, 21) // "graphContextMenuEvent"
51
52
    },
53
    "QGVScene\0nodeContextMenu\0\0QGVNode*\0"
54
    "node\0nodeDoubleClick\0nodeChanged\0"
55
    "nodeMouseRelease\0edgeContextMenu\0"
56
    "QGVEdge*\0edge\0edgeDoubleClick\0"
57
    "subGraphContextMenu\0QGVSubGraph*\0graph\0"
58
    "subGraphDoubleClick\0graphContextMenuEvent"
59
};
60
#undef QT_MOC_LITERAL
61
62
static const uint qt_meta_data_QGVScene[] = {
63
64
 // content:
65
       8,       // revision
66
       0,       // classname
67
       0,    0, // classinfo
68
       9,   14, // methods
69
       0,    0, // properties
70
       0,    0, // enums/sets
71
       0,    0, // constructors
72
       0,       // flags
73
       9,       // signalCount
74
75
 // signals: name, argc, parameters, tag, flags
76
       1,    1,   59,    2, 0x06 /* Public */,
77
       5,    1,   62,    2, 0x06 /* Public */,
78
       6,    1,   65,    2, 0x06 /* Public */,
79
       7,    1,   68,    2, 0x06 /* Public */,
80
       8,    1,   71,    2, 0x06 /* Public */,
81
      11,    1,   74,    2, 0x06 /* Public */,
82
      12,    1,   77,    2, 0x06 /* Public */,
83
      15,    1,   80,    2, 0x06 /* Public */,
84
      16,    0,   83,    2, 0x06 /* Public */,
85
86
 // signals: parameters
87
    QMetaType::Void, 0x80000000 | 3,    4,
88
    QMetaType::Void, 0x80000000 | 3,    4,
89
    QMetaType::Void, 0x80000000 | 3,    4,
90
    QMetaType::Void, 0x80000000 | 3,    4,
91
    QMetaType::Void, 0x80000000 | 9,   10,
92
    QMetaType::Void, 0x80000000 | 9,   10,
93
    QMetaType::Void, 0x80000000 | 13,   14,
94
    QMetaType::Void, 0x80000000 | 13,   14,
95
    QMetaType::Void,
96
97
       0        // eod
98
};
99
100
void QGVScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
101
{
102
    if (_c == QMetaObject::InvokeMetaMethod) {
103
        auto *_t = static_cast<QGVScene *>(_o);
104
        Q_UNUSED(_t)
105
        switch (_id) {
106
        case 0: _t->nodeContextMenu((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break;
107
        case 1: _t->nodeDoubleClick((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break;
108
        case 2: _t->nodeChanged((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break;
109
        case 3: _t->nodeMouseRelease((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break;
110
        case 4: _t->edgeContextMenu((*reinterpret_cast< QGVEdge*(*)>(_a[1]))); break;
111
        case 5: _t->edgeDoubleClick((*reinterpret_cast< QGVEdge*(*)>(_a[1]))); break;
112
        case 6: _t->subGraphContextMenu((*reinterpret_cast< QGVSubGraph*(*)>(_a[1]))); break;
113
        case 7: _t->subGraphDoubleClick((*reinterpret_cast< QGVSubGraph*(*)>(_a[1]))); break;
114
        case 8: _t->graphContextMenuEvent(); break;
115
        default: ;
116
        }
117
    } else if (_c == QMetaObject::IndexOfMethod) {
118
        int *result = reinterpret_cast<int *>(_a[0]);
119
        {
120
            using _t = void (QGVScene::*)(QGVNode * );
121
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::nodeContextMenu)) {
122
                *result = 0;
123
                return;
124
            }
125
        }
126
        {
127
            using _t = void (QGVScene::*)(QGVNode * );
128
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::nodeDoubleClick)) {
129
                *result = 1;
130
                return;
131
            }
132
        }
133
        {
134
            using _t = void (QGVScene::*)(QGVNode * );
135
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::nodeChanged)) {
136
                *result = 2;
137
                return;
138
            }
139
        }
140
        {
141
            using _t = void (QGVScene::*)(QGVNode * );
142
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::nodeMouseRelease)) {
143
                *result = 3;
144
                return;
145
            }
146
        }
147
        {
148
            using _t = void (QGVScene::*)(QGVEdge * );
149
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::edgeContextMenu)) {
150
                *result = 4;
151
                return;
152
            }
153
        }
154
        {
155
            using _t = void (QGVScene::*)(QGVEdge * );
156
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::edgeDoubleClick)) {
157
                *result = 5;
158
                return;
159
            }
160
        }
161
        {
162
            using _t = void (QGVScene::*)(QGVSubGraph * );
163
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::subGraphContextMenu)) {
164
                *result = 6;
165
                return;
166
            }
167
        }
168
        {
169
            using _t = void (QGVScene::*)(QGVSubGraph * );
170
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::subGraphDoubleClick)) {
171
                *result = 7;
172
                return;
173
            }
174
        }
175
        {
176
            using _t = void (QGVScene::*)();
177
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::graphContextMenuEvent)) {
178
                *result = 8;
179
                return;
180
            }
181
        }
182
    }
183
}
184
185
QT_INIT_METAOBJECT const QMetaObject QGVScene::staticMetaObject = { {
186
    &QGraphicsScene::staticMetaObject,
187
    qt_meta_stringdata_QGVScene.data,
188
    qt_meta_data_QGVScene,
189
    qt_static_metacall,
190
    nullptr,
191
    nullptr
192
} };
193
194
195
const QMetaObject *QGVScene::metaObject() const
196
{
197
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
198
}
199
200
void *QGVScene::qt_metacast(const char *_clname)
201
{
202
    if (!_clname) return nullptr;
203
    if (!strcmp(_clname, qt_meta_stringdata_QGVScene.stringdata0))
204
        return static_cast<void*>(this);
205
    return QGraphicsScene::qt_metacast(_clname);
206
}
207
208
int QGVScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
209
{
210
    _id = QGraphicsScene::qt_metacall(_c, _id, _a);
211
    if (_id < 0)
212
        return _id;
213
    if (_c == QMetaObject::InvokeMetaMethod) {
214
        if (_id < 9)
215
            qt_static_metacall(this, _c, _id, _a);
216
        _id -= 9;
217
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
218
        if (_id < 9)
219
            *reinterpret_cast<int*>(_a[0]) = -1;
220
        _id -= 9;
221
    }
222
    return _id;
223
}
224
225
// SIGNAL 0
226
void QGVScene::nodeContextMenu(QGVNode * _t1)
227
{
228
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
229
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
230
}
231
232
// SIGNAL 1
233
void QGVScene::nodeDoubleClick(QGVNode * _t1)
234
{
235
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
236
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
237
}
238
239
// SIGNAL 2
240
void QGVScene::nodeChanged(QGVNode * _t1)
241
{
242
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
243
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
244
}
245
246
// SIGNAL 3
247
void QGVScene::nodeMouseRelease(QGVNode * _t1)
248
{
249
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
250
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
251
}
252
253
// SIGNAL 4
254
void QGVScene::edgeContextMenu(QGVEdge * _t1)
255
{
256
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
257
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
258
}
259
260
// SIGNAL 5
261
void QGVScene::edgeDoubleClick(QGVEdge * _t1)
262
{
263
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
264
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
265
}
266
267
// SIGNAL 6
268
void QGVScene::subGraphContextMenu(QGVSubGraph * _t1)
269
{
270
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
271
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
272
}
273
274
// SIGNAL 7
275
void QGVScene::subGraphDoubleClick(QGVSubGraph * _t1)
276
{
277
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
278
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
279
}
280
281
// SIGNAL 8
282
void QGVScene::graphContextMenuEvent()
283
{
284
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
285
}
286
QT_WARNING_POP
287
QT_END_MOC_NAMESPACE