Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'deselectabletreeview.h'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "deselectabletreeview.h"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 'deselectabletreeview.h' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.11.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_DeselectableTreeView_t {
24 : QByteArrayData data[3];
25 : char stringdata0[35];
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_DeselectableTreeView_t, stringdata0) + ofs \
30 : - idx * sizeof(QByteArrayData)) \
31 : )
32 : static const qt_meta_stringdata_DeselectableTreeView_t qt_meta_stringdata_DeselectableTreeView = {
33 : {
34 : QT_MOC_LITERAL(0, 0, 20), // "DeselectableTreeView"
35 : QT_MOC_LITERAL(1, 21, 12), // "emptyClicked"
36 : QT_MOC_LITERAL(2, 34, 0) // ""
37 :
38 : },
39 : "DeselectableTreeView\0emptyClicked\0"
40 : };
41 : #undef QT_MOC_LITERAL
42 :
43 : static const uint qt_meta_data_DeselectableTreeView[] = {
44 :
45 : // content:
46 : 7, // revision
47 : 0, // classname
48 : 0, 0, // classinfo
49 : 1, 14, // methods
50 : 0, 0, // properties
51 : 0, 0, // enums/sets
52 : 0, 0, // constructors
53 : 0, // flags
54 : 1, // signalCount
55 :
56 : // signals: name, argc, parameters, tag, flags
57 : 1, 0, 19, 2, 0x06 /* Public */,
58 :
59 : // signals: parameters
60 : QMetaType::Void,
61 :
62 : 0 // eod
63 : };
64 :
65 0 : void DeselectableTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
66 : {
67 0 : if (_c == QMetaObject::InvokeMetaMethod) {
68 0 : DeselectableTreeView *_t = static_cast<DeselectableTreeView *>(_o);
69 : Q_UNUSED(_t)
70 0 : switch (_id) {
71 0 : case 0: _t->emptyClicked(); break;
72 : default: ;
73 : }
74 0 : } else if (_c == QMetaObject::IndexOfMethod) {
75 0 : int *result = reinterpret_cast<int *>(_a[0]);
76 : {
77 : using _t = void (DeselectableTreeView::*)();
78 0 : if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeselectableTreeView::emptyClicked)) {
79 0 : *result = 0;
80 0 : return;
81 : }
82 : }
83 0 : }
84 : Q_UNUSED(_a);
85 0 : }
86 :
87 : QT_INIT_METAOBJECT const QMetaObject DeselectableTreeView::staticMetaObject = {
88 : { &QTreeView::staticMetaObject, qt_meta_stringdata_DeselectableTreeView.data,
89 : qt_meta_data_DeselectableTreeView, qt_static_metacall, nullptr, nullptr}
90 : };
91 :
92 :
93 0 : const QMetaObject *DeselectableTreeView::metaObject() const
94 : {
95 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
96 : }
97 :
98 0 : void *DeselectableTreeView::qt_metacast(const char *_clname)
99 : {
100 0 : if (!_clname) return nullptr;
101 0 : if (!strcmp(_clname, qt_meta_stringdata_DeselectableTreeView.stringdata0))
102 0 : return static_cast<void*>(this);
103 0 : return QTreeView::qt_metacast(_clname);
104 0 : }
105 :
106 0 : int DeselectableTreeView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
107 : {
108 0 : _id = QTreeView::qt_metacall(_c, _id, _a);
109 0 : if (_id < 0)
110 0 : return _id;
111 0 : if (_c == QMetaObject::InvokeMetaMethod) {
112 0 : if (_id < 1)
113 0 : qt_static_metacall(this, _c, _id, _a);
114 0 : _id -= 1;
115 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116 0 : if (_id < 1)
117 0 : *reinterpret_cast<int*>(_a[0]) = -1;
118 0 : _id -= 1;
119 0 : }
120 0 : return _id;
121 0 : }
122 :
123 : // SIGNAL 0
124 0 : void DeselectableTreeView::emptyClicked()
125 : {
126 0 : QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
127 0 : }
128 : QT_WARNING_POP
129 : QT_END_MOC_NAMESPACE
|