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