Bitcoin Core  27.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.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
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.12.7. 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
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  )
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 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 }
64 
65 QT_INIT_METAOBJECT const QMetaObject ProxyAddressValidator::staticMetaObject = { {
66  &QValidator::staticMetaObject,
69  qt_static_metacall,
70  nullptr,
71  nullptr
72 } };
73 
74 
75 const QMetaObject *ProxyAddressValidator::metaObject() const
76 {
77  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
78 }
79 
80 void *ProxyAddressValidator::qt_metacast(const char *_clname)
81 {
82  if (!_clname) return nullptr;
84  return static_cast<void*>(this);
85  return QValidator::qt_metacast(_clname);
86 }
87 
88 int ProxyAddressValidator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
89 {
90  _id = QValidator::qt_metacall(_c, _id, _a);
91  return _id;
92 }
94  QByteArrayData data[23];
95  char stringdata0[376];
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  )
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, 8), // "uint16_t"
110 QT_MOC_LITERAL(6, 69, 10), // "nProxyPort"
111 QT_MOC_LITERAL(7, 80, 11), // "quitOnReset"
112 QT_MOC_LITERAL(8, 92, 16), // "setOkButtonState"
113 QT_MOC_LITERAL(9, 109, 6), // "fState"
114 QT_MOC_LITERAL(10, 116, 22), // "on_resetButton_clicked"
115 QT_MOC_LITERAL(11, 139, 32), // "on_openBitcoinConfButton_clicked"
116 QT_MOC_LITERAL(12, 172, 19), // "on_okButton_clicked"
117 QT_MOC_LITERAL(13, 192, 23), // "on_cancelButton_clicked"
118 QT_MOC_LITERAL(14, 216, 28), // "on_showTrayIcon_stateChanged"
119 QT_MOC_LITERAL(15, 245, 5), // "state"
120 QT_MOC_LITERAL(16, 251, 18), // "togglePruneWarning"
121 QT_MOC_LITERAL(17, 270, 7), // "enabled"
122 QT_MOC_LITERAL(18, 278, 18), // "showRestartWarning"
123 QT_MOC_LITERAL(19, 297, 11), // "fPersistent"
124 QT_MOC_LITERAL(20, 309, 16), // "clearStatusLabel"
125 QT_MOC_LITERAL(21, 326, 26), // "updateProxyValidationState"
126 QT_MOC_LITERAL(22, 353, 22) // "updateDefaultProxyNets"
127 
128  },
129  "OptionsDialog\0proxyIpChecks\0\0"
130  "QValidatedLineEdit*\0pUiProxyIp\0uint16_t\0"
131  "nProxyPort\0quitOnReset\0setOkButtonState\0"
132  "fState\0on_resetButton_clicked\0"
133  "on_openBitcoinConfButton_clicked\0"
134  "on_okButton_clicked\0on_cancelButton_clicked\0"
135  "on_showTrayIcon_stateChanged\0state\0"
136  "togglePruneWarning\0enabled\0"
137  "showRestartWarning\0fPersistent\0"
138  "clearStatusLabel\0updateProxyValidationState\0"
139  "updateDefaultProxyNets"
140 };
141 #undef QT_MOC_LITERAL
142 
143 static const uint qt_meta_data_OptionsDialog[] = {
144 
145  // content:
146  8, // revision
147  0, // classname
148  0, 0, // classinfo
149  14, 14, // methods
150  0, 0, // properties
151  0, 0, // enums/sets
152  0, 0, // constructors
153  0, // flags
154  2, // signalCount
155 
156  // signals: name, argc, parameters, tag, flags
157  1, 2, 84, 2, 0x06 /* Public */,
158  7, 0, 89, 2, 0x06 /* Public */,
159 
160  // slots: name, argc, parameters, tag, flags
161  8, 1, 90, 2, 0x08 /* Private */,
162  10, 0, 93, 2, 0x08 /* Private */,
163  11, 0, 94, 2, 0x08 /* Private */,
164  12, 0, 95, 2, 0x08 /* Private */,
165  13, 0, 96, 2, 0x08 /* Private */,
166  14, 1, 97, 2, 0x08 /* Private */,
167  16, 1, 100, 2, 0x08 /* Private */,
168  18, 1, 103, 2, 0x08 /* Private */,
169  18, 0, 106, 2, 0x28 /* Private | MethodCloned */,
170  20, 0, 107, 2, 0x08 /* Private */,
171  21, 0, 108, 2, 0x08 /* Private */,
172  22, 0, 109, 2, 0x08 /* Private */,
173 
174  // signals: parameters
175  QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
176  QMetaType::Void,
177 
178  // slots: parameters
179  QMetaType::Void, QMetaType::Bool, 9,
180  QMetaType::Void,
181  QMetaType::Void,
182  QMetaType::Void,
183  QMetaType::Void,
184  QMetaType::Void, QMetaType::Int, 15,
185  QMetaType::Void, QMetaType::Bool, 17,
186  QMetaType::Void, QMetaType::Bool, 19,
187  QMetaType::Void,
188  QMetaType::Void,
189  QMetaType::Void,
190  QMetaType::Void,
191 
192  0 // eod
193 };
194 
195 void OptionsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
196 {
197  if (_c == QMetaObject::InvokeMetaMethod) {
198  auto *_t = static_cast<OptionsDialog *>(_o);
199  Q_UNUSED(_t)
200  switch (_id) {
201  case 0: _t->proxyIpChecks((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1])),(*reinterpret_cast< uint16_t(*)>(_a[2]))); break;
202  case 1: _t->quitOnReset(); break;
203  case 2: _t->setOkButtonState((*reinterpret_cast< bool(*)>(_a[1]))); break;
204  case 3: _t->on_resetButton_clicked(); break;
205  case 4: _t->on_openBitcoinConfButton_clicked(); break;
206  case 5: _t->on_okButton_clicked(); break;
207  case 6: _t->on_cancelButton_clicked(); break;
208  case 7: _t->on_showTrayIcon_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
209  case 8: _t->togglePruneWarning((*reinterpret_cast< bool(*)>(_a[1]))); break;
210  case 9: _t->showRestartWarning((*reinterpret_cast< bool(*)>(_a[1]))); break;
211  case 10: _t->showRestartWarning(); break;
212  case 11: _t->clearStatusLabel(); break;
213  case 12: _t->updateProxyValidationState(); break;
214  case 13: _t->updateDefaultProxyNets(); break;
215  default: ;
216  }
217  } else if (_c == QMetaObject::IndexOfMethod) {
218  int *result = reinterpret_cast<int *>(_a[0]);
219  {
220  using _t = void (OptionsDialog::*)(QValidatedLineEdit * , uint16_t );
221  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OptionsDialog::proxyIpChecks)) {
222  *result = 0;
223  return;
224  }
225  }
226  {
227  using _t = void (OptionsDialog::*)();
228  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OptionsDialog::quitOnReset)) {
229  *result = 1;
230  return;
231  }
232  }
233  }
234 }
235 
236 QT_INIT_METAOBJECT const QMetaObject OptionsDialog::staticMetaObject = { {
237  &QDialog::staticMetaObject,
240  qt_static_metacall,
241  nullptr,
242  nullptr
243 } };
244 
245 
246 const QMetaObject *OptionsDialog::metaObject() const
247 {
248  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
249 }
250 
251 void *OptionsDialog::qt_metacast(const char *_clname)
252 {
253  if (!_clname) return nullptr;
254  if (!strcmp(_clname, qt_meta_stringdata_OptionsDialog.stringdata0))
255  return static_cast<void*>(this);
256  return QDialog::qt_metacast(_clname);
257 }
258 
259 int OptionsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
260 {
261  _id = QDialog::qt_metacall(_c, _id, _a);
262  if (_id < 0)
263  return _id;
264  if (_c == QMetaObject::InvokeMetaMethod) {
265  if (_id < 14)
266  qt_static_metacall(this, _c, _id, _a);
267  _id -= 14;
268  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
269  if (_id < 14)
270  *reinterpret_cast<int*>(_a[0]) = -1;
271  _id -= 14;
272  }
273  return _id;
274 }
275 
276 // SIGNAL 0
278 {
279  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
280  QMetaObject::activate(this, &staticMetaObject, 0, _a);
281 }
282 
283 // SIGNAL 1
285 {
286  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
287 }
288 QT_WARNING_POP
289 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)