GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: src/gui/moc_python-decorator.cpp Lines: 0 70 0.0 %
Date: 2024-04-14 11:13:22 Branches: 0 67 0.0 %

Line Branch Exec Source
1
/****************************************************************************
2
** Meta object code from reading C++ file 'python-decorator.hh'
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 "python-decorator.hh"
10
#include <QtCore/qbytearray.h>
11
#include <QtCore/qmetatype.h>
12
#if !defined(Q_MOC_OUTPUT_REVISION)
13
#error "The header file 'python-decorator.hh' 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_gepetto__gui__PythonDecorator_t {
24
    QByteArrayData data[17];
25
    char stringdata0[182];
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_gepetto__gui__PythonDecorator_t, stringdata0) + ofs \
30
        - idx * sizeof(QByteArrayData)) \
31
    )
32
static const qt_meta_stringdata_gepetto__gui__PythonDecorator_t qt_meta_stringdata_gepetto__gui__PythonDecorator = {
33
    {
34
QT_MOC_LITERAL(0, 0, 29), // "gepetto::gui::PythonDecorator"
35
QT_MOC_LITERAL(1, 30, 26), // "static_MainWindow_instance"
36
QT_MOC_LITERAL(2, 57, 11), // "MainWindow*"
37
QT_MOC_LITERAL(3, 69, 0), // ""
38
QT_MOC_LITERAL(4, 70, 10), // "osgWindows"
39
QT_MOC_LITERAL(5, 81, 17), // "QList<OSGWidget*>"
40
QT_MOC_LITERAL(6, 99, 1), // "w"
41
QT_MOC_LITERAL(7, 101, 3), // "osg"
42
QT_MOC_LITERAL(8, 105, 9), // "PyObject*"
43
QT_MOC_LITERAL(9, 115, 11), // "getFromSlot"
44
QT_MOC_LITERAL(10, 127, 11), // "const char*"
45
QT_MOC_LITERAL(11, 139, 4), // "slot"
46
QT_MOC_LITERAL(12, 144, 10), // "createView"
47
QT_MOC_LITERAL(13, 155, 10), // "OSGWidget*"
48
QT_MOC_LITERAL(14, 166, 4), // "name"
49
QT_MOC_LITERAL(15, 171, 8), // "windowID"
50
QT_MOC_LITERAL(16, 180, 1) // "o"
51
52
    },
53
    "gepetto::gui::PythonDecorator\0"
54
    "static_MainWindow_instance\0MainWindow*\0"
55
    "\0osgWindows\0QList<OSGWidget*>\0w\0osg\0"
56
    "PyObject*\0getFromSlot\0const char*\0"
57
    "slot\0createView\0OSGWidget*\0name\0"
58
    "windowID\0o"
59
};
60
#undef QT_MOC_LITERAL
61
62
static const uint qt_meta_data_gepetto__gui__PythonDecorator[] = {
63
64
 // content:
65
       8,       // revision
66
       0,       // classname
67
       0,    0, // classinfo
68
       6,   14, // methods
69
       0,    0, // properties
70
       0,    0, // enums/sets
71
       0,    0, // constructors
72
       0,       // flags
73
       0,       // signalCount
74
75
 // slots: name, argc, parameters, tag, flags
76
       1,    0,   44,    3, 0x0a /* Public */,
77
       4,    1,   45,    3, 0x0a /* Public */,
78
       7,    1,   48,    3, 0x0a /* Public */,
79
       9,    2,   51,    3, 0x0a /* Public */,
80
      12,    2,   56,    3, 0x0a /* Public */,
81
      15,    1,   61,    3, 0x0a /* Public */,
82
83
 // slots: parameters
84
    0x80000000 | 2,
85
    0x80000000 | 5, 0x80000000 | 2,    6,
86
    0x80000000 | 8, 0x80000000 | 2,    6,
87
    QMetaType::QObjectStar, 0x80000000 | 2, 0x80000000 | 10,    6,   11,
88
    0x80000000 | 13, 0x80000000 | 2, QMetaType::QString,    6,   14,
89
    QMetaType::QString, 0x80000000 | 13,   16,
90
91
       0        // eod
92
};
93
94
void gepetto::gui::PythonDecorator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
95
{
96
    if (_c == QMetaObject::InvokeMetaMethod) {
97
        auto *_t = static_cast<PythonDecorator *>(_o);
98
        Q_UNUSED(_t)
99
        switch (_id) {
100
        case 0: { MainWindow* _r = _t->static_MainWindow_instance();
101
            if (_a[0]) *reinterpret_cast< MainWindow**>(_a[0]) = std::move(_r); }  break;
102
        case 1: { QList<OSGWidget*> _r = _t->osgWindows((*reinterpret_cast< MainWindow*(*)>(_a[1])));
103
            if (_a[0]) *reinterpret_cast< QList<OSGWidget*>*>(_a[0]) = std::move(_r); }  break;
104
        case 2: { PyObject* _r = _t->osg((*reinterpret_cast< MainWindow*(*)>(_a[1])));
105
            if (_a[0]) *reinterpret_cast< PyObject**>(_a[0]) = std::move(_r); }  break;
106
        case 3: { QObject* _r = _t->getFromSlot((*reinterpret_cast< MainWindow*(*)>(_a[1])),(*reinterpret_cast< const char*(*)>(_a[2])));
107
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
108
        case 4: { OSGWidget* _r = _t->createView((*reinterpret_cast< MainWindow*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
109
            if (_a[0]) *reinterpret_cast< OSGWidget**>(_a[0]) = std::move(_r); }  break;
110
        case 5: { QString _r = _t->windowID((*reinterpret_cast< OSGWidget*(*)>(_a[1])));
111
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
112
        default: ;
113
        }
114
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
115
        switch (_id) {
116
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
117
        case 1:
118
            switch (*reinterpret_cast<int*>(_a[1])) {
119
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
120
            case 0:
121
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
122
            }
123
            break;
124
        case 2:
125
            switch (*reinterpret_cast<int*>(_a[1])) {
126
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
127
            case 0:
128
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
129
            }
130
            break;
131
        case 3:
132
            switch (*reinterpret_cast<int*>(_a[1])) {
133
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
134
            case 0:
135
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
136
            }
137
            break;
138
        case 4:
139
            switch (*reinterpret_cast<int*>(_a[1])) {
140
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
141
            case 0:
142
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
143
            }
144
            break;
145
        case 5:
146
            switch (*reinterpret_cast<int*>(_a[1])) {
147
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
148
            case 0:
149
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< OSGWidget* >(); break;
150
            }
151
            break;
152
        }
153
    }
154
}
155
156
QT_INIT_METAOBJECT const QMetaObject gepetto::gui::PythonDecorator::staticMetaObject = { {
157
    &QObject::staticMetaObject,
158
    qt_meta_stringdata_gepetto__gui__PythonDecorator.data,
159
    qt_meta_data_gepetto__gui__PythonDecorator,
160
    qt_static_metacall,
161
    nullptr,
162
    nullptr
163
} };
164
165
166
const QMetaObject *gepetto::gui::PythonDecorator::metaObject() const
167
{
168
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
169
}
170
171
void *gepetto::gui::PythonDecorator::qt_metacast(const char *_clname)
172
{
173
    if (!_clname) return nullptr;
174
    if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__PythonDecorator.stringdata0))
175
        return static_cast<void*>(this);
176
    return QObject::qt_metacast(_clname);
177
}
178
179
int gepetto::gui::PythonDecorator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
180
{
181
    _id = QObject::qt_metacall(_c, _id, _a);
182
    if (_id < 0)
183
        return _id;
184
    if (_c == QMetaObject::InvokeMetaMethod) {
185
        if (_id < 6)
186
            qt_static_metacall(this, _c, _id, _a);
187
        _id -= 6;
188
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
189
        if (_id < 6)
190
            qt_static_metacall(this, _c, _id, _a);
191
        _id -= 6;
192
    }
193
    return _id;
194
}
195
QT_WARNING_POP
196
QT_END_MOC_NAMESPACE