Fabcoin Core  0.16.2
P2P Digital Currency
moc_titlebar.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'titlebar.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/titlebar.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'titlebar.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[14];
22  char stringdata0[174];
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_TitleBar_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_TitleBar_t qt_meta_stringdata_TitleBar = {
30  {
31 QT_MOC_LITERAL(0, 0, 8), // "TitleBar"
32 QT_MOC_LITERAL(1, 9, 10), // "setBalance"
33 QT_MOC_LITERAL(2, 20, 0), // ""
34 QT_MOC_LITERAL(3, 21, 7), // "CAmount"
35 QT_MOC_LITERAL(4, 29, 7), // "balance"
36 QT_MOC_LITERAL(5, 37, 18), // "unconfirmedBalance"
37 QT_MOC_LITERAL(6, 56, 15), // "immatureBalance"
38 QT_MOC_LITERAL(7, 72, 5), // "stake"
39 QT_MOC_LITERAL(8, 78, 12), // "watchBalance"
40 QT_MOC_LITERAL(9, 91, 23), // "watchUnconfirmedBalance"
41 QT_MOC_LITERAL(10, 115, 20), // "watchImmatureBalance"
42 QT_MOC_LITERAL(11, 136, 10), // "watchStake"
43 QT_MOC_LITERAL(12, 147, 20), // "on_navigationResized"
44 QT_MOC_LITERAL(13, 168, 5) // "_size"
45 
46  },
47  "TitleBar\0setBalance\0\0CAmount\0balance\0"
48  "unconfirmedBalance\0immatureBalance\0"
49  "stake\0watchBalance\0watchUnconfirmedBalance\0"
50  "watchImmatureBalance\0watchStake\0"
51  "on_navigationResized\0_size"
52 };
53 #undef QT_MOC_LITERAL
54 
55 static const uint qt_meta_data_TitleBar[] = {
56 
57  // content:
58  7, // revision
59  0, // classname
60  0, 0, // classinfo
61  2, 14, // methods
62  0, 0, // properties
63  0, 0, // enums/sets
64  0, 0, // constructors
65  0, // flags
66  0, // signalCount
67 
68  // slots: name, argc, parameters, tag, flags
69  1, 8, 24, 2, 0x0a /* Public */,
70  12, 1, 41, 2, 0x0a /* Public */,
71 
72  // slots: parameters
73  QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 4, 5, 6, 7, 8, 9, 10, 11,
74  QMetaType::Void, QMetaType::QSize, 13,
75 
76  0 // eod
77 };
78 
79 void TitleBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80 {
81  if (_c == QMetaObject::InvokeMetaMethod) {
82  TitleBar *_t = static_cast<TitleBar *>(_o);
83  Q_UNUSED(_t)
84  switch (_id) {
85  case 0: _t->setBalance((*reinterpret_cast< const CAmount(*)>(_a[1])),(*reinterpret_cast< const CAmount(*)>(_a[2])),(*reinterpret_cast< const CAmount(*)>(_a[3])),(*reinterpret_cast< const CAmount(*)>(_a[4])),(*reinterpret_cast< const CAmount(*)>(_a[5])),(*reinterpret_cast< const CAmount(*)>(_a[6])),(*reinterpret_cast< const CAmount(*)>(_a[7])),(*reinterpret_cast< const CAmount(*)>(_a[8]))); break;
86  case 1: _t->on_navigationResized((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
87  default: ;
88  }
89  }
90 }
91 
92 const QMetaObject TitleBar::staticMetaObject = {
93  { &QWidget::staticMetaObject, qt_meta_stringdata_TitleBar.data,
94  qt_meta_data_TitleBar, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
95 };
96 
97 
98 const QMetaObject *TitleBar::metaObject() const
99 {
100  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
101 }
102 
103 void *TitleBar::qt_metacast(const char *_clname)
104 {
105  if (!_clname) return Q_NULLPTR;
106  if (!strcmp(_clname, qt_meta_stringdata_TitleBar.stringdata0))
107  return static_cast<void*>(const_cast< TitleBar*>(this));
108  return QWidget::qt_metacast(_clname);
109 }
110 
111 int TitleBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
112 {
113  _id = QWidget::qt_metacall(_c, _id, _a);
114  if (_id < 0)
115  return _id;
116  if (_c == QMetaObject::InvokeMetaMethod) {
117  if (_id < 2)
118  qt_static_metacall(this, _c, _id, _a);
119  _id -= 2;
120  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
121  if (_id < 2)
122  *reinterpret_cast<int*>(_a[0]) = -1;
123  _id -= 2;
124  }
125  return _id;
126 }
127 QT_END_MOC_NAMESPACE
void setBalance(const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, const CAmount &stake, const CAmount &watchBalance, const CAmount &watchUnconfirmedBalance, const CAmount &watchImmatureBalance, const CAmount &watchStake)
setBalance Slot for changing the balance
Definition: titlebar.cpp:59
uint32_t uint
Definition: libclwrapper.h:40
int64_t CAmount
Amount in lius (Can be negative)
Definition: amount.h:15
The TitleBar class Title bar widget.
Definition: titlebar.h:20
#define QT_MOC_LITERAL(idx, ofs, len)
void on_navigationResized(const QSize &_size)
on_navigationResized Slot for changing the size of the navigation bar
Definition: titlebar.cpp:76