Fabcoin Core  0.16.2
P2P Digital Currency
moc_addressbookpage.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'addressbookpage.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/addressbookpage.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'addressbookpage.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[18];
22  char stringdata0[237];
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_AddressBookPage_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_AddressBookPage_t qt_meta_stringdata_AddressBookPage = {
30  {
31 QT_MOC_LITERAL(0, 0, 15), // "AddressBookPage"
32 QT_MOC_LITERAL(1, 16, 9), // "sendCoins"
33 QT_MOC_LITERAL(2, 26, 0), // ""
34 QT_MOC_LITERAL(3, 27, 4), // "addr"
35 QT_MOC_LITERAL(4, 32, 4), // "done"
36 QT_MOC_LITERAL(5, 37, 6), // "retval"
37 QT_MOC_LITERAL(6, 44, 24), // "on_deleteAddress_clicked"
38 QT_MOC_LITERAL(7, 69, 21), // "on_newAddress_clicked"
39 QT_MOC_LITERAL(8, 91, 22), // "on_copyAddress_clicked"
40 QT_MOC_LITERAL(9, 114, 17), // "onCopyLabelAction"
41 QT_MOC_LITERAL(10, 132, 12), // "onEditAction"
42 QT_MOC_LITERAL(11, 145, 23), // "on_exportButton_clicked"
43 QT_MOC_LITERAL(12, 169, 16), // "selectionChanged"
44 QT_MOC_LITERAL(13, 186, 14), // "contextualMenu"
45 QT_MOC_LITERAL(14, 201, 5), // "point"
46 QT_MOC_LITERAL(15, 207, 16), // "selectNewAddress"
47 QT_MOC_LITERAL(16, 224, 6), // "parent"
48 QT_MOC_LITERAL(17, 231, 5) // "begin"
49 
50  },
51  "AddressBookPage\0sendCoins\0\0addr\0done\0"
52  "retval\0on_deleteAddress_clicked\0"
53  "on_newAddress_clicked\0on_copyAddress_clicked\0"
54  "onCopyLabelAction\0onEditAction\0"
55  "on_exportButton_clicked\0selectionChanged\0"
56  "contextualMenu\0point\0selectNewAddress\0"
57  "parent\0begin"
58 };
59 #undef QT_MOC_LITERAL
60 
61 static const uint qt_meta_data_AddressBookPage[] = {
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  1, // signalCount
73 
74  // signals: name, argc, parameters, tag, flags
75  1, 1, 69, 2, 0x06 /* Public */,
76 
77  // slots: name, argc, parameters, tag, flags
78  4, 1, 72, 2, 0x0a /* Public */,
79  6, 0, 75, 2, 0x08 /* Private */,
80  7, 0, 76, 2, 0x08 /* Private */,
81  8, 0, 77, 2, 0x08 /* Private */,
82  9, 0, 78, 2, 0x08 /* Private */,
83  10, 0, 79, 2, 0x08 /* Private */,
84  11, 0, 80, 2, 0x08 /* Private */,
85  12, 0, 81, 2, 0x08 /* Private */,
86  13, 1, 82, 2, 0x08 /* Private */,
87  15, 3, 85, 2, 0x08 /* Private */,
88 
89  // signals: parameters
90  QMetaType::Void, QMetaType::QString, 3,
91 
92  // slots: parameters
93  QMetaType::Void, QMetaType::Int, 5,
94  QMetaType::Void,
95  QMetaType::Void,
96  QMetaType::Void,
97  QMetaType::Void,
98  QMetaType::Void,
99  QMetaType::Void,
100  QMetaType::Void,
101  QMetaType::Void, QMetaType::QPoint, 14,
102  QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, 16, 17, 2,
103 
104  0 // eod
105 };
106 
107 void AddressBookPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
108 {
109  if (_c == QMetaObject::InvokeMetaMethod) {
110  AddressBookPage *_t = static_cast<AddressBookPage *>(_o);
111  Q_UNUSED(_t)
112  switch (_id) {
113  case 0: _t->sendCoins((*reinterpret_cast< QString(*)>(_a[1]))); break;
114  case 1: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
115  case 2: _t->on_deleteAddress_clicked(); break;
116  case 3: _t->on_newAddress_clicked(); break;
117  case 4: _t->on_copyAddress_clicked(); break;
118  case 5: _t->onCopyLabelAction(); break;
119  case 6: _t->onEditAction(); break;
120  case 7: _t->on_exportButton_clicked(); break;
121  case 8: _t->selectionChanged(); break;
122  case 9: _t->contextualMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
123  case 10: _t->selectNewAddress((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
124  default: ;
125  }
126  } else if (_c == QMetaObject::IndexOfMethod) {
127  int *result = reinterpret_cast<int *>(_a[0]);
128  void **func = reinterpret_cast<void **>(_a[1]);
129  {
130  typedef void (AddressBookPage::*_t)(QString );
131  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AddressBookPage::sendCoins)) {
132  *result = 0;
133  }
134  }
135  }
136 }
137 
138 const QMetaObject AddressBookPage::staticMetaObject = {
139  { &QDialog::staticMetaObject, qt_meta_stringdata_AddressBookPage.data,
140  qt_meta_data_AddressBookPage, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
141 };
142 
143 
144 const QMetaObject *AddressBookPage::metaObject() const
145 {
146  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
147 }
148 
149 void *AddressBookPage::qt_metacast(const char *_clname)
150 {
151  if (!_clname) return Q_NULLPTR;
152  if (!strcmp(_clname, qt_meta_stringdata_AddressBookPage.stringdata0))
153  return static_cast<void*>(const_cast< AddressBookPage*>(this));
154  return QDialog::qt_metacast(_clname);
155 }
156 
157 int AddressBookPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
158 {
159  _id = QDialog::qt_metacall(_c, _id, _a);
160  if (_id < 0)
161  return _id;
162  if (_c == QMetaObject::InvokeMetaMethod) {
163  if (_id < 11)
164  qt_static_metacall(this, _c, _id, _a);
165  _id -= 11;
166  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
167  if (_id < 11)
168  *reinterpret_cast<int*>(_a[0]) = -1;
169  _id -= 11;
170  }
171  return _id;
172 }
173 
174 // SIGNAL 0
175 void AddressBookPage::sendCoins(QString _t1)
176 {
177  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
178  QMetaObject::activate(this, &staticMetaObject, 0, _a);
179 }
180 QT_END_MOC_NAMESPACE
void on_newAddress_clicked()
Create a new address for receiving coins and / or add a new address book entry.
void onCopyLabelAction()
Copy label of currently selected address entry to clipboard (no button)
void onEditAction()
Edit currently selected address entry (no button)
uint32_t uint
Definition: libclwrapper.h:40
void on_exportButton_clicked()
Export button clicked.
void selectNewAddress(const QModelIndex &parent, int begin, int)
New entry/entries were added to address table.
void done(int retval)
void on_copyAddress_clicked()
Copy address of currently selected address entry to clipboard.
Widget that shows a list of sending or receiving addresses.
void selectionChanged()
Set button states based on selected tab and selection.
#define QT_MOC_LITERAL(idx, ofs, len)
void sendCoins(QString addr)
void contextualMenu(const QPoint &point)
Spawn contextual menu (right mouse menu) for address book entry.
void on_deleteAddress_clicked()
Delete currently selected address entry.