Bitcoin Core  28.1.0
P2P Digital Currency
moc_guiutil.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'guiutil.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.8)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include <memory>
10 #include "qt/guiutil.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'guiutil.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.8. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
19 #endif
20 
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
25  QByteArrayData data[1];
26  char stringdata0[33];
27 };
28 #define QT_MOC_LITERAL(idx, ofs, len) \
29  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30  qptrdiff(offsetof(qt_meta_stringdata_GUIUtil__ToolTipToRichTextFilter_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
34  {
35 QT_MOC_LITERAL(0, 0, 32) // "GUIUtil::ToolTipToRichTextFilter"
36 
37  },
38  "GUIUtil::ToolTipToRichTextFilter"
39 };
40 #undef QT_MOC_LITERAL
41 
43 
44  // content:
45  8, // revision
46  0, // classname
47  0, 0, // classinfo
48  0, 0, // methods
49  0, 0, // properties
50  0, 0, // enums/sets
51  0, 0, // constructors
52  0, // flags
53  0, // signalCount
54 
55  0 // eod
56 };
57 
58 void GUIUtil::ToolTipToRichTextFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
59 {
60  (void)_o;
61  (void)_id;
62  (void)_c;
63  (void)_a;
64 }
65 
66 QT_INIT_METAOBJECT const QMetaObject GUIUtil::ToolTipToRichTextFilter::staticMetaObject = { {
67  QMetaObject::SuperData::link<QObject::staticMetaObject>(),
70  qt_static_metacall,
71  nullptr,
72  nullptr
73 } };
74 
75 
76 const QMetaObject *GUIUtil::ToolTipToRichTextFilter::metaObject() const
77 {
78  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
79 }
80 
81 void *GUIUtil::ToolTipToRichTextFilter::qt_metacast(const char *_clname)
82 {
83  if (!_clname) return nullptr;
85  return static_cast<void*>(this);
86  return QObject::qt_metacast(_clname);
87 }
88 
89 int GUIUtil::ToolTipToRichTextFilter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
90 {
91  _id = QObject::qt_metacall(_c, _id, _a);
92  return _id;
93 }
95  QByteArrayData data[1];
96  char stringdata0[36];
97 };
98 #define QT_MOC_LITERAL(idx, ofs, len) \
99  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
100  qptrdiff(offsetof(qt_meta_stringdata_GUIUtil__LabelOutOfFocusEventFilter_t, stringdata0) + ofs \
101  - idx * sizeof(QByteArrayData)) \
102  )
104  {
105 QT_MOC_LITERAL(0, 0, 35) // "GUIUtil::LabelOutOfFocusEvent..."
106 
107  },
108  "GUIUtil::LabelOutOfFocusEventFilter"
109 };
110 #undef QT_MOC_LITERAL
111 
113 
114  // content:
115  8, // revision
116  0, // classname
117  0, 0, // classinfo
118  0, 0, // methods
119  0, 0, // properties
120  0, 0, // enums/sets
121  0, 0, // constructors
122  0, // flags
123  0, // signalCount
124 
125  0 // eod
126 };
127 
128 void GUIUtil::LabelOutOfFocusEventFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
129 {
130  (void)_o;
131  (void)_id;
132  (void)_c;
133  (void)_a;
134 }
135 
136 QT_INIT_METAOBJECT const QMetaObject GUIUtil::LabelOutOfFocusEventFilter::staticMetaObject = { {
137  QMetaObject::SuperData::link<QObject::staticMetaObject>(),
140  qt_static_metacall,
141  nullptr,
142  nullptr
143 } };
144 
145 
146 const QMetaObject *GUIUtil::LabelOutOfFocusEventFilter::metaObject() const
147 {
148  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
149 }
150 
151 void *GUIUtil::LabelOutOfFocusEventFilter::qt_metacast(const char *_clname)
152 {
153  if (!_clname) return nullptr;
155  return static_cast<void*>(this);
156  return QObject::qt_metacast(_clname);
157 }
158 
159 int GUIUtil::LabelOutOfFocusEventFilter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
160 {
161  _id = QObject::qt_metacall(_c, _id, _a);
162  return _id;
163 }
165  QByteArrayData data[1];
166  char stringdata0[21];
167 };
168 #define QT_MOC_LITERAL(idx, ofs, len) \
169  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
170  qptrdiff(offsetof(qt_meta_stringdata_GUIUtil__ThemedLabel_t, stringdata0) + ofs \
171  - idx * sizeof(QByteArrayData)) \
172  )
174  {
175 QT_MOC_LITERAL(0, 0, 20) // "GUIUtil::ThemedLabel"
176 
177  },
178  "GUIUtil::ThemedLabel"
179 };
180 #undef QT_MOC_LITERAL
181 
182 static const uint qt_meta_data_GUIUtil__ThemedLabel[] = {
183 
184  // content:
185  8, // revision
186  0, // classname
187  0, 0, // classinfo
188  0, 0, // methods
189  0, 0, // properties
190  0, 0, // enums/sets
191  0, 0, // constructors
192  0, // flags
193  0, // signalCount
194 
195  0 // eod
196 };
197 
198 void GUIUtil::ThemedLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
199 {
200  (void)_o;
201  (void)_id;
202  (void)_c;
203  (void)_a;
204 }
205 
206 QT_INIT_METAOBJECT const QMetaObject GUIUtil::ThemedLabel::staticMetaObject = { {
207  QMetaObject::SuperData::link<QLabel::staticMetaObject>(),
210  qt_static_metacall,
211  nullptr,
212  nullptr
213 } };
214 
215 
216 const QMetaObject *GUIUtil::ThemedLabel::metaObject() const
217 {
218  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
219 }
220 
221 void *GUIUtil::ThemedLabel::qt_metacast(const char *_clname)
222 {
223  if (!_clname) return nullptr;
225  return static_cast<void*>(this);
226  return QLabel::qt_metacast(_clname);
227 }
228 
229 int GUIUtil::ThemedLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
230 {
231  _id = QLabel::qt_metacall(_c, _id, _a);
232  return _id;
233 }
235  QByteArrayData data[4];
236  char stringdata0[39];
237 };
238 #define QT_MOC_LITERAL(idx, ofs, len) \
239  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
240  qptrdiff(offsetof(qt_meta_stringdata_GUIUtil__ClickableLabel_t, stringdata0) + ofs \
241  - idx * sizeof(QByteArrayData)) \
242  )
244  {
245 QT_MOC_LITERAL(0, 0, 23), // "GUIUtil::ClickableLabel"
246 QT_MOC_LITERAL(1, 24, 7), // "clicked"
247 QT_MOC_LITERAL(2, 32, 0), // ""
248 QT_MOC_LITERAL(3, 33, 5) // "point"
249 
250  },
251  "GUIUtil::ClickableLabel\0clicked\0\0point"
252 };
253 #undef QT_MOC_LITERAL
254 
256 
257  // content:
258  8, // revision
259  0, // classname
260  0, 0, // classinfo
261  1, 14, // methods
262  0, 0, // properties
263  0, 0, // enums/sets
264  0, 0, // constructors
265  0, // flags
266  1, // signalCount
267 
268  // signals: name, argc, parameters, tag, flags
269  1, 1, 19, 2, 0x06 /* Public */,
270 
271  // signals: parameters
272  QMetaType::Void, QMetaType::QPoint, 3,
273 
274  0 // eod
275 };
276 
277 void GUIUtil::ClickableLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
278 {
279  if (_c == QMetaObject::InvokeMetaMethod) {
280  auto *_t = static_cast<ClickableLabel *>(_o);
281  (void)_t;
282  switch (_id) {
283  case 0: _t->clicked((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
284  default: ;
285  }
286  } else if (_c == QMetaObject::IndexOfMethod) {
287  int *result = reinterpret_cast<int *>(_a[0]);
288  {
289  using _t = void (ClickableLabel::*)(const QPoint & );
290  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClickableLabel::clicked)) {
291  *result = 0;
292  return;
293  }
294  }
295  }
296 }
297 
298 QT_INIT_METAOBJECT const QMetaObject GUIUtil::ClickableLabel::staticMetaObject = { {
299  QMetaObject::SuperData::link<ThemedLabel::staticMetaObject>(),
302  qt_static_metacall,
303  nullptr,
304  nullptr
305 } };
306 
307 
308 const QMetaObject *GUIUtil::ClickableLabel::metaObject() const
309 {
310  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
311 }
312 
313 void *GUIUtil::ClickableLabel::qt_metacast(const char *_clname)
314 {
315  if (!_clname) return nullptr;
317  return static_cast<void*>(this);
318  return ThemedLabel::qt_metacast(_clname);
319 }
320 
321 int GUIUtil::ClickableLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
322 {
323  _id = ThemedLabel::qt_metacall(_c, _id, _a);
324  if (_id < 0)
325  return _id;
326  if (_c == QMetaObject::InvokeMetaMethod) {
327  if (_id < 1)
328  qt_static_metacall(this, _c, _id, _a);
329  _id -= 1;
330  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
331  if (_id < 1)
332  *reinterpret_cast<int*>(_a[0]) = -1;
333  _id -= 1;
334  }
335  return _id;
336 }
337 
338 // SIGNAL 0
339 void GUIUtil::ClickableLabel::clicked(const QPoint & _t1)
340 {
341  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
342  QMetaObject::activate(this, &staticMetaObject, 0, _a);
343 }
345  QByteArrayData data[4];
346  char stringdata0[45];
347 };
348 #define QT_MOC_LITERAL(idx, ofs, len) \
349  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
350  qptrdiff(offsetof(qt_meta_stringdata_GUIUtil__ClickableProgressBar_t, stringdata0) + ofs \
351  - idx * sizeof(QByteArrayData)) \
352  )
354  {
355 QT_MOC_LITERAL(0, 0, 29), // "GUIUtil::ClickableProgressBar"
356 QT_MOC_LITERAL(1, 30, 7), // "clicked"
357 QT_MOC_LITERAL(2, 38, 0), // ""
358 QT_MOC_LITERAL(3, 39, 5) // "point"
359 
360  },
361  "GUIUtil::ClickableProgressBar\0clicked\0"
362  "\0point"
363 };
364 #undef QT_MOC_LITERAL
365 
367 
368  // content:
369  8, // revision
370  0, // classname
371  0, 0, // classinfo
372  1, 14, // methods
373  0, 0, // properties
374  0, 0, // enums/sets
375  0, 0, // constructors
376  0, // flags
377  1, // signalCount
378 
379  // signals: name, argc, parameters, tag, flags
380  1, 1, 19, 2, 0x06 /* Public */,
381 
382  // signals: parameters
383  QMetaType::Void, QMetaType::QPoint, 3,
384 
385  0 // eod
386 };
387 
388 void GUIUtil::ClickableProgressBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
389 {
390  if (_c == QMetaObject::InvokeMetaMethod) {
391  auto *_t = static_cast<ClickableProgressBar *>(_o);
392  (void)_t;
393  switch (_id) {
394  case 0: _t->clicked((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
395  default: ;
396  }
397  } else if (_c == QMetaObject::IndexOfMethod) {
398  int *result = reinterpret_cast<int *>(_a[0]);
399  {
400  using _t = void (ClickableProgressBar::*)(const QPoint & );
401  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClickableProgressBar::clicked)) {
402  *result = 0;
403  return;
404  }
405  }
406  }
407 }
408 
409 QT_INIT_METAOBJECT const QMetaObject GUIUtil::ClickableProgressBar::staticMetaObject = { {
410  QMetaObject::SuperData::link<QProgressBar::staticMetaObject>(),
413  qt_static_metacall,
414  nullptr,
415  nullptr
416 } };
417 
418 
419 const QMetaObject *GUIUtil::ClickableProgressBar::metaObject() const
420 {
421  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
422 }
423 
424 void *GUIUtil::ClickableProgressBar::qt_metacast(const char *_clname)
425 {
426  if (!_clname) return nullptr;
428  return static_cast<void*>(this);
429  return QProgressBar::qt_metacast(_clname);
430 }
431 
432 int GUIUtil::ClickableProgressBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
433 {
434  _id = QProgressBar::qt_metacall(_c, _id, _a);
435  if (_id < 0)
436  return _id;
437  if (_c == QMetaObject::InvokeMetaMethod) {
438  if (_id < 1)
439  qt_static_metacall(this, _c, _id, _a);
440  _id -= 1;
441  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
442  if (_id < 1)
443  *reinterpret_cast<int*>(_a[0]) = -1;
444  _id -= 1;
445  }
446  return _id;
447 }
448 
449 // SIGNAL 0
451 {
452  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
453  QMetaObject::activate(this, &staticMetaObject, 0, _a);
454 }
456  QByteArrayData data[3];
457  char stringdata0[40];
458 };
459 #define QT_MOC_LITERAL(idx, ofs, len) \
460  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
461  qptrdiff(offsetof(qt_meta_stringdata_GUIUtil__ItemDelegate_t, stringdata0) + ofs \
462  - idx * sizeof(QByteArrayData)) \
463  )
465  {
466 QT_MOC_LITERAL(0, 0, 21), // "GUIUtil::ItemDelegate"
467 QT_MOC_LITERAL(1, 22, 16), // "keyEscapePressed"
468 QT_MOC_LITERAL(2, 39, 0) // ""
469 
470  },
471  "GUIUtil::ItemDelegate\0keyEscapePressed\0"
472  ""
473 };
474 #undef QT_MOC_LITERAL
475 
476 static const uint qt_meta_data_GUIUtil__ItemDelegate[] = {
477 
478  // content:
479  8, // revision
480  0, // classname
481  0, 0, // classinfo
482  1, 14, // methods
483  0, 0, // properties
484  0, 0, // enums/sets
485  0, 0, // constructors
486  0, // flags
487  1, // signalCount
488 
489  // signals: name, argc, parameters, tag, flags
490  1, 0, 19, 2, 0x06 /* Public */,
491 
492  // signals: parameters
493  QMetaType::Void,
494 
495  0 // eod
496 };
497 
498 void GUIUtil::ItemDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
499 {
500  if (_c == QMetaObject::InvokeMetaMethod) {
501  auto *_t = static_cast<ItemDelegate *>(_o);
502  (void)_t;
503  switch (_id) {
504  case 0: _t->keyEscapePressed(); break;
505  default: ;
506  }
507  } else if (_c == QMetaObject::IndexOfMethod) {
508  int *result = reinterpret_cast<int *>(_a[0]);
509  {
510  using _t = void (ItemDelegate::*)();
511  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ItemDelegate::keyEscapePressed)) {
512  *result = 0;
513  return;
514  }
515  }
516  }
517  (void)_a;
518 }
519 
520 QT_INIT_METAOBJECT const QMetaObject GUIUtil::ItemDelegate::staticMetaObject = { {
521  QMetaObject::SuperData::link<QItemDelegate::staticMetaObject>(),
524  qt_static_metacall,
525  nullptr,
526  nullptr
527 } };
528 
529 
530 const QMetaObject *GUIUtil::ItemDelegate::metaObject() const
531 {
532  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
533 }
534 
535 void *GUIUtil::ItemDelegate::qt_metacast(const char *_clname)
536 {
537  if (!_clname) return nullptr;
539  return static_cast<void*>(this);
540  return QItemDelegate::qt_metacast(_clname);
541 }
542 
543 int GUIUtil::ItemDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
544 {
545  _id = QItemDelegate::qt_metacall(_c, _id, _a);
546  if (_id < 0)
547  return _id;
548  if (_c == QMetaObject::InvokeMetaMethod) {
549  if (_id < 1)
550  qt_static_metacall(this, _c, _id, _a);
551  _id -= 1;
552  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
553  if (_id < 1)
554  *reinterpret_cast<int*>(_a[0]) = -1;
555  _id -= 1;
556  }
557  return _id;
558 }
559 
560 // SIGNAL 0
562 {
563  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
564 }
565 QT_WARNING_POP
566 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_GUIUtil__ThemedLabel_t qt_meta_stringdata_GUIUtil__ThemedLabel
static const uint qt_meta_data_GUIUtil__LabelOutOfFocusEventFilter[]
static const qt_meta_stringdata_GUIUtil__ItemDelegate_t qt_meta_stringdata_GUIUtil__ItemDelegate
static const qt_meta_stringdata_GUIUtil__ClickableProgressBar_t qt_meta_stringdata_GUIUtil__ClickableProgressBar
static const qt_meta_stringdata_GUIUtil__LabelOutOfFocusEventFilter_t qt_meta_stringdata_GUIUtil__LabelOutOfFocusEventFilter
static const qt_meta_stringdata_GUIUtil__ToolTipToRichTextFilter_t qt_meta_stringdata_GUIUtil__ToolTipToRichTextFilter
Definition: moc_guiutil.cpp:33
static const uint qt_meta_data_GUIUtil__ClickableProgressBar[]
static const uint qt_meta_data_GUIUtil__ToolTipToRichTextFilter[]
Definition: moc_guiutil.cpp:42
void clicked(const QPoint &point)
Emitted when the label is clicked.
static const uint qt_meta_data_GUIUtil__ThemedLabel[]
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_GUIUtil__ClickableLabel[]
void clicked(const QPoint &point)
Emitted when the progressbar is clicked.
static const qt_meta_stringdata_GUIUtil__ClickableLabel_t qt_meta_stringdata_GUIUtil__ClickableLabel
static const uint qt_meta_data_GUIUtil__ItemDelegate[]