1 /****************************************************************************
2 ** Meta object code from reading C++ file 'sradiagnosticsview.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.0)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "../../../../sra-toolkit/diagnostics/sradiagnosticsview.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'sradiagnosticsview.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.10.0. 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_SRADiagnosticsView_t {
24     QByteArrayData data[8];
25     char stringdata0[111];
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_SRADiagnosticsView_t, stringdata0) + ofs \
30         - idx * sizeof(QByteArrayData)) \
31     )
32 static const qt_meta_stringdata_SRADiagnosticsView_t qt_meta_stringdata_SRADiagnosticsView = {
33     {
34 QT_MOC_LITERAL(0, 0, 18), // "SRADiagnosticsView"
35 QT_MOC_LITERAL(1, 19, 15), // "handle_callback"
36 QT_MOC_LITERAL(2, 35, 0), // ""
37 QT_MOC_LITERAL(3, 36, 16), // "DiagnosticsTest*"
38 QT_MOC_LITERAL(4, 53, 4), // "test"
39 QT_MOC_LITERAL(5, 58, 17), // "start_diagnostics"
40 QT_MOC_LITERAL(6, 76, 18), // "cancel_diagnostics"
41 QT_MOC_LITERAL(7, 95, 15) // "worker_finished"
42 
43     },
44     "SRADiagnosticsView\0handle_callback\0\0"
45     "DiagnosticsTest*\0test\0start_diagnostics\0"
46     "cancel_diagnostics\0worker_finished"
47 };
48 #undef QT_MOC_LITERAL
49 
50 static const uint qt_meta_data_SRADiagnosticsView[] = {
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        0,       // signalCount
62 
63  // slots: name, argc, parameters, tag, flags
64        1,    1,   34,    2, 0x0a /* Public */,
65        5,    0,   37,    2, 0x08 /* Private */,
66        6,    0,   38,    2, 0x08 /* Private */,
67        7,    0,   39,    2, 0x08 /* Private */,
68 
69  // slots: parameters
70     QMetaType::Void, 0x80000000 | 3,    4,
71     QMetaType::Void,
72     QMetaType::Void,
73     QMetaType::Void,
74 
75        0        // eod
76 };
77 
qt_static_metacall(QObject * _o,QMetaObject::Call _c,int _id,void ** _a)78 void SRADiagnosticsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79 {
80     if (_c == QMetaObject::InvokeMetaMethod) {
81         SRADiagnosticsView *_t = static_cast<SRADiagnosticsView *>(_o);
82         Q_UNUSED(_t)
83         switch (_id) {
84         case 0: _t->handle_callback((*reinterpret_cast< DiagnosticsTest*(*)>(_a[1]))); break;
85         case 1: _t->start_diagnostics(); break;
86         case 2: _t->cancel_diagnostics(); break;
87         case 3: _t->worker_finished(); break;
88         default: ;
89         }
90     }
91 }
92 
93 const QMetaObject SRADiagnosticsView::staticMetaObject = {
94     { &QWidget::staticMetaObject, qt_meta_stringdata_SRADiagnosticsView.data,
95       qt_meta_data_SRADiagnosticsView,  qt_static_metacall, nullptr, nullptr}
96 };
97 
98 
metaObject() const99 const QMetaObject *SRADiagnosticsView::metaObject() const
100 {
101     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
102 }
103 
qt_metacast(const char * _clname)104 void *SRADiagnosticsView::qt_metacast(const char *_clname)
105 {
106     if (!_clname) return nullptr;
107     if (!strcmp(_clname, qt_meta_stringdata_SRADiagnosticsView.stringdata0))
108         return static_cast<void*>(this);
109     return QWidget::qt_metacast(_clname);
110 }
111 
qt_metacall(QMetaObject::Call _c,int _id,void ** _a)112 int SRADiagnosticsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
113 {
114     _id = QWidget::qt_metacall(_c, _id, _a);
115     if (_id < 0)
116         return _id;
117     if (_c == QMetaObject::InvokeMetaMethod) {
118         if (_id < 4)
119             qt_static_metacall(this, _c, _id, _a);
120         _id -= 4;
121     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
122         if (_id < 4)
123             *reinterpret_cast<int*>(_a[0]) = -1;
124         _id -= 4;
125     }
126     return _id;
127 }
128 QT_WARNING_POP
129 QT_END_MOC_NAMESPACE
130