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.9.4. 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
20 QT_WARNING_PUSH
21 QT_WARNING_DISABLE_DEPRECATED
23  QByteArrayData data[1];
24  char stringdata0[22];
25 };
26 #define QT_MOC_LITERAL(idx, ofs, len) \
27  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28  qptrdiff(offsetof(qt_meta_stringdata_ProxyAddressValidator_t, stringdata0) + ofs \
29  - idx * sizeof(QByteArrayData)) \
30  )
32  {
33 QT_MOC_LITERAL(0, 0, 21) // "ProxyAddressValidator"
34 
35  },
36  "ProxyAddressValidator"
37 };
38 #undef QT_MOC_LITERAL
39 
40 static const uint qt_meta_data_ProxyAddressValidator[] = {
41 
42  // content:
43  7, // revision
44  0, // classname
45  0, 0, // classinfo
46  0, 0, // methods
47  0, 0, // properties
48  0, 0, // enums/sets
49  0, 0, // constructors
50  0, // flags
51  0, // signalCount
52 
53  0 // eod
54 };
55 
56 void ProxyAddressValidator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
57 {
58  Q_UNUSED(_o);
59  Q_UNUSED(_id);
60  Q_UNUSED(_c);
61  Q_UNUSED(_a);
62 }
63 
64 const QMetaObject ProxyAddressValidator::staticMetaObject = {
65  { &QValidator::staticMetaObject, qt_meta_stringdata_ProxyAddressValidator.data,
66  qt_meta_data_ProxyAddressValidator, qt_static_metacall, nullptr, nullptr}
67 };
68 
69 
70 const QMetaObject *ProxyAddressValidator::metaObject() const
71 {
72  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
73 }
74 
75 void *ProxyAddressValidator::qt_metacast(const char *_clname)
76 {
77  if (!_clname) return nullptr;
79  return static_cast<void*>(this);
80  return QValidator::qt_metacast(_clname);
81 }
82 
83 int ProxyAddressValidator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
84 {
85  _id = QValidator::qt_metacall(_c, _id, _a);
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  {
209  typedef void (OptionsDialog::*_t)(QValidatedLineEdit * , int );
210  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OptionsDialog::proxyIpChecks)) {
211  *result = 0;
212  return;
213  }
214  }
215  }
216 }
217 
218 const QMetaObject OptionsDialog::staticMetaObject = {
219  { &QDialog::staticMetaObject, qt_meta_stringdata_OptionsDialog.data,
220  qt_meta_data_OptionsDialog, qt_static_metacall, nullptr, nullptr}
221 };
222 
223 
224 const QMetaObject *OptionsDialog::metaObject() const
225 {
226  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
227 }
228 
229 void *OptionsDialog::qt_metacast(const char *_clname)
230 {
231  if (!_clname) return nullptr;
232  if (!strcmp(_clname, qt_meta_stringdata_OptionsDialog.stringdata0))
233  return static_cast<void*>(this);
234  return QDialog::qt_metacast(_clname);
235 }
236 
237 int OptionsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
238 {
239  _id = QDialog::qt_metacall(_c, _id, _a);
240  if (_id < 0)
241  return _id;
242  if (_c == QMetaObject::InvokeMetaMethod) {
243  if (_id < 13)
244  qt_static_metacall(this, _c, _id, _a);
245  _id -= 13;
246  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
247  if (_id < 13)
248  *reinterpret_cast<int*>(_a[0]) = -1;
249  _id -= 13;
250  }
251  return _id;
252 }
253 
254 // SIGNAL 0
256 {
257  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
258  QMetaObject::activate(this, &staticMetaObject, 0, _a);
259 }
260 QT_WARNING_POP
261 QT_END_MOC_NAMESPACE
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)