Fabcoin Core  0.16.2
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.5.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  )
29 static const qt_meta_stringdata_ProxyAddressValidator_t qt_meta_stringdata_ProxyAddressValidator = {
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[18];
90  char stringdata0[322];
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  )
97 static const qt_meta_stringdata_OptionsDialog_t qt_meta_stringdata_OptionsDialog = {
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_openFabcoinConfButton_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), // "showRestartWarning"
113 QT_MOC_LITERAL(14, 243, 11), // "fPersistent"
114 QT_MOC_LITERAL(15, 255, 16), // "clearStatusLabel"
115 QT_MOC_LITERAL(16, 272, 26), // "updateProxyValidationState"
116 QT_MOC_LITERAL(17, 299, 22) // "updateDefaultProxyNets"
117 
118  },
119  "OptionsDialog\0proxyIpChecks\0\0"
120  "QValidatedLineEdit*\0pUiProxyIp\0"
121  "nProxyPort\0setOkButtonState\0fState\0"
122  "on_resetButton_clicked\0"
123  "on_openFabcoinConfButton_clicked\0"
124  "on_okButton_clicked\0on_cancelButton_clicked\0"
125  "on_hideTrayIcon_stateChanged\0"
126  "showRestartWarning\0fPersistent\0"
127  "clearStatusLabel\0updateProxyValidationState\0"
128  "updateDefaultProxyNets"
129 };
130 #undef QT_MOC_LITERAL
131 
132 static const uint qt_meta_data_OptionsDialog[] = {
133 
134  // content:
135  7, // revision
136  0, // classname
137  0, 0, // classinfo
138  12, 14, // methods
139  0, 0, // properties
140  0, 0, // enums/sets
141  0, 0, // constructors
142  0, // flags
143  1, // signalCount
144 
145  // signals: name, argc, parameters, tag, flags
146  1, 2, 74, 2, 0x06 /* Public */,
147 
148  // slots: name, argc, parameters, tag, flags
149  6, 1, 79, 2, 0x08 /* Private */,
150  8, 0, 82, 2, 0x08 /* Private */,
151  9, 0, 83, 2, 0x08 /* Private */,
152  10, 0, 84, 2, 0x08 /* Private */,
153  11, 0, 85, 2, 0x08 /* Private */,
154  12, 1, 86, 2, 0x08 /* Private */,
155  13, 1, 89, 2, 0x08 /* Private */,
156  13, 0, 92, 2, 0x28 /* Private | MethodCloned */,
157  15, 0, 93, 2, 0x08 /* Private */,
158  16, 0, 94, 2, 0x08 /* Private */,
159  17, 0, 95, 2, 0x08 /* Private */,
160 
161  // signals: parameters
162  QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
163 
164  // slots: parameters
165  QMetaType::Void, QMetaType::Bool, 7,
166  QMetaType::Void,
167  QMetaType::Void,
168  QMetaType::Void,
169  QMetaType::Void,
170  QMetaType::Void, QMetaType::Int, 7,
171  QMetaType::Void, QMetaType::Bool, 14,
172  QMetaType::Void,
173  QMetaType::Void,
174  QMetaType::Void,
175  QMetaType::Void,
176 
177  0 // eod
178 };
179 
180 void OptionsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
181 {
182  if (_c == QMetaObject::InvokeMetaMethod) {
183  OptionsDialog *_t = static_cast<OptionsDialog *>(_o);
184  Q_UNUSED(_t)
185  switch (_id) {
186  case 0: _t->proxyIpChecks((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
187  case 1: _t->setOkButtonState((*reinterpret_cast< bool(*)>(_a[1]))); break;
188  case 2: _t->on_resetButton_clicked(); break;
189  case 3: _t->on_openFabcoinConfButton_clicked(); break;
190  case 4: _t->on_okButton_clicked(); break;
191  case 5: _t->on_cancelButton_clicked(); break;
192  case 6: _t->on_hideTrayIcon_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
193  case 7: _t->showRestartWarning((*reinterpret_cast< bool(*)>(_a[1]))); break;
194  case 8: _t->showRestartWarning(); break;
195  case 9: _t->clearStatusLabel(); break;
196  case 10: _t->updateProxyValidationState(); break;
197  case 11: _t->updateDefaultProxyNets(); break;
198  default: ;
199  }
200  } else if (_c == QMetaObject::IndexOfMethod) {
201  int *result = reinterpret_cast<int *>(_a[0]);
202  void **func = reinterpret_cast<void **>(_a[1]);
203  {
204  typedef void (OptionsDialog::*_t)(QValidatedLineEdit * , int );
205  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsDialog::proxyIpChecks)) {
206  *result = 0;
207  }
208  }
209  }
210 }
211 
212 const QMetaObject OptionsDialog::staticMetaObject = {
213  { &QDialog::staticMetaObject, qt_meta_stringdata_OptionsDialog.data,
214  qt_meta_data_OptionsDialog, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
215 };
216 
217 
218 const QMetaObject *OptionsDialog::metaObject() const
219 {
220  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
221 }
222 
223 void *OptionsDialog::qt_metacast(const char *_clname)
224 {
225  if (!_clname) return Q_NULLPTR;
226  if (!strcmp(_clname, qt_meta_stringdata_OptionsDialog.stringdata0))
227  return static_cast<void*>(const_cast< OptionsDialog*>(this));
228  return QDialog::qt_metacast(_clname);
229 }
230 
231 int OptionsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
232 {
233  _id = QDialog::qt_metacall(_c, _id, _a);
234  if (_id < 0)
235  return _id;
236  if (_c == QMetaObject::InvokeMetaMethod) {
237  if (_id < 12)
238  qt_static_metacall(this, _c, _id, _a);
239  _id -= 12;
240  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
241  if (_id < 12)
242  *reinterpret_cast<int*>(_a[0]) = -1;
243  _id -= 12;
244  }
245  return _id;
246 }
247 
248 // SIGNAL 0
250 {
251  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
252  QMetaObject::activate(this, &staticMetaObject, 0, _a);
253 }
254 QT_END_MOC_NAMESPACE
Proxy address widget validator, checks for a valid proxy address.
Definition: optionsdialog.h:24
void setOkButtonState(bool fState)
uint32_t uint
Definition: libclwrapper.h:40
void on_resetButton_clicked()
Line edit that can be marked as "invalid" to show input validation feedback.
void on_okButton_clicked()
void updateDefaultProxyNets()
void proxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort)
void on_hideTrayIcon_stateChanged(int fState)
void showRestartWarning(bool fPersistent=false)
void on_cancelButton_clicked()
Preferences dialog.
Definition: optionsdialog.h:35
void clearStatusLabel()
void updateProxyValidationState()
#define QT_MOC_LITERAL(idx, ofs, len)
void on_openFabcoinConfButton_clicked()