Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'optionsdialog.h'
3 : **
4 : **
5 : ** WARNING! All changes made in this file will be lost!
6 : *****************************************************************************/
7 :
8 : #include <memory>
9 : #include "qt/optionsdialog.h"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 'optionsdialog.h' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.15.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_ProxyAddressValidator_t {
24 : QByteArrayData data[1];
25 : char stringdata0[22];
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_ProxyAddressValidator_t, stringdata0) + ofs \
30 : - idx * sizeof(QByteArrayData)) \
31 : )
32 : static const qt_meta_stringdata_ProxyAddressValidator_t qt_meta_stringdata_ProxyAddressValidator = {
33 : {
34 : QT_MOC_LITERAL(0, 0, 21) // "ProxyAddressValidator"
35 :
36 : },
37 : "ProxyAddressValidator"
38 : };
39 : #undef QT_MOC_LITERAL
40 :
41 : static const uint qt_meta_data_ProxyAddressValidator[] = {
42 :
43 : // content:
44 : 8, // revision
45 : 0, // classname
46 : 0, 0, // classinfo
47 : 0, 0, // methods
48 : 0, 0, // properties
49 : 0, 0, // enums/sets
50 : 0, 0, // constructors
51 : 0, // flags
52 : 0, // signalCount
53 :
54 : 0 // eod
55 : };
56 :
57 0 : void ProxyAddressValidator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
58 : {
59 : Q_UNUSED(_o);
60 : Q_UNUSED(_id);
61 : Q_UNUSED(_c);
62 : Q_UNUSED(_a);
63 0 : }
64 :
65 : QT_INIT_METAOBJECT const QMetaObject ProxyAddressValidator::staticMetaObject = { {
66 : QMetaObject::SuperData::link<QValidator::staticMetaObject>(),
67 : qt_meta_stringdata_ProxyAddressValidator.data,
68 : qt_meta_data_ProxyAddressValidator,
69 : qt_static_metacall,
70 : nullptr,
71 : nullptr
72 : } };
73 :
74 :
75 0 : const QMetaObject *ProxyAddressValidator::metaObject() const
76 : {
77 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
78 : }
79 :
80 0 : void *ProxyAddressValidator::qt_metacast(const char *_clname)
81 : {
82 0 : if (!_clname) return nullptr;
83 0 : if (!strcmp(_clname, qt_meta_stringdata_ProxyAddressValidator.stringdata0))
84 0 : return static_cast<void*>(this);
85 0 : return QValidator::qt_metacast(_clname);
86 0 : }
87 :
88 0 : int ProxyAddressValidator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
89 : {
90 0 : _id = QValidator::qt_metacall(_c, _id, _a);
91 0 : return _id;
92 : }
93 : struct qt_meta_stringdata_OptionsDialog_t {
94 : QByteArrayData data[20];
95 : char stringdata0[349];
96 : };
97 : #define QT_MOC_LITERAL(idx, ofs, len) \
98 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
99 : qptrdiff(offsetof(qt_meta_stringdata_OptionsDialog_t, stringdata0) + ofs \
100 : - idx * sizeof(QByteArrayData)) \
101 : )
102 : static const qt_meta_stringdata_OptionsDialog_t qt_meta_stringdata_OptionsDialog = {
103 : {
104 : QT_MOC_LITERAL(0, 0, 13), // "OptionsDialog"
105 : QT_MOC_LITERAL(1, 14, 13), // "proxyIpChecks"
106 : QT_MOC_LITERAL(2, 28, 0), // ""
107 : QT_MOC_LITERAL(3, 29, 19), // "QValidatedLineEdit*"
108 : QT_MOC_LITERAL(4, 49, 10), // "pUiProxyIp"
109 : QT_MOC_LITERAL(5, 60, 10), // "nProxyPort"
110 : QT_MOC_LITERAL(6, 71, 16), // "setOkButtonState"
111 : QT_MOC_LITERAL(7, 88, 6), // "fState"
112 : QT_MOC_LITERAL(8, 95, 22), // "on_resetButton_clicked"
113 : QT_MOC_LITERAL(9, 118, 32), // "on_openBitcoinConfButton_clicked"
114 : QT_MOC_LITERAL(10, 151, 19), // "on_okButton_clicked"
115 : QT_MOC_LITERAL(11, 171, 23), // "on_cancelButton_clicked"
116 : QT_MOC_LITERAL(12, 195, 28), // "on_hideTrayIcon_stateChanged"
117 : QT_MOC_LITERAL(13, 224, 18), // "togglePruneWarning"
118 : QT_MOC_LITERAL(14, 243, 7), // "enabled"
119 : QT_MOC_LITERAL(15, 251, 18), // "showRestartWarning"
120 : QT_MOC_LITERAL(16, 270, 11), // "fPersistent"
121 : QT_MOC_LITERAL(17, 282, 16), // "clearStatusLabel"
122 : QT_MOC_LITERAL(18, 299, 26), // "updateProxyValidationState"
123 : QT_MOC_LITERAL(19, 326, 22) // "updateDefaultProxyNets"
124 :
125 : },
126 : "OptionsDialog\0proxyIpChecks\0\0"
127 : "QValidatedLineEdit*\0pUiProxyIp\0"
128 : "nProxyPort\0setOkButtonState\0fState\0"
129 : "on_resetButton_clicked\0"
130 : "on_openBitcoinConfButton_clicked\0"
131 : "on_okButton_clicked\0on_cancelButton_clicked\0"
132 : "on_hideTrayIcon_stateChanged\0"
133 : "togglePruneWarning\0enabled\0"
134 : "showRestartWarning\0fPersistent\0"
135 : "clearStatusLabel\0updateProxyValidationState\0"
136 : "updateDefaultProxyNets"
137 : };
138 : #undef QT_MOC_LITERAL
139 :
140 : static const uint qt_meta_data_OptionsDialog[] = {
141 :
142 : // content:
143 : 8, // revision
144 : 0, // classname
145 : 0, 0, // classinfo
146 : 13, 14, // methods
147 : 0, 0, // properties
148 : 0, 0, // enums/sets
149 : 0, 0, // constructors
150 : 0, // flags
151 : 1, // signalCount
152 :
153 : // signals: name, argc, parameters, tag, flags
154 : 1, 2, 79, 2, 0x06 /* Public */,
155 :
156 : // slots: name, argc, parameters, tag, flags
157 : 6, 1, 84, 2, 0x08 /* Private */,
158 : 8, 0, 87, 2, 0x08 /* Private */,
159 : 9, 0, 88, 2, 0x08 /* Private */,
160 : 10, 0, 89, 2, 0x08 /* Private */,
161 : 11, 0, 90, 2, 0x08 /* Private */,
162 : 12, 1, 91, 2, 0x08 /* Private */,
163 : 13, 1, 94, 2, 0x08 /* Private */,
164 : 15, 1, 97, 2, 0x08 /* Private */,
165 : 15, 0, 100, 2, 0x28 /* Private | MethodCloned */,
166 : 17, 0, 101, 2, 0x08 /* Private */,
167 : 18, 0, 102, 2, 0x08 /* Private */,
168 : 19, 0, 103, 2, 0x08 /* Private */,
169 :
170 : // signals: parameters
171 : QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
172 :
173 : // slots: parameters
174 : QMetaType::Void, QMetaType::Bool, 7,
175 : QMetaType::Void,
176 : QMetaType::Void,
177 : QMetaType::Void,
178 : QMetaType::Void,
179 : QMetaType::Void, QMetaType::Int, 7,
180 : QMetaType::Void, QMetaType::Bool, 14,
181 : QMetaType::Void, QMetaType::Bool, 16,
182 : QMetaType::Void,
183 : QMetaType::Void,
184 : QMetaType::Void,
185 : QMetaType::Void,
186 :
187 : 0 // eod
188 : };
189 :
190 0 : void OptionsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
191 : {
192 0 : if (_c == QMetaObject::InvokeMetaMethod) {
193 0 : auto *_t = static_cast<OptionsDialog *>(_o);
194 : Q_UNUSED(_t)
195 0 : switch (_id) {
196 0 : case 0: _t->proxyIpChecks((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
197 0 : case 1: _t->setOkButtonState((*reinterpret_cast< bool(*)>(_a[1]))); break;
198 0 : case 2: _t->on_resetButton_clicked(); break;
199 0 : case 3: _t->on_openBitcoinConfButton_clicked(); break;
200 0 : case 4: _t->on_okButton_clicked(); break;
201 0 : case 5: _t->on_cancelButton_clicked(); break;
202 0 : case 6: _t->on_hideTrayIcon_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
203 0 : case 7: _t->togglePruneWarning((*reinterpret_cast< bool(*)>(_a[1]))); break;
204 0 : case 8: _t->showRestartWarning((*reinterpret_cast< bool(*)>(_a[1]))); break;
205 0 : case 9: _t->showRestartWarning(); break;
206 0 : case 10: _t->clearStatusLabel(); break;
207 0 : case 11: _t->updateProxyValidationState(); break;
208 0 : case 12: _t->updateDefaultProxyNets(); break;
209 : default: ;
210 : }
211 0 : } else if (_c == QMetaObject::IndexOfMethod) {
212 0 : int *result = reinterpret_cast<int *>(_a[0]);
213 : {
214 : using _t = void (OptionsDialog::*)(QValidatedLineEdit * , int );
215 0 : if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OptionsDialog::proxyIpChecks)) {
216 0 : *result = 0;
217 0 : return;
218 : }
219 : }
220 0 : }
221 0 : }
222 :
223 : QT_INIT_METAOBJECT const QMetaObject OptionsDialog::staticMetaObject = { {
224 : QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
225 : qt_meta_stringdata_OptionsDialog.data,
226 : qt_meta_data_OptionsDialog,
227 : qt_static_metacall,
228 : nullptr,
229 : nullptr
230 : } };
231 :
232 :
233 0 : const QMetaObject *OptionsDialog::metaObject() const
234 : {
235 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
236 : }
237 :
238 0 : void *OptionsDialog::qt_metacast(const char *_clname)
239 : {
240 0 : if (!_clname) return nullptr;
241 0 : if (!strcmp(_clname, qt_meta_stringdata_OptionsDialog.stringdata0))
242 0 : return static_cast<void*>(this);
243 0 : return QDialog::qt_metacast(_clname);
244 0 : }
245 :
246 0 : int OptionsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
247 : {
248 0 : _id = QDialog::qt_metacall(_c, _id, _a);
249 0 : if (_id < 0)
250 0 : return _id;
251 0 : if (_c == QMetaObject::InvokeMetaMethod) {
252 0 : if (_id < 13)
253 0 : qt_static_metacall(this, _c, _id, _a);
254 0 : _id -= 13;
255 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
256 0 : if (_id < 13)
257 0 : *reinterpret_cast<int*>(_a[0]) = -1;
258 0 : _id -= 13;
259 0 : }
260 0 : return _id;
261 0 : }
262 :
263 : // SIGNAL 0
264 0 : void OptionsDialog::proxyIpChecks(QValidatedLineEdit * _t1, int _t2)
265 : {
266 0 : void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
267 0 : QMetaObject::activate(this, &staticMetaObject, 0, _a);
268 0 : }
269 : QT_WARNING_POP
270 : QT_END_MOC_NAMESPACE
|