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 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 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[7];
22
    char stringdata0[89];
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, 16) // "slotUpdateByData"
38
 
39
    },
40
    "debugger::UartEditor\0signalClose\0\0"
41
    "QWidget*\0AttributeType&\0signalNewData\0"
42
    "slotUpdateByData"
43
};
44
#undef QT_MOC_LITERAL
45
 
46
static const uint qt_meta_data_debugger__UartEditor[] = {
47
 
48
 // content:
49
       7,       // revision
50
       0,       // classname
51
       0,    0, // classinfo
52
       3,   14, // methods
53
       0,    0, // properties
54
       0,    0, // enums/sets
55
       0,    0, // constructors
56
       0,       // flags
57
       2,       // signalCount
58
 
59
 // signals: name, argc, parameters, tag, flags
60
       1,    2,   29,    2, 0x06 /* Public */,
61
       5,    0,   34,    2, 0x06 /* Public */,
62
 
63
 // slots: name, argc, parameters, tag, flags
64
       6,    0,   35,    2, 0x08 /* Private */,
65
 
66
 // signals: parameters
67
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4,    2,    2,
68
    QMetaType::Void,
69
 
70
 // slots: parameters
71
    QMetaType::Void,
72
 
73
 
74
};
75
 
76
void debugger::UartEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77
{
78
    if (_c == QMetaObject::InvokeMetaMethod) {
79
        UartEditor *_t = static_cast<UartEditor *>(_o);
80
        Q_UNUSED(_t)
81
        switch (_id) {
82
        case 0: _t->signalClose((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< AttributeType(*)>(_a[2]))); break;
83
        case 1: _t->signalNewData(); break;
84
        case 2: _t->slotUpdateByData(); break;
85
        default: ;
86
        }
87
    } else if (_c == QMetaObject::IndexOfMethod) {
88
        int *result = reinterpret_cast<int *>(_a[0]);
89
        void **func = reinterpret_cast<void **>(_a[1]);
90
        {
91
            typedef void (UartEditor::*_t)(QWidget * , AttributeType & );
92
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&UartEditor::signalClose)) {
93
                *result = 0;
94
                return;
95
            }
96
        }
97
        {
98
            typedef void (UartEditor::*_t)();
99
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&UartEditor::signalNewData)) {
100
                *result = 1;
101
                return;
102
            }
103
        }
104
    }
105
}
106
 
107
const QMetaObject debugger::UartEditor::staticMetaObject = {
108
    { &QPlainTextEdit::staticMetaObject, qt_meta_stringdata_debugger__UartEditor.data,
109
      qt_meta_data_debugger__UartEditor,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
110
};
111
 
112
 
113
const QMetaObject *debugger::UartEditor::metaObject() const
114
{
115
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
116
}
117
 
118
void *debugger::UartEditor::qt_metacast(const char *_clname)
119
{
120
    if (!_clname) return Q_NULLPTR;
121
    if (!strcmp(_clname, qt_meta_stringdata_debugger__UartEditor.stringdata0))
122
        return static_cast<void*>(const_cast< UartEditor*>(this));
123
    if (!strcmp(_clname, "IRawListener"))
124
        return static_cast< IRawListener*>(const_cast< UartEditor*>(this));
125
    return QPlainTextEdit::qt_metacast(_clname);
126
}
127
 
128
int debugger::UartEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
129
{
130
    _id = QPlainTextEdit::qt_metacall(_c, _id, _a);
131
    if (_id < 0)
132
        return _id;
133
    if (_c == QMetaObject::InvokeMetaMethod) {
134
        if (_id < 3)
135
            qt_static_metacall(this, _c, _id, _a);
136
        _id -= 3;
137
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
138
        if (_id < 3)
139
            *reinterpret_cast<int*>(_a[0]) = -1;
140
        _id -= 3;
141
    }
142
    return _id;
143
}
144
 
145
// SIGNAL 0
146
void debugger::UartEditor::signalClose(QWidget * _t1, AttributeType & _t2)
147
{
148
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
149
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
150
}
151
 
152
// SIGNAL 1
153
void debugger::UartEditor::signalNewData()
154
{
155
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
156
}
157
QT_END_MOC_NAMESPACE

powered by: WebSVN 2.1.0

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