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