Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'guibackend.hpp'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "../../../../../src/tools/qt-gui/src/guibackend.hpp"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 'guibackend.hpp' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.7.1. 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 : struct qt_meta_stringdata_GUIBackend_t {
22 : QByteArrayData data[28];
23 : char stringdata0[313];
24 : };
25 : #define QT_MOC_LITERAL(idx, ofs, len) \
26 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27 : qptrdiff(offsetof(qt_meta_stringdata_GUIBackend_t, stringdata0) + ofs \
28 : - idx * sizeof(QByteArrayData)) \
29 : )
30 : static const qt_meta_stringdata_GUIBackend_t qt_meta_stringdata_GUIBackend = {
31 : {
32 : QT_MOC_LITERAL(0, 0, 10), // "GUIBackend"
33 : QT_MOC_LITERAL(1, 11, 11), // "showMessage"
34 : QT_MOC_LITERAL(2, 23, 0), // ""
35 : QT_MOC_LITERAL(3, 24, 5), // "title"
36 : QT_MOC_LITERAL(4, 30, 4), // "text"
37 : QT_MOC_LITERAL(5, 35, 12), // "detailedText"
38 : QT_MOC_LITERAL(6, 48, 13), // "createBackend"
39 : QT_MOC_LITERAL(7, 62, 10), // "mountpoint"
40 : QT_MOC_LITERAL(8, 73, 7), // "addPath"
41 : QT_MOC_LITERAL(9, 81, 4), // "path"
42 : QT_MOC_LITERAL(10, 86, 9), // "addPlugin"
43 : QT_MOC_LITERAL(11, 96, 6), // "plugin"
44 : QT_MOC_LITERAL(12, 103, 11), // "recommended"
45 : QT_MOC_LITERAL(13, 115, 12), // "removePlugin"
46 : QT_MOC_LITERAL(14, 128, 10), // "pluginInfo"
47 : QT_MOC_LITERAL(15, 139, 11), // "mountPoints"
48 : QT_MOC_LITERAL(16, 151, 16), // "availablePlugins"
49 : QT_MOC_LITERAL(17, 168, 14), // "includeStorage"
50 : QT_MOC_LITERAL(18, 183, 15), // "includeResolver"
51 : QT_MOC_LITERAL(19, 199, 11), // "nameFilters"
52 : QT_MOC_LITERAL(20, 211, 9), // "serialise"
53 : QT_MOC_LITERAL(21, 221, 14), // "TreeViewModel*"
54 : QT_MOC_LITERAL(22, 236, 5), // "model"
55 : QT_MOC_LITERAL(23, 242, 9), // "validated"
56 : QT_MOC_LITERAL(24, 252, 17), // "pluginConfigModel"
57 : QT_MOC_LITERAL(25, 270, 12), // "addedPlugins"
58 : QT_MOC_LITERAL(26, 283, 18), // "pluginAlreadyAdded"
59 : QT_MOC_LITERAL(27, 302, 10) // "pluginType"
60 :
61 : },
62 : "GUIBackend\0showMessage\0\0title\0text\0"
63 : "detailedText\0createBackend\0mountpoint\0"
64 : "addPath\0path\0addPlugin\0plugin\0recommended\0"
65 : "removePlugin\0pluginInfo\0mountPoints\0"
66 : "availablePlugins\0includeStorage\0"
67 : "includeResolver\0nameFilters\0serialise\0"
68 : "TreeViewModel*\0model\0validated\0"
69 : "pluginConfigModel\0addedPlugins\0"
70 : "pluginAlreadyAdded\0pluginType"
71 : };
72 : #undef QT_MOC_LITERAL
73 :
74 : static const uint qt_meta_data_GUIBackend[] = {
75 :
76 : // content:
77 : 7, // revision
78 : 0, // classname
79 : 0, 0, // classinfo
80 : 15, 14, // methods
81 : 0, 0, // properties
82 : 0, 0, // enums/sets
83 : 0, 0, // constructors
84 : 0, // flags
85 : 1, // signalCount
86 :
87 : // signals: name, argc, parameters, tag, flags
88 : 1, 3, 89, 2, 0x06 /* Public */,
89 :
90 : // methods: name, argc, parameters, tag, flags
91 : 6, 1, 96, 2, 0x02 /* Public */,
92 : 8, 1, 99, 2, 0x02 /* Public */,
93 : 10, 2, 102, 2, 0x02 /* Public */,
94 : 13, 1, 107, 2, 0x02 /* Public */,
95 : 14, 1, 110, 2, 0x02 /* Public */,
96 : 15, 0, 113, 2, 0x02 /* Public */,
97 : 16, 2, 114, 2, 0x02 /* Public */,
98 : 19, 0, 119, 2, 0x02 /* Public */,
99 : 20, 1, 120, 2, 0x02 /* Public */,
100 : 23, 0, 123, 2, 0x02 /* Public */,
101 : 24, 0, 124, 2, 0x02 /* Public */,
102 : 25, 0, 125, 2, 0x02 /* Public */,
103 : 26, 1, 126, 2, 0x02 /* Public */,
104 : 27, 1, 129, 2, 0x02 /* Public */,
105 :
106 : // signals: parameters
107 : QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, 3, 4, 5,
108 :
109 : // methods: parameters
110 : QMetaType::Void, QMetaType::QString, 7,
111 : QMetaType::Void, QMetaType::QString, 9,
112 : QMetaType::Void, QMetaType::QString, QMetaType::Bool, 11, 12,
113 : QMetaType::Void, QMetaType::QString, 11,
114 : QMetaType::QString, QMetaType::QString, 11,
115 : QMetaType::QString,
116 : QMetaType::QStringList, QMetaType::Bool, QMetaType::Bool, 17, 18,
117 : QMetaType::QStringList,
118 : QMetaType::Void, 0x80000000 | 21, 22,
119 : QMetaType::Bool,
120 : 0x80000000 | 21,
121 : QMetaType::QStringList,
122 : QMetaType::Bool, QMetaType::QString, 11,
123 : QMetaType::QString, QMetaType::QString, 11,
124 :
125 : 0 // eod
126 : };
127 :
128 0 : void GUIBackend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
129 : {
130 0 : if (_c == QMetaObject::InvokeMetaMethod) {
131 0 : GUIBackend *_t = static_cast<GUIBackend *>(_o);
132 : Q_UNUSED(_t)
133 0 : switch (_id) {
134 0 : case 0: _t->showMessage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
135 0 : case 1: _t->createBackend((*reinterpret_cast< const QString(*)>(_a[1]))); break;
136 0 : case 2: _t->addPath((*reinterpret_cast< const QString(*)>(_a[1]))); break;
137 0 : case 3: _t->addPlugin((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
138 0 : case 4: _t->removePlugin((*reinterpret_cast< QString(*)>(_a[1]))); break;
139 0 : case 5: { QString _r = _t->pluginInfo((*reinterpret_cast< QString(*)>(_a[1])));
140 0 : if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
141 0 : case 6: { QString _r = _t->mountPoints();
142 0 : if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
143 0 : case 7: { QStringList _r = _t->availablePlugins((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
144 0 : if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; } break;
145 0 : case 8: { QStringList _r = _t->nameFilters();
146 0 : if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; } break;
147 0 : case 9: _t->serialise((*reinterpret_cast< TreeViewModel*(*)>(_a[1]))); break;
148 0 : case 10: { bool _r = _t->validated();
149 0 : if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
150 0 : case 11: { TreeViewModel* _r = _t->pluginConfigModel();
151 0 : if (_a[0]) *reinterpret_cast< TreeViewModel**>(_a[0]) = _r; } break;
152 0 : case 12: { QStringList _r = _t->addedPlugins();
153 0 : if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; } break;
154 0 : case 13: { bool _r = _t->pluginAlreadyAdded((*reinterpret_cast< QString(*)>(_a[1])));
155 0 : if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
156 0 : case 14: { QString _r = _t->pluginType((*reinterpret_cast< QString(*)>(_a[1])));
157 0 : if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
158 : default: ;
159 : }
160 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
161 0 : switch (_id) {
162 0 : default: *reinterpret_cast<int*>(_a[0]) = -1; break;
163 : case 9:
164 0 : switch (*reinterpret_cast<int*>(_a[1])) {
165 0 : default: *reinterpret_cast<int*>(_a[0]) = -1; break;
166 : case 0:
167 0 : *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TreeViewModel* >(); break;
168 : }
169 : break;
170 : }
171 0 : } else if (_c == QMetaObject::IndexOfMethod) {
172 0 : int *result = reinterpret_cast<int *>(_a[0]);
173 0 : void **func = reinterpret_cast<void **>(_a[1]);
174 : {
175 : typedef void (GUIBackend::*_t)(QString , QString , QString ) const;
176 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GUIBackend::showMessage)) {
177 0 : *result = 0;
178 0 : return;
179 : }
180 : }
181 : }
182 : }
183 :
184 : const QMetaObject GUIBackend::staticMetaObject = {
185 : { &QObject::staticMetaObject, qt_meta_stringdata_GUIBackend.data,
186 : qt_meta_data_GUIBackend, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
187 : };
188 :
189 :
190 0 : const QMetaObject *GUIBackend::metaObject() const
191 : {
192 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
193 : }
194 :
195 0 : void *GUIBackend::qt_metacast(const char *_clname)
196 : {
197 0 : if (!_clname) return Q_NULLPTR;
198 0 : if (!strcmp(_clname, qt_meta_stringdata_GUIBackend.stringdata0))
199 : return static_cast<void*>(const_cast< GUIBackend*>(this));
200 0 : return QObject::qt_metacast(_clname);
201 : }
202 :
203 0 : int GUIBackend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
204 : {
205 0 : _id = QObject::qt_metacall(_c, _id, _a);
206 0 : if (_id < 0)
207 : return _id;
208 0 : if (_c == QMetaObject::InvokeMetaMethod) {
209 0 : if (_id < 15)
210 0 : qt_static_metacall(this, _c, _id, _a);
211 0 : _id -= 15;
212 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
213 0 : if (_id < 15)
214 0 : qt_static_metacall(this, _c, _id, _a);
215 0 : _id -= 15;
216 : }
217 : return _id;
218 : }
219 :
220 : // SIGNAL 0
221 0 : void GUIBackend::showMessage(QString _t1, QString _t2, QString _t3)const
222 : {
223 0 : void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
224 0 : QMetaObject::activate(const_cast< GUIBackend *>(this), &staticMetaObject, 0, _a);
225 0 : }
226 : QT_END_MOC_NAMESPACE
|