Fabcoin Core  0.16.2
P2P Digital Currency
moc_contractbookpage.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'contractbookpage.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/contractbookpage.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'contractbookpage.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[17];
22  char stringdata0[253];
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_ContractBookPage_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_ContractBookPage_t qt_meta_stringdata_ContractBookPage = {
30  {
31 QT_MOC_LITERAL(0, 0, 16), // "ContractBookPage"
32 QT_MOC_LITERAL(1, 17, 4), // "done"
33 QT_MOC_LITERAL(2, 22, 0), // ""
34 QT_MOC_LITERAL(3, 23, 6), // "retval"
35 QT_MOC_LITERAL(4, 30, 29), // "on_deleteContractInfo_clicked"
36 QT_MOC_LITERAL(5, 60, 26), // "on_newContractInfo_clicked"
37 QT_MOC_LITERAL(6, 87, 22), // "on_copyAddress_clicked"
38 QT_MOC_LITERAL(7, 110, 16), // "onCopyNameAction"
39 QT_MOC_LITERAL(8, 127, 15), // "onCopyABIAction"
40 QT_MOC_LITERAL(9, 143, 12), // "onEditAction"
41 QT_MOC_LITERAL(10, 156, 23), // "on_exportButton_clicked"
42 QT_MOC_LITERAL(11, 180, 16), // "selectionChanged"
43 QT_MOC_LITERAL(12, 197, 14), // "contextualMenu"
44 QT_MOC_LITERAL(13, 212, 5), // "point"
45 QT_MOC_LITERAL(14, 218, 21), // "selectNewContractInfo"
46 QT_MOC_LITERAL(15, 240, 6), // "parent"
47 QT_MOC_LITERAL(16, 247, 5) // "begin"
48 
49  },
50  "ContractBookPage\0done\0\0retval\0"
51  "on_deleteContractInfo_clicked\0"
52  "on_newContractInfo_clicked\0"
53  "on_copyAddress_clicked\0onCopyNameAction\0"
54  "onCopyABIAction\0onEditAction\0"
55  "on_exportButton_clicked\0selectionChanged\0"
56  "contextualMenu\0point\0selectNewContractInfo\0"
57  "parent\0begin"
58 };
59 #undef QT_MOC_LITERAL
60 
61 static const uint qt_meta_data_ContractBookPage[] = {
62 
63  // content:
64  7, // revision
65  0, // classname
66  0, 0, // classinfo
67  11, 14, // methods
68  0, 0, // properties
69  0, 0, // enums/sets
70  0, 0, // constructors
71  0, // flags
72  0, // signalCount
73 
74  // slots: name, argc, parameters, tag, flags
75  1, 1, 69, 2, 0x0a /* Public */,
76  4, 0, 72, 2, 0x08 /* Private */,
77  5, 0, 73, 2, 0x08 /* Private */,
78  6, 0, 74, 2, 0x08 /* Private */,
79  7, 0, 75, 2, 0x08 /* Private */,
80  8, 0, 76, 2, 0x08 /* Private */,
81  9, 0, 77, 2, 0x08 /* Private */,
82  10, 0, 78, 2, 0x08 /* Private */,
83  11, 0, 79, 2, 0x08 /* Private */,
84  12, 1, 80, 2, 0x08 /* Private */,
85  14, 3, 83, 2, 0x08 /* Private */,
86 
87  // slots: parameters
88  QMetaType::Void, QMetaType::Int, 3,
89  QMetaType::Void,
90  QMetaType::Void,
91  QMetaType::Void,
92  QMetaType::Void,
93  QMetaType::Void,
94  QMetaType::Void,
95  QMetaType::Void,
96  QMetaType::Void,
97  QMetaType::Void, QMetaType::QPoint, 13,
98  QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, 15, 16, 2,
99 
100  0 // eod
101 };
102 
103 void ContractBookPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
104 {
105  if (_c == QMetaObject::InvokeMetaMethod) {
106  ContractBookPage *_t = static_cast<ContractBookPage *>(_o);
107  Q_UNUSED(_t)
108  switch (_id) {
109  case 0: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
110  case 1: _t->on_deleteContractInfo_clicked(); break;
111  case 2: _t->on_newContractInfo_clicked(); break;
112  case 3: _t->on_copyAddress_clicked(); break;
113  case 4: _t->onCopyNameAction(); break;
114  case 5: _t->onCopyABIAction(); break;
115  case 6: _t->onEditAction(); break;
116  case 7: _t->on_exportButton_clicked(); break;
117  case 8: _t->selectionChanged(); break;
118  case 9: _t->contextualMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
119  case 10: _t->selectNewContractInfo((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
120  default: ;
121  }
122  }
123 }
124 
125 const QMetaObject ContractBookPage::staticMetaObject = {
126  { &QDialog::staticMetaObject, qt_meta_stringdata_ContractBookPage.data,
127  qt_meta_data_ContractBookPage, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
128 };
129 
130 
131 const QMetaObject *ContractBookPage::metaObject() const
132 {
133  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
134 }
135 
136 void *ContractBookPage::qt_metacast(const char *_clname)
137 {
138  if (!_clname) return Q_NULLPTR;
139  if (!strcmp(_clname, qt_meta_stringdata_ContractBookPage.stringdata0))
140  return static_cast<void*>(const_cast< ContractBookPage*>(this));
141  return QDialog::qt_metacast(_clname);
142 }
143 
144 int ContractBookPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
145 {
146  _id = QDialog::qt_metacall(_c, _id, _a);
147  if (_id < 0)
148  return _id;
149  if (_c == QMetaObject::InvokeMetaMethod) {
150  if (_id < 11)
151  qt_static_metacall(this, _c, _id, _a);
152  _id -= 11;
153  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
154  if (_id < 11)
155  *reinterpret_cast<int*>(_a[0]) = -1;
156  _id -= 11;
157  }
158  return _id;
159 }
160 QT_END_MOC_NAMESPACE
void contextualMenu(const QPoint &point)
Spawn contextual menu (right mouse menu) for contract info book entry.
void done(int retval)
void on_newContractInfo_clicked()
Create a new contract info.
void selectionChanged()
Set button states based on selection.
uint32_t uint
Definition: libclwrapper.h:40
void selectNewContractInfo(const QModelIndex &parent, int begin, int)
New entry/entries were added to contract info table.
void onCopyNameAction()
Copy label of currently selected contract info entry to clipboard (no button)
void on_copyAddress_clicked()
Copy address of currently selected contract info entry to clipboard.
void on_exportButton_clicked()
Export button clicked.
void onCopyABIAction()
Copy ABI of currently selected contract info entry to clipboard (no button)
void on_deleteContractInfo_clicked()
Delete currently selected contract info entry.
#define QT_MOC_LITERAL(idx, ofs, len)
void onEditAction()
Edit currently selected contract info entry (no button)