GCC Code Coverage Report


Directory: ./
File: include/hpp/plot/moc_graph-widget.cpp
Date: 2024-12-13 15:45:52
Exec Total Coverage
Lines: 0 32 0.0%
Branches: 0 26 0.0%

Line Branch Exec Source
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'graph-widget.hh'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include <memory>
10 #include "graph-widget.hh"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'graph-widget.hh' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.3. 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_hpp__plot__GraphWidget_t {
25 QByteArrayData data[13];
26 char stringdata0[152];
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_hpp__plot__GraphWidget_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_hpp__plot__GraphWidget_t qt_meta_stringdata_hpp__plot__GraphWidget = {
34 {
35 QT_MOC_LITERAL(0, 0, 22), // "hpp::plot::GraphWidget"
36 QT_MOC_LITERAL(1, 23, 11), // "updateGraph"
37 QT_MOC_LITERAL(2, 35, 0), // ""
38 QT_MOC_LITERAL(3, 36, 11), // "updateEdges"
39 QT_MOC_LITERAL(4, 48, 11), // "saveDotFile"
40 QT_MOC_LITERAL(5, 60, 15), // "nodeContextMenu"
41 QT_MOC_LITERAL(6, 76, 8), // "QGVNode*"
42 QT_MOC_LITERAL(7, 85, 4), // "node"
43 QT_MOC_LITERAL(8, 90, 15), // "nodeDoubleClick"
44 QT_MOC_LITERAL(9, 106, 15), // "edgeContextMenu"
45 QT_MOC_LITERAL(10, 122, 8), // "QGVEdge*"
46 QT_MOC_LITERAL(11, 131, 4), // "edge"
47 QT_MOC_LITERAL(12, 136, 15) // "edgeDoubleClick"
48
49 },
50 "hpp::plot::GraphWidget\0updateGraph\0\0"
51 "updateEdges\0saveDotFile\0nodeContextMenu\0"
52 "QGVNode*\0node\0nodeDoubleClick\0"
53 "edgeContextMenu\0QGVEdge*\0edge\0"
54 "edgeDoubleClick"
55 };
56 #undef QT_MOC_LITERAL
57
58 static const uint qt_meta_data_hpp__plot__GraphWidget[] = {
59
60 // content:
61 8, // revision
62 0, // classname
63 0, 0, // classinfo
64 7, 14, // methods
65 0, 0, // properties
66 0, 0, // enums/sets
67 0, 0, // constructors
68 0, // flags
69 0, // signalCount
70
71 // slots: name, argc, parameters, tag, flags
72 1, 0, 49, 2, 0x0a /* Public */,
73 3, 0, 50, 2, 0x0a /* Public */,
74 4, 0, 51, 2, 0x0a /* Public */,
75 5, 1, 52, 2, 0x09 /* Protected */,
76 8, 1, 55, 2, 0x09 /* Protected */,
77 9, 1, 58, 2, 0x09 /* Protected */,
78 12, 1, 61, 2, 0x09 /* Protected */,
79
80 // slots: parameters
81 QMetaType::Void,
82 QMetaType::Void,
83 QMetaType::Void,
84 QMetaType::Void, 0x80000000 | 6, 7,
85 QMetaType::Void, 0x80000000 | 6, 7,
86 QMetaType::Void, 0x80000000 | 10, 11,
87 QMetaType::Void, 0x80000000 | 10, 11,
88
89 0 // eod
90 };
91
92 void hpp::plot::GraphWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
93 {
94 if (_c == QMetaObject::InvokeMetaMethod) {
95 auto *_t = static_cast<GraphWidget *>(_o);
96 (void)_t;
97 switch (_id) {
98 case 0: _t->updateGraph(); break;
99 case 1: _t->updateEdges(); break;
100 case 2: _t->saveDotFile(); break;
101 case 3: _t->nodeContextMenu((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break;
102 case 4: _t->nodeDoubleClick((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break;
103 case 5: _t->edgeContextMenu((*reinterpret_cast< QGVEdge*(*)>(_a[1]))); break;
104 case 6: _t->edgeDoubleClick((*reinterpret_cast< QGVEdge*(*)>(_a[1]))); break;
105 default: ;
106 }
107 }
108 }
109
110 QT_INIT_METAOBJECT const QMetaObject hpp::plot::GraphWidget::staticMetaObject = { {
111 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
112 qt_meta_stringdata_hpp__plot__GraphWidget.data,
113 qt_meta_data_hpp__plot__GraphWidget,
114 qt_static_metacall,
115 nullptr,
116 nullptr
117 } };
118
119
120 const QMetaObject *hpp::plot::GraphWidget::metaObject() const
121 {
122 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
123 }
124
125 void *hpp::plot::GraphWidget::qt_metacast(const char *_clname)
126 {
127 if (!_clname) return nullptr;
128 if (!strcmp(_clname, qt_meta_stringdata_hpp__plot__GraphWidget.stringdata0))
129 return static_cast<void*>(this);
130 return QWidget::qt_metacast(_clname);
131 }
132
133 int hpp::plot::GraphWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
134 {
135 _id = QWidget::qt_metacall(_c, _id, _a);
136 if (_id < 0)
137 return _id;
138 if (_c == QMetaObject::InvokeMetaMethod) {
139 if (_id < 7)
140 qt_static_metacall(this, _c, _id, _a);
141 _id -= 7;
142 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143 if (_id < 7)
144 *reinterpret_cast<int*>(_a[0]) = -1;
145 _id -= 7;
146 }
147 return _id;
148 }
149 QT_WARNING_POP
150 QT_END_MOC_NAMESPACE
151