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