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

Subversion Repositories riscv_vhdl

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 sergeykhbr
/****************************************************************************
2
** Meta object code from reading C++ file 'UartEditor.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 'UartEditor.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__UartEditor_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__UartEditor_t, stringdata0) + ofs \
27
        - idx * sizeof(QByteArrayData)) \
28
    )
29
static const qt_meta_stringdata_debugger__UartEditor_t qt_meta_stringdata_debugger__UartEditor = {
30
    {
31
QT_MOC_LITERAL(0, 0, 20), // "debugger::UartEditor"
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, 13), // "signalNewData"
37
QT_MOC_LITERAL(6, 72, 12), // "slotPostInit"
38
QT_MOC_LITERAL(7, 85, 14), // "AttributeType*"
39
QT_MOC_LITERAL(8, 100, 3), // "cfg"
40
QT_MOC_LITERAL(9, 104, 16) // "slotUpdateByData"
41
 
42
    },
43
    "debugger::UartEditor\0signalClose\0\0"
44
    "QWidget*\0AttributeType&\0signalNewData\0"
45
    "slotPostInit\0AttributeType*\0cfg\0"
46
    "slotUpdateByData"
47
};
48
#undef QT_MOC_LITERAL
49
 
50
static const uint qt_meta_data_debugger__UartEditor[] = {
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
       2,       // signalCount
62
 
63
 // signals: name, argc, parameters, tag, flags
64
       1,    2,   34,    2, 0x06 /* Public */,
65
       5,    0,   39,    2, 0x06 /* Public */,
66
 
67
 // slots: name, argc, parameters, tag, flags
68
       6,    1,   40,    2, 0x08 /* Private */,
69
       9,    0,   43,    2, 0x08 /* Private */,
70
 
71
 // signals: parameters
72
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4,    2,    2,
73
    QMetaType::Void,
74
 
75
 // slots: parameters
76
    QMetaType::Void, 0x80000000 | 7,    8,
77
    QMetaType::Void,
78
 
79
 
80
};
81
 
82
void debugger::UartEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83
{
84
    if (_c == QMetaObject::InvokeMetaMethod) {
85
        UartEditor *_t = static_cast<UartEditor *>(_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->signalNewData(); break;
90
        case 2: _t->slotPostInit((*reinterpret_cast< AttributeType*(*)>(_a[1]))); break;
91
        case 3: _t->slotUpdateByData(); 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 (UartEditor::*_t)(QWidget * , AttributeType & );
99
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&UartEditor::signalClose)) {
100
                *result = 0;
101
                return;
102
            }
103
        }
104
        {
105
            typedef void (UartEditor::*_t)();
106
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&UartEditor::signalNewData)) {
107
                *result = 1;
108
                return;
109
            }
110
        }
111
    }
112
}
113
 
114
const QMetaObject debugger::UartEditor::staticMetaObject = {
115
    { &QPlainTextEdit::staticMetaObject, qt_meta_stringdata_debugger__UartEditor.data,
116
      qt_meta_data_debugger__UartEditor,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
117
};
118
 
119
 
120
const QMetaObject *debugger::UartEditor::metaObject() const
121
{
122
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
123
}
124
 
125
void *debugger::UartEditor::qt_metacast(const char *_clname)
126
{
127
    if (!_clname) return Q_NULLPTR;
128
    if (!strcmp(_clname, qt_meta_stringdata_debugger__UartEditor.stringdata0))
129
        return static_cast<void*>(const_cast< UartEditor*>(this));
130
    if (!strcmp(_clname, "IRawListener"))
131
        return static_cast< IRawListener*>(const_cast< UartEditor*>(this));
132
    return QPlainTextEdit::qt_metacast(_clname);
133
}
134
 
135
int debugger::UartEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
136
{
137
    _id = QPlainTextEdit::qt_metacall(_c, _id, _a);
138
    if (_id < 0)
139
        return _id;
140
    if (_c == QMetaObject::InvokeMetaMethod) {
141
        if (_id < 4)
142
            qt_static_metacall(this, _c, _id, _a);
143
        _id -= 4;
144
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
145
        if (_id < 4)
146
            *reinterpret_cast<int*>(_a[0]) = -1;
147
        _id -= 4;
148
    }
149
    return _id;
150
}
151
 
152
// SIGNAL 0
153
void debugger::UartEditor::signalClose(QWidget * _t1, AttributeType & _t2)
154
{
155
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
156
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
157
}
158
 
159
// SIGNAL 1
160
void debugger::UartEditor::signalNewData()
161
{
162
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
163
}
164
QT_END_MOC_NAMESPACE

powered by: WebSVN 2.1.0

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