OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [gui_plugin/] [PeriphWidgets/] [moc_GpioWidget.h] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 sergeykhbr
/****************************************************************************
2
** Meta object code from reading C++ file 'GpioWidget.h'
3
**
4
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
5
**
6
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
8
 
9
#include <QtCore/qbytearray.h>
10
#include <QtCore/qmetatype.h>
11
#if !defined(Q_MOC_OUTPUT_REVISION)
12
#error "The header file 'GpioWidget.h' doesn't include <QObject>."
13
#elif Q_MOC_OUTPUT_REVISION != 67
14
#error "This file was generated using the moc from 5.7.0. It"
15
#error "cannot be used with the include files from this version of Qt."
16
#error "(The moc has changed too much.)"
17
#endif
18
 
19
QT_BEGIN_MOC_NAMESPACE
20
struct qt_meta_stringdata_debugger__GpioWidget_t {
21
    QByteArrayData data[10];
22
    char stringdata0[121];
23
};
24
#define QT_MOC_LITERAL(idx, ofs, len) \
25
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26
    qptrdiff(offsetof(qt_meta_stringdata_debugger__GpioWidget_t, stringdata0) + ofs \
27
        - idx * sizeof(QByteArrayData)) \
28
    )
29
static const qt_meta_stringdata_debugger__GpioWidget_t qt_meta_stringdata_debugger__GpioWidget = {
30
    {
31
QT_MOC_LITERAL(0, 0, 20), // "debugger::GpioWidget"
32
QT_MOC_LITERAL(1, 21, 11), // "signalClose"
33
QT_MOC_LITERAL(2, 33, 0), // ""
34
QT_MOC_LITERAL(3, 34, 8), // "QWidget*"
35
QT_MOC_LITERAL(4, 43, 14), // "AttributeType&"
36
QT_MOC_LITERAL(5, 58, 14), // "signalLedValue"
37
QT_MOC_LITERAL(6, 73, 8), // "uint32_t"
38
QT_MOC_LITERAL(7, 82, 5), // "value"
39
QT_MOC_LITERAL(8, 88, 14), // "signalDipValue"
40
QT_MOC_LITERAL(9, 103, 17) // "slotUpdateByTimer"
41
 
42
    },
43
    "debugger::GpioWidget\0signalClose\0\0"
44
    "QWidget*\0AttributeType&\0signalLedValue\0"
45
    "uint32_t\0value\0signalDipValue\0"
46
    "slotUpdateByTimer"
47
};
48
#undef QT_MOC_LITERAL
49
 
50
static const uint qt_meta_data_debugger__GpioWidget[] = {
51
 
52
 // content:
53
       7,       // revision
54
       0,       // classname
55
       0,    0, // classinfo
56
       4,   14, // methods
57
       0,    0, // properties
58
       0,    0, // enums/sets
59
       0,    0, // constructors
60
       0,       // flags
61
       3,       // signalCount
62
 
63
 // signals: name, argc, parameters, tag, flags
64
       1,    2,   34,    2, 0x06 /* Public */,
65
       5,    1,   39,    2, 0x06 /* Public */,
66
       8,    1,   42,    2, 0x06 /* Public */,
67
 
68
 // slots: name, argc, parameters, tag, flags
69
       9,    0,   45,    2, 0x08 /* Private */,
70
 
71
 // signals: parameters
72
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4,    2,    2,
73
    QMetaType::Void, 0x80000000 | 6,    7,
74
    QMetaType::Void, 0x80000000 | 6,    7,
75
 
76
 // slots: parameters
77
    QMetaType::Void,
78
 
79
 
80
};
81
 
82
void debugger::GpioWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83
{
84
    if (_c == QMetaObject::InvokeMetaMethod) {
85
        GpioWidget *_t = static_cast<GpioWidget *>(_o);
86
        Q_UNUSED(_t)
87
        switch (_id) {
88
        case 0: _t->signalClose((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< AttributeType(*)>(_a[2]))); break;
89
        case 1: _t->signalLedValue((*reinterpret_cast< uint32_t(*)>(_a[1]))); break;
90
        case 2: _t->signalDipValue((*reinterpret_cast< uint32_t(*)>(_a[1]))); break;
91
        case 3: _t->slotUpdateByTimer(); break;
92
        default: ;
93
        }
94
    } else if (_c == QMetaObject::IndexOfMethod) {
95
        int *result = reinterpret_cast<int *>(_a[0]);
96
        void **func = reinterpret_cast<void **>(_a[1]);
97
        {
98
            typedef void (GpioWidget::*_t)(QWidget * , AttributeType & );
99
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GpioWidget::signalClose)) {
100
                *result = 0;
101
                return;
102
            }
103
        }
104
        {
105
            typedef void (GpioWidget::*_t)(uint32_t );
106
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GpioWidget::signalLedValue)) {
107
                *result = 1;
108
                return;
109
            }
110
        }
111
        {
112
            typedef void (GpioWidget::*_t)(uint32_t );
113
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GpioWidget::signalDipValue)) {
114
                *result = 2;
115
                return;
116
            }
117
        }
118
    }
119
}
120
 
121
const QMetaObject debugger::GpioWidget::staticMetaObject = {
122
    { &QWidget::staticMetaObject, qt_meta_stringdata_debugger__GpioWidget.data,
123
      qt_meta_data_debugger__GpioWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
124
};
125
 
126
 
127
const QMetaObject *debugger::GpioWidget::metaObject() const
128
{
129
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
130
}
131
 
132
void *debugger::GpioWidget::qt_metacast(const char *_clname)
133
{
134
    if (!_clname) return Q_NULLPTR;
135
    if (!strcmp(_clname, qt_meta_stringdata_debugger__GpioWidget.stringdata0))
136
        return static_cast<void*>(const_cast< GpioWidget*>(this));
137
    if (!strcmp(_clname, "IGuiCmdHandler"))
138
        return static_cast< IGuiCmdHandler*>(const_cast< GpioWidget*>(this));
139
    return QWidget::qt_metacast(_clname);
140
}
141
 
142
int debugger::GpioWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
143
{
144
    _id = QWidget::qt_metacall(_c, _id, _a);
145
    if (_id < 0)
146
        return _id;
147
    if (_c == QMetaObject::InvokeMetaMethod) {
148
        if (_id < 4)
149
            qt_static_metacall(this, _c, _id, _a);
150
        _id -= 4;
151
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
152
        if (_id < 4)
153
            *reinterpret_cast<int*>(_a[0]) = -1;
154
        _id -= 4;
155
    }
156
    return _id;
157
}
158
 
159
// SIGNAL 0
160
void debugger::GpioWidget::signalClose(QWidget * _t1, AttributeType & _t2)
161
{
162
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
163
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
164
}
165
 
166
// SIGNAL 1
167
void debugger::GpioWidget::signalLedValue(uint32_t _t1)
168
{
169
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
170
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
171
}
172
 
173
// SIGNAL 2
174
void debugger::GpioWidget::signalDipValue(uint32_t _t1)
175
{
176
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
177
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
178
}
179
struct qt_meta_stringdata_debugger__GpioQMdiSubWindow_t {
180
    QByteArrayData data[1];
181
    char stringdata0[28];
182
};
183
#define QT_MOC_LITERAL(idx, ofs, len) \
184
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
185
    qptrdiff(offsetof(qt_meta_stringdata_debugger__GpioQMdiSubWindow_t, stringdata0) + ofs \
186
        - idx * sizeof(QByteArrayData)) \
187
    )
188
static const qt_meta_stringdata_debugger__GpioQMdiSubWindow_t qt_meta_stringdata_debugger__GpioQMdiSubWindow = {
189
    {
190
QT_MOC_LITERAL(0, 0, 27) // "debugger::GpioQMdiSubWindow"
191
 
192
    },
193
    "debugger::GpioQMdiSubWindow"
194
};
195
#undef QT_MOC_LITERAL
196
 
197
static const uint qt_meta_data_debugger__GpioQMdiSubWindow[] = {
198
 
199
 // content:
200
       7,       // revision
201
       0,       // classname
202
       0,    0, // classinfo
203
       0,    0, // methods
204
       0,    0, // properties
205
       0,    0, // enums/sets
206
       0,    0, // constructors
207
       0,       // flags
208
       0,       // signalCount
209
 
210
 
211
};
212
 
213
void debugger::GpioQMdiSubWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
214
{
215
    Q_UNUSED(_o);
216
    Q_UNUSED(_id);
217
    Q_UNUSED(_c);
218
    Q_UNUSED(_a);
219
}
220
 
221
const QMetaObject debugger::GpioQMdiSubWindow::staticMetaObject = {
222
    { &QMdiSubWindow::staticMetaObject, qt_meta_stringdata_debugger__GpioQMdiSubWindow.data,
223
      qt_meta_data_debugger__GpioQMdiSubWindow,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
224
};
225
 
226
 
227
const QMetaObject *debugger::GpioQMdiSubWindow::metaObject() const
228
{
229
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
230
}
231
 
232
void *debugger::GpioQMdiSubWindow::qt_metacast(const char *_clname)
233
{
234
    if (!_clname) return Q_NULLPTR;
235
    if (!strcmp(_clname, qt_meta_stringdata_debugger__GpioQMdiSubWindow.stringdata0))
236
        return static_cast<void*>(const_cast< GpioQMdiSubWindow*>(this));
237
    return QMdiSubWindow::qt_metacast(_clname);
238
}
239
 
240
int debugger::GpioQMdiSubWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
241
{
242
    _id = QMdiSubWindow::qt_metacall(_c, _id, _a);
243
    if (_id < 0)
244
        return _id;
245
    return _id;
246
}
247
QT_END_MOC_NAMESPACE

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.