1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'LineNumberArea.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.7) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "../../../../../3rdparty/unioncode-GitQlient/src/diff/LineNumberArea.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'LineNumberArea.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 67 |
16 | #error "This file was generated using the moc from 5.15.7. It" |
17 | #error "cannot be used with the include files from this version of Qt." |
18 | #error "(The moc has changed too much.)" |
19 | #endif |
20 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_LineNumberArea_t { |
25 | QByteArrayData data[6]; |
26 | char stringdata0[49]; |
27 | }; |
28 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
30 | qptrdiff(offsetof(qt_meta_stringdata_LineNumberArea_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_LineNumberArea_t qt_meta_stringdata_LineNumberArea = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 14), // "LineNumberArea" |
36 | QT_MOC_LITERAL(1, 15, 10), // "gotoReview" |
37 | QT_MOC_LITERAL(2, 26, 0), // "" |
38 | QT_MOC_LITERAL(3, 27, 6), // "linkId" |
39 | QT_MOC_LITERAL(4, 34, 10), // "addComment" |
40 | QT_MOC_LITERAL(5, 45, 3) // "row" |
41 | |
42 | }, |
43 | "LineNumberArea\0gotoReview\0\0linkId\0" |
44 | "addComment\0row" |
45 | }; |
46 | #undef QT_MOC_LITERAL |
47 | |
48 | static const uint qt_meta_data_LineNumberArea[] = { |
49 | |
50 | // content: |
51 | 8, // revision |
52 | 0, // classname |
53 | 0, 0, // classinfo |
54 | 2, 14, // methods |
55 | 0, 0, // properties |
56 | 0, 0, // enums/sets |
57 | 0, 0, // constructors |
58 | 0, // flags |
59 | 2, // signalCount |
60 | |
61 | // signals: name, argc, parameters, tag, flags |
62 | 1, 1, 24, 2, 0x06 /* Public */, |
63 | 4, 1, 27, 2, 0x06 /* Public */, |
64 | |
65 | // signals: parameters |
66 | QMetaType::Void, QMetaType::Int, 3, |
67 | QMetaType::Void, QMetaType::Int, 5, |
68 | |
69 | 0 // eod |
70 | }; |
71 | |
72 | void LineNumberArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
73 | { |
74 | if (_c == QMetaObject::InvokeMetaMethod) { |
75 | auto *_t = static_cast<LineNumberArea *>(_o); |
76 | (void)_t; |
77 | switch (_id) { |
78 | case 0: _t->gotoReview((*reinterpret_cast< int(*)>(_a[1]))); break; |
79 | case 1: _t->addComment((*reinterpret_cast< int(*)>(_a[1]))); break; |
80 | default: ; |
81 | } |
82 | } else if (_c == QMetaObject::IndexOfMethod) { |
83 | int *result = reinterpret_cast<int *>(_a[0]); |
84 | { |
85 | using _t = void (LineNumberArea::*)(int ); |
86 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LineNumberArea::gotoReview)) { |
87 | *result = 0; |
88 | return; |
89 | } |
90 | } |
91 | { |
92 | using _t = void (LineNumberArea::*)(int ); |
93 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LineNumberArea::addComment)) { |
94 | *result = 1; |
95 | return; |
96 | } |
97 | } |
98 | } |
99 | } |
100 | |
101 | QT_INIT_METAOBJECT const QMetaObject LineNumberArea::staticMetaObject = { { |
102 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
103 | qt_meta_stringdata_LineNumberArea.data, |
104 | qt_meta_data_LineNumberArea, |
105 | qt_static_metacall, |
106 | nullptr, |
107 | nullptr |
108 | } }; |
109 | |
110 | |
111 | const QMetaObject *LineNumberArea::metaObject() const |
112 | { |
113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
114 | } |
115 | |
116 | void *LineNumberArea::qt_metacast(const char *_clname) |
117 | { |
118 | if (!_clname) return nullptr; |
119 | if (!strcmp(_clname, qt_meta_stringdata_LineNumberArea.stringdata0)) |
120 | return static_cast<void*>(this); |
121 | return QWidget::qt_metacast(_clname); |
122 | } |
123 | |
124 | int LineNumberArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
125 | { |
126 | _id = QWidget::qt_metacall(_c, _id, _a); |
127 | if (_id < 0) |
128 | return _id; |
129 | if (_c == QMetaObject::InvokeMetaMethod) { |
130 | if (_id < 2) |
131 | qt_static_metacall(this, _c, _id, _a); |
132 | _id -= 2; |
133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
134 | if (_id < 2) |
135 | *reinterpret_cast<int*>(_a[0]) = -1; |
136 | _id -= 2; |
137 | } |
138 | return _id; |
139 | } |
140 | |
141 | // SIGNAL 0 |
142 | void LineNumberArea::gotoReview(int _t1) |
143 | { |
144 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
145 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
146 | } |
147 | |
148 | // SIGNAL 1 |
149 | void LineNumberArea::(int _t1) |
150 | { |
151 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
152 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
153 | } |
154 | QT_WARNING_POP |
155 | QT_END_MOC_NAMESPACE |
156 | |