Dash Core  0.12.2.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.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  )
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;
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[17];
90  char stringdata0[289];
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, 19), // "on_okButton_clicked"
109 QT_MOC_LITERAL(10, 138, 23), // "on_cancelButton_clicked"
110 QT_MOC_LITERAL(11, 162, 28), // "on_hideTrayIcon_stateChanged"
111 QT_MOC_LITERAL(12, 191, 18), // "showRestartWarning"
112 QT_MOC_LITERAL(13, 210, 11), // "fPersistent"
113 QT_MOC_LITERAL(14, 222, 16), // "clearStatusLabel"
114 QT_MOC_LITERAL(15, 239, 26), // "updateProxyValidationState"
115 QT_MOC_LITERAL(16, 266, 22) // "updateDefaultProxyNets"
116 
117  },
118  "OptionsDialog\0proxyIpChecks\0\0"
119  "QValidatedLineEdit*\0pUiProxyIp\0"
120  "nProxyPort\0setOkButtonState\0fState\0"
121  "on_resetButton_clicked\0on_okButton_clicked\0"
122  "on_cancelButton_clicked\0"
123  "on_hideTrayIcon_stateChanged\0"
124  "showRestartWarning\0fPersistent\0"
125  "clearStatusLabel\0updateProxyValidationState\0"
126  "updateDefaultProxyNets"
127 };
128 #undef QT_MOC_LITERAL
129 
130 static const uint qt_meta_data_OptionsDialog[] = {
131 
132  // content:
133  7, // revision
134  0, // classname
135  0, 0, // classinfo
136  11, 14, // methods
137  0, 0, // properties
138  0, 0, // enums/sets
139  0, 0, // constructors
140  0, // flags
141  1, // signalCount
142 
143  // signals: name, argc, parameters, tag, flags
144  1, 2, 69, 2, 0x06 /* Public */,
145 
146  // slots: name, argc, parameters, tag, flags
147  6, 1, 74, 2, 0x08 /* Private */,
148  8, 0, 77, 2, 0x08 /* Private */,
149  9, 0, 78, 2, 0x08 /* Private */,
150  10, 0, 79, 2, 0x08 /* Private */,
151  11, 1, 80, 2, 0x08 /* Private */,
152  12, 1, 83, 2, 0x08 /* Private */,
153  12, 0, 86, 2, 0x28 /* Private | MethodCloned */,
154  14, 0, 87, 2, 0x08 /* Private */,
155  15, 0, 88, 2, 0x08 /* Private */,
156  16, 0, 89, 2, 0x08 /* Private */,
157 
158  // signals: parameters
159  QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
160 
161  // slots: parameters
162  QMetaType::Void, QMetaType::Bool, 7,
163  QMetaType::Void,
164  QMetaType::Void,
165  QMetaType::Void,
166  QMetaType::Void, QMetaType::Int, 7,
167  QMetaType::Void, QMetaType::Bool, 13,
168  QMetaType::Void,
169  QMetaType::Void,
170  QMetaType::Void,
171  QMetaType::Void,
172 
173  0 // eod
174 };
175 
176 void OptionsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
177 {
178  if (_c == QMetaObject::InvokeMetaMethod) {
179  OptionsDialog *_t = static_cast<OptionsDialog *>(_o);
180  Q_UNUSED(_t)
181  switch (_id) {
182  case 0: _t->proxyIpChecks((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
183  case 1: _t->setOkButtonState((*reinterpret_cast< bool(*)>(_a[1]))); break;
184  case 2: _t->on_resetButton_clicked(); break;
185  case 3: _t->on_okButton_clicked(); break;
186  case 4: _t->on_cancelButton_clicked(); break;
187  case 5: _t->on_hideTrayIcon_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
188  case 6: _t->showRestartWarning((*reinterpret_cast< bool(*)>(_a[1]))); break;
189  case 7: _t->showRestartWarning(); break;
190  case 8: _t->clearStatusLabel(); break;
191  case 9: _t->updateProxyValidationState(); break;
192  case 10: _t->updateDefaultProxyNets(); break;
193  default: ;
194  }
195  } else if (_c == QMetaObject::IndexOfMethod) {
196  int *result = reinterpret_cast<int *>(_a[0]);
197  void **func = reinterpret_cast<void **>(_a[1]);
198  {
199  typedef void (OptionsDialog::*_t)(QValidatedLineEdit * , int );
200  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsDialog::proxyIpChecks)) {
201  *result = 0;
202  }
203  }
204  }
205 }
206 
207 const QMetaObject OptionsDialog::staticMetaObject = {
208  { &QDialog::staticMetaObject, qt_meta_stringdata_OptionsDialog.data,
209  qt_meta_data_OptionsDialog, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
210 };
211 
212 
213 const QMetaObject *OptionsDialog::metaObject() const
214 {
215  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
216 }
217 
218 void *OptionsDialog::qt_metacast(const char *_clname)
219 {
220  if (!_clname) return Q_NULLPTR;
221  if (!strcmp(_clname, qt_meta_stringdata_OptionsDialog.stringdata0))
222  return static_cast<void*>(const_cast< OptionsDialog*>(this));
223  return QDialog::qt_metacast(_clname);
224 }
225 
226 int OptionsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
227 {
228  _id = QDialog::qt_metacall(_c, _id, _a);
229  if (_id < 0)
230  return _id;
231  if (_c == QMetaObject::InvokeMetaMethod) {
232  if (_id < 11)
233  qt_static_metacall(this, _c, _id, _a);
234  _id -= 11;
235  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
236  if (_id < 11)
237  *reinterpret_cast<int*>(_a[0]) = -1;
238  _id -= 11;
239  }
240  return _id;
241 }
242 
243 // SIGNAL 0
245 {
246  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
247  QMetaObject::activate(this, &staticMetaObject, 0, _a);
248 }
249 QT_END_MOC_NAMESPACE
void on_cancelButton_clicked()
void setOkButtonState(bool fState)
void updateProxyValidationState()
void on_okButton_clicked()
void showRestartWarning(bool fPersistent=false)
void on_resetButton_clicked()
static const uint qt_meta_data_ProxyAddressValidator[]
void clearStatusLabel()
void on_hideTrayIcon_stateChanged(int fState)
static const uint qt_meta_data_OptionsDialog[]
void proxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort)
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)
void updateDefaultProxyNets()
result
Definition: rpcuser.py:37