Anoncoin  0.9.4
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.2.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[19];
22  char stringdata[299];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  offsetof(qt_meta_stringdata_OptionsDialog_t, stringdata) + ofs \
27  - idx * sizeof(QByteArrayData) \
28  )
29 static const qt_meta_stringdata_OptionsDialog_t qt_meta_stringdata_OptionsDialog = {
30  {
31 QT_MOC_LITERAL(0, 0, 13),
32 QT_MOC_LITERAL(1, 14, 13),
33 QT_MOC_LITERAL(2, 28, 0),
34 QT_MOC_LITERAL(3, 29, 19),
35 QT_MOC_LITERAL(4, 49, 10),
36 QT_MOC_LITERAL(5, 60, 10),
37 QT_MOC_LITERAL(6, 71, 14),
38 QT_MOC_LITERAL(7, 86, 15),
39 QT_MOC_LITERAL(8, 102, 16),
40 QT_MOC_LITERAL(9, 119, 6),
41 QT_MOC_LITERAL(10, 126, 22),
42 QT_MOC_LITERAL(11, 149, 19),
43 QT_MOC_LITERAL(12, 169, 23),
44 QT_MOC_LITERAL(13, 193, 18),
45 QT_MOC_LITERAL(14, 212, 11),
46 QT_MOC_LITERAL(15, 224, 22),
47 QT_MOC_LITERAL(16, 247, 16),
48 QT_MOC_LITERAL(17, 264, 17),
49 QT_MOC_LITERAL(18, 282, 15)
50  },
51  "OptionsDialog\0proxyIpChecks\0\0"
52  "QValidatedLineEdit*\0pUiProxyIp\0"
53  "nProxyPort\0enableOkButton\0disableOkButton\0"
54  "setOkButtonState\0fState\0on_resetButton_clicked\0"
55  "on_okButton_clicked\0on_cancelButton_clicked\0"
56  "showRestartWarning\0fPersistent\0"
57  "showRestartWarning_I2P\0clearStatusLabel\0"
58  "updateDisplayUnit\0doProxyIpChecks\0"
59 };
60 #undef QT_MOC_LITERAL
61 
62 static const uint qt_meta_data_OptionsDialog[] = {
63 
64  // content:
65  7, // revision
66  0, // classname
67  0, 0, // classinfo
68  13, 14, // methods
69  0, 0, // properties
70  0, 0, // enums/sets
71  0, 0, // constructors
72  0, // flags
73  1, // signalCount
74 
75  // signals: name, argc, parameters, tag, flags
76  1, 2, 79, 2, 0x06,
77 
78  // slots: name, argc, parameters, tag, flags
79  6, 0, 84, 2, 0x08,
80  7, 0, 85, 2, 0x08,
81  8, 1, 86, 2, 0x08,
82  10, 0, 89, 2, 0x08,
83  11, 0, 90, 2, 0x08,
84  12, 0, 91, 2, 0x08,
85  13, 1, 92, 2, 0x08,
86  13, 0, 95, 2, 0x28,
87  15, 0, 96, 2, 0x08,
88  16, 0, 97, 2, 0x08,
89  17, 0, 98, 2, 0x08,
90  18, 2, 99, 2, 0x08,
91 
92  // signals: parameters
93  QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
94 
95  // slots: parameters
96  QMetaType::Void,
97  QMetaType::Void,
98  QMetaType::Void, QMetaType::Bool, 9,
99  QMetaType::Void,
100  QMetaType::Void,
101  QMetaType::Void,
102  QMetaType::Void, QMetaType::Bool, 14,
103  QMetaType::Void,
104  QMetaType::Void,
105  QMetaType::Void,
106  QMetaType::Void,
107  QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
108 
109  0 // eod
110 };
111 
112 void OptionsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
113 {
114  if (_c == QMetaObject::InvokeMetaMethod) {
115  OptionsDialog *_t = static_cast<OptionsDialog *>(_o);
116  switch (_id) {
117  case 0: _t->proxyIpChecks((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
118  case 1: _t->enableOkButton(); break;
119  case 2: _t->disableOkButton(); break;
120  case 3: _t->setOkButtonState((*reinterpret_cast< bool(*)>(_a[1]))); break;
121  case 4: _t->on_resetButton_clicked(); break;
122  case 5: _t->on_okButton_clicked(); break;
123  case 6: _t->on_cancelButton_clicked(); break;
124  case 7: _t->showRestartWarning((*reinterpret_cast< bool(*)>(_a[1]))); break;
125  case 8: _t->showRestartWarning(); break;
126  case 9: _t->showRestartWarning_I2P(); break;
127  case 10: _t->clearStatusLabel(); break;
128  case 11: _t->updateDisplayUnit(); break;
129  case 12: _t->doProxyIpChecks((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
130  default: ;
131  }
132  } else if (_c == QMetaObject::IndexOfMethod) {
133  int *result = reinterpret_cast<int *>(_a[0]);
134  void **func = reinterpret_cast<void **>(_a[1]);
135  {
136  typedef void (OptionsDialog::*_t)(QValidatedLineEdit * , int );
137  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsDialog::proxyIpChecks)) {
138  *result = 0;
139  }
140  }
141  }
142 }
143 
144 const QMetaObject OptionsDialog::staticMetaObject = {
145  { &QDialog::staticMetaObject, qt_meta_stringdata_OptionsDialog.data,
146  qt_meta_data_OptionsDialog, qt_static_metacall, 0, 0}
147 };
148 
149 
150 const QMetaObject *OptionsDialog::metaObject() const
151 {
152  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
153 }
154 
155 void *OptionsDialog::qt_metacast(const char *_clname)
156 {
157  if (!_clname) return 0;
158  if (!strcmp(_clname, qt_meta_stringdata_OptionsDialog.stringdata))
159  return static_cast<void*>(const_cast< OptionsDialog*>(this));
160  return QDialog::qt_metacast(_clname);
161 }
162 
163 int OptionsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
164 {
165  _id = QDialog::qt_metacall(_c, _id, _a);
166  if (_id < 0)
167  return _id;
168  if (_c == QMetaObject::InvokeMetaMethod) {
169  if (_id < 13)
170  qt_static_metacall(this, _c, _id, _a);
171  _id -= 13;
172  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
173  if (_id < 13)
174  *reinterpret_cast<int*>(_a[0]) = -1;
175  _id -= 13;
176  }
177  return _id;
178 }
179 
180 // SIGNAL 0
182 {
183  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
184  QMetaObject::activate(this, &staticMetaObject, 0, _a);
185 }
186 QT_END_MOC_NAMESPACE
void showRestartWarning_I2P()
void setOkButtonState(bool fState)
void on_resetButton_clicked()
Line edit that can be marked as "invalid" to show input validation feedback.
void updateDisplayUnit()
void on_okButton_clicked()
void proxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort)
void doProxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort)
void showRestartWarning(bool fPersistent=false)
void on_cancelButton_clicked()
Preferences dialog.
Definition: optionsdialog.h:22
void clearStatusLabel()
#define QT_MOC_LITERAL(idx, ofs, len)
void disableOkButton()