Fabcoin Core  0.16.2
P2P Digital Currency
moc_navigationbar.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'navigationbar.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/navigationbar.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'navigationbar.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[7];
22  char stringdata0[92];
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_NavigationBar_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_NavigationBar_t qt_meta_stringdata_NavigationBar = {
30  {
31 QT_MOC_LITERAL(0, 0, 13), // "NavigationBar"
32 QT_MOC_LITERAL(1, 14, 7), // "resized"
33 QT_MOC_LITERAL(2, 22, 0), // ""
34 QT_MOC_LITERAL(3, 23, 13), // "onSubBarClick"
35 QT_MOC_LITERAL(4, 37, 18), // "setToolButtonStyle"
36 QT_MOC_LITERAL(5, 56, 19), // "Qt::ToolButtonStyle"
37 QT_MOC_LITERAL(6, 76, 15) // "toolButtonStyle"
38 
39  },
40  "NavigationBar\0resized\0\0onSubBarClick\0"
41  "setToolButtonStyle\0Qt::ToolButtonStyle\0"
42  "toolButtonStyle"
43 };
44 #undef QT_MOC_LITERAL
45 
46 static const uint qt_meta_data_NavigationBar[] = {
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  3, 14, // methods
53  0, 0, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  1, // signalCount
58 
59  // signals: name, argc, parameters, tag, flags
60  1, 1, 29, 2, 0x06 /* Public */,
61 
62  // slots: name, argc, parameters, tag, flags
63  3, 1, 32, 2, 0x0a /* Public */,
64  4, 1, 35, 2, 0x0a /* Public */,
65 
66  // signals: parameters
67  QMetaType::Void, QMetaType::QSize, 2,
68 
69  // slots: parameters
70  QMetaType::Void, QMetaType::Bool, 2,
71  QMetaType::Void, 0x80000000 | 5, 6,
72 
73  0 // eod
74 };
75 
76 void NavigationBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77 {
78  if (_c == QMetaObject::InvokeMetaMethod) {
79  NavigationBar *_t = static_cast<NavigationBar *>(_o);
80  Q_UNUSED(_t)
81  switch (_id) {
82  case 0: _t->resized((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
83  case 1: _t->onSubBarClick((*reinterpret_cast< bool(*)>(_a[1]))); break;
84  case 2: _t->setToolButtonStyle((*reinterpret_cast< Qt::ToolButtonStyle(*)>(_a[1]))); break;
85  default: ;
86  }
87  } else if (_c == QMetaObject::IndexOfMethod) {
88  int *result = reinterpret_cast<int *>(_a[0]);
89  void **func = reinterpret_cast<void **>(_a[1]);
90  {
91  typedef void (NavigationBar::*_t)(const QSize & );
92  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NavigationBar::resized)) {
93  *result = 0;
94  }
95  }
96  }
97 }
98 
99 const QMetaObject NavigationBar::staticMetaObject = {
100  { &QWidget::staticMetaObject, qt_meta_stringdata_NavigationBar.data,
101  qt_meta_data_NavigationBar, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
102 };
103 
104 
105 const QMetaObject *NavigationBar::metaObject() const
106 {
107  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
108 }
109 
110 void *NavigationBar::qt_metacast(const char *_clname)
111 {
112  if (!_clname) return Q_NULLPTR;
113  if (!strcmp(_clname, qt_meta_stringdata_NavigationBar.stringdata0))
114  return static_cast<void*>(const_cast< NavigationBar*>(this));
115  return QWidget::qt_metacast(_clname);
116 }
117 
118 int NavigationBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
119 {
120  _id = QWidget::qt_metacall(_c, _id, _a);
121  if (_id < 0)
122  return _id;
123  if (_c == QMetaObject::InvokeMetaMethod) {
124  if (_id < 3)
125  qt_static_metacall(this, _c, _id, _a);
126  _id -= 3;
127  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
128  if (_id < 3)
129  *reinterpret_cast<int*>(_a[0]) = -1;
130  _id -= 3;
131  }
132  return _id;
133 }
134 
135 // SIGNAL 0
136 void NavigationBar::resized(const QSize & _t1)
137 {
138  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
139  QMetaObject::activate(this, &staticMetaObject, 0, _a);
140 }
141 QT_END_MOC_NAMESPACE
uint32_t uint
Definition: libclwrapper.h:40
void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle)
setToolButtonStyle Set the style for the tool buttons
void resized(const QSize &)
resized Signal that the size is changed
#define QT_MOC_LITERAL(idx, ofs, len)
void onSubBarClick(bool)
onSubBarClick Activate the sub-navigation bar
The NavigationBar class Custom control for navigation bar.
Definition: navigationbar.h:13