GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: src/__/include/gepetto/gui/moc_pythonwidget.cpp Lines: 0 30 0.0 %
Date: 2024-04-14 11:13:22 Branches: 0 32 0.0 %

Line Branch Exec Source
1
/****************************************************************************
2
** Meta object code from reading C++ file 'pythonwidget.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 "../../../../../include/gepetto/gui/pythonwidget.hh"
10
#include <QtCore/qbytearray.h>
11
#include <QtCore/qmetatype.h>
12
#if !defined(Q_MOC_OUTPUT_REVISION)
13
#error "The header file 'pythonwidget.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__PythonWidget_t {
24
    QByteArrayData data[9];
25
    char stringdata0[122];
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__PythonWidget_t, stringdata0) + ofs \
30
        - idx * sizeof(QByteArrayData)) \
31
    )
32
static const qt_meta_stringdata_gepetto__gui__PythonWidget_t qt_meta_stringdata_gepetto__gui__PythonWidget = {
33
    {
34
QT_MOC_LITERAL(0, 0, 26), // "gepetto::gui::PythonWidget"
35
QT_MOC_LITERAL(1, 27, 16), // "loadModulePlugin"
36
QT_MOC_LITERAL(2, 44, 0), // ""
37
QT_MOC_LITERAL(3, 45, 10), // "moduleName"
38
QT_MOC_LITERAL(4, 56, 18), // "unloadModulePlugin"
39
QT_MOC_LITERAL(5, 75, 16), // "loadScriptPlugin"
40
QT_MOC_LITERAL(6, 92, 8), // "fileName"
41
QT_MOC_LITERAL(7, 101, 9), // "runScript"
42
QT_MOC_LITERAL(8, 111, 10) // "browseFile"
43
44
    },
45
    "gepetto::gui::PythonWidget\0loadModulePlugin\0"
46
    "\0moduleName\0unloadModulePlugin\0"
47
    "loadScriptPlugin\0fileName\0runScript\0"
48
    "browseFile"
49
};
50
#undef QT_MOC_LITERAL
51
52
static const uint qt_meta_data_gepetto__gui__PythonWidget[] = {
53
54
 // content:
55
       8,       // revision
56
       0,       // classname
57
       0,    0, // classinfo
58
       5,   14, // methods
59
       0,    0, // properties
60
       0,    0, // enums/sets
61
       0,    0, // constructors
62
       0,       // flags
63
       0,       // signalCount
64
65
 // slots: name, argc, parameters, tag, flags
66
       1,    1,   39,    2, 0x0a /* Public */,
67
       4,    1,   42,    2, 0x0a /* Public */,
68
       5,    2,   45,    2, 0x0a /* Public */,
69
       7,    1,   50,    2, 0x0a /* Public */,
70
       8,    0,   53,    2, 0x0a /* Public */,
71
72
 // slots: parameters
73
    QMetaType::Void, QMetaType::QString,    3,
74
    QMetaType::Void, QMetaType::QString,    3,
75
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    6,
76
    QMetaType::Void, QMetaType::QString,    6,
77
    QMetaType::Void,
78
79
       0        // eod
80
};
81
82
void gepetto::gui::PythonWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83
{
84
    if (_c == QMetaObject::InvokeMetaMethod) {
85
        auto *_t = static_cast<PythonWidget *>(_o);
86
        Q_UNUSED(_t)
87
        switch (_id) {
88
        case 0: _t->loadModulePlugin((*reinterpret_cast< QString(*)>(_a[1]))); break;
89
        case 1: _t->unloadModulePlugin((*reinterpret_cast< QString(*)>(_a[1]))); break;
90
        case 2: _t->loadScriptPlugin((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
91
        case 3: _t->runScript((*reinterpret_cast< QString(*)>(_a[1]))); break;
92
        case 4: _t->browseFile(); break;
93
        default: ;
94
        }
95
    }
96
}
97
98
QT_INIT_METAOBJECT const QMetaObject gepetto::gui::PythonWidget::staticMetaObject = { {
99
    &QDockWidget::staticMetaObject,
100
    qt_meta_stringdata_gepetto__gui__PythonWidget.data,
101
    qt_meta_data_gepetto__gui__PythonWidget,
102
    qt_static_metacall,
103
    nullptr,
104
    nullptr
105
} };
106
107
108
const QMetaObject *gepetto::gui::PythonWidget::metaObject() const
109
{
110
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
111
}
112
113
void *gepetto::gui::PythonWidget::qt_metacast(const char *_clname)
114
{
115
    if (!_clname) return nullptr;
116
    if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__PythonWidget.stringdata0))
117
        return static_cast<void*>(this);
118
    return QDockWidget::qt_metacast(_clname);
119
}
120
121
int gepetto::gui::PythonWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
122
{
123
    _id = QDockWidget::qt_metacall(_c, _id, _a);
124
    if (_id < 0)
125
        return _id;
126
    if (_c == QMetaObject::InvokeMetaMethod) {
127
        if (_id < 5)
128
            qt_static_metacall(this, _c, _id, _a);
129
        _id -= 5;
130
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
131
        if (_id < 5)
132
            *reinterpret_cast<int*>(_a[0]) = -1;
133
        _id -= 5;
134
    }
135
    return _id;
136
}
137
QT_WARNING_POP
138
QT_END_MOC_NAMESPACE