Fabcoin Core  0.16.2
P2P Digital Currency
moc_tabbarinfo.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'tabbarinfo.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/tabbarinfo.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'tabbarinfo.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[5];
22  char stringdata0[56];
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_TabBarInfo_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_TabBarInfo_t qt_meta_stringdata_TabBarInfo = {
30  {
31 QT_MOC_LITERAL(0, 0, 10), // "TabBarInfo"
32 QT_MOC_LITERAL(1, 11, 17), // "on_currentChanged"
33 QT_MOC_LITERAL(2, 29, 0), // ""
34 QT_MOC_LITERAL(3, 30, 5), // "index"
35 QT_MOC_LITERAL(4, 36, 19) // "on_closeButtonClick"
36 
37  },
38  "TabBarInfo\0on_currentChanged\0\0index\0"
39  "on_closeButtonClick"
40 };
41 #undef QT_MOC_LITERAL
42 
43 static const uint qt_meta_data_TabBarInfo[] = {
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  2, 14, // methods
50  0, 0, // properties
51  0, 0, // enums/sets
52  0, 0, // constructors
53  0, // flags
54  0, // signalCount
55 
56  // slots: name, argc, parameters, tag, flags
57  1, 1, 24, 2, 0x0a /* Public */,
58  4, 0, 27, 2, 0x0a /* Public */,
59 
60  // slots: parameters
61  QMetaType::Void, QMetaType::Int, 3,
62  QMetaType::Void,
63 
64  0 // eod
65 };
66 
67 void TabBarInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  TabBarInfo *_t = static_cast<TabBarInfo *>(_o);
71  Q_UNUSED(_t)
72  switch (_id) {
73  case 0: _t->on_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
74  case 1: _t->on_closeButtonClick(); break;
75  default: ;
76  }
77  }
78 }
79 
80 const QMetaObject TabBarInfo::staticMetaObject = {
81  { &QObject::staticMetaObject, qt_meta_stringdata_TabBarInfo.data,
82  qt_meta_data_TabBarInfo, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
83 };
84 
85 
86 const QMetaObject *TabBarInfo::metaObject() const
87 {
88  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
89 }
90 
91 void *TabBarInfo::qt_metacast(const char *_clname)
92 {
93  if (!_clname) return Q_NULLPTR;
94  if (!strcmp(_clname, qt_meta_stringdata_TabBarInfo.stringdata0))
95  return static_cast<void*>(const_cast< TabBarInfo*>(this));
96  return QObject::qt_metacast(_clname);
97 }
98 
99 int TabBarInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100 {
101  _id = QObject::qt_metacall(_c, _id, _a);
102  if (_id < 0)
103  return _id;
104  if (_c == QMetaObject::InvokeMetaMethod) {
105  if (_id < 2)
106  qt_static_metacall(this, _c, _id, _a);
107  _id -= 2;
108  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
109  if (_id < 2)
110  *reinterpret_cast<int*>(_a[0]) = -1;
111  _id -= 2;
112  }
113  return _id;
114 }
115 QT_END_MOC_NAMESPACE
void on_closeButtonClick()
on_closeButtonClick Slot for close button click
Definition: tabbarinfo.cpp:134
uint32_t uint
Definition: libclwrapper.h:40
#define QT_MOC_LITERAL(idx, ofs, len)
void on_currentChanged(int index)
on_currentChanged Slot for changing the tab bar index
Definition: tabbarinfo.cpp:121
The TabBarInfo class Class for informations about tabs.
Definition: tabbarinfo.h:13