Bitcoin Core  0.21.1
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.9.4. 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
20 QT_WARNING_PUSH
21 QT_WARNING_DISABLE_DEPRECATED
23  QByteArrayData data[18];
24  char stringdata0[237];
25 };
26 #define QT_MOC_LITERAL(idx, ofs, len) \
27  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28  qptrdiff(offsetof(qt_meta_stringdata_AddressBookPage_t, stringdata0) + ofs \
29  - idx * sizeof(QByteArrayData)) \
30  )
32  {
33 QT_MOC_LITERAL(0, 0, 15), // "AddressBookPage"
34 QT_MOC_LITERAL(1, 16, 9), // "sendCoins"
35 QT_MOC_LITERAL(2, 26, 0), // ""
36 QT_MOC_LITERAL(3, 27, 4), // "addr"
37 QT_MOC_LITERAL(4, 32, 4), // "done"
38 QT_MOC_LITERAL(5, 37, 6), // "retval"
39 QT_MOC_LITERAL(6, 44, 24), // "on_deleteAddress_clicked"
40 QT_MOC_LITERAL(7, 69, 21), // "on_newAddress_clicked"
41 QT_MOC_LITERAL(8, 91, 22), // "on_copyAddress_clicked"
42 QT_MOC_LITERAL(9, 114, 17), // "onCopyLabelAction"
43 QT_MOC_LITERAL(10, 132, 12), // "onEditAction"
44 QT_MOC_LITERAL(11, 145, 23), // "on_exportButton_clicked"
45 QT_MOC_LITERAL(12, 169, 16), // "selectionChanged"
46 QT_MOC_LITERAL(13, 186, 14), // "contextualMenu"
47 QT_MOC_LITERAL(14, 201, 5), // "point"
48 QT_MOC_LITERAL(15, 207, 16), // "selectNewAddress"
49 QT_MOC_LITERAL(16, 224, 6), // "parent"
50 QT_MOC_LITERAL(17, 231, 5) // "begin"
51 
52  },
53  "AddressBookPage\0sendCoins\0\0addr\0done\0"
54  "retval\0on_deleteAddress_clicked\0"
55  "on_newAddress_clicked\0on_copyAddress_clicked\0"
56  "onCopyLabelAction\0onEditAction\0"
57  "on_exportButton_clicked\0selectionChanged\0"
58  "contextualMenu\0point\0selectNewAddress\0"
59  "parent\0begin"
60 };
61 #undef QT_MOC_LITERAL
62 
63 static const uint qt_meta_data_AddressBookPage[] = {
64 
65  // content:
66  7, // revision
67  0, // classname
68  0, 0, // classinfo
69  11, 14, // methods
70  0, 0, // properties
71  0, 0, // enums/sets
72  0, 0, // constructors
73  0, // flags
74  1, // signalCount
75 
76  // signals: name, argc, parameters, tag, flags
77  1, 1, 69, 2, 0x06 /* Public */,
78 
79  // slots: name, argc, parameters, tag, flags
80  4, 1, 72, 2, 0x0a /* Public */,
81  6, 0, 75, 2, 0x08 /* Private */,
82  7, 0, 76, 2, 0x08 /* Private */,
83  8, 0, 77, 2, 0x08 /* Private */,
84  9, 0, 78, 2, 0x08 /* Private */,
85  10, 0, 79, 2, 0x08 /* Private */,
86  11, 0, 80, 2, 0x08 /* Private */,
87  12, 0, 81, 2, 0x08 /* Private */,
88  13, 1, 82, 2, 0x08 /* Private */,
89  15, 3, 85, 2, 0x08 /* Private */,
90 
91  // signals: parameters
92  QMetaType::Void, QMetaType::QString, 3,
93 
94  // slots: parameters
95  QMetaType::Void, QMetaType::Int, 5,
96  QMetaType::Void,
97  QMetaType::Void,
98  QMetaType::Void,
99  QMetaType::Void,
100  QMetaType::Void,
101  QMetaType::Void,
102  QMetaType::Void,
103  QMetaType::Void, QMetaType::QPoint, 14,
104  QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, 16, 17, 2,
105 
106  0 // eod
107 };
108 
109 void AddressBookPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
110 {
111  if (_c == QMetaObject::InvokeMetaMethod) {
112  AddressBookPage *_t = static_cast<AddressBookPage *>(_o);
113  Q_UNUSED(_t)
114  switch (_id) {
115  case 0: _t->sendCoins((*reinterpret_cast< QString(*)>(_a[1]))); break;
116  case 1: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
117  case 2: _t->on_deleteAddress_clicked(); break;
118  case 3: _t->on_newAddress_clicked(); break;
119  case 4: _t->on_copyAddress_clicked(); break;
120  case 5: _t->onCopyLabelAction(); break;
121  case 6: _t->onEditAction(); break;
122  case 7: _t->on_exportButton_clicked(); break;
123  case 8: _t->selectionChanged(); break;
124  case 9: _t->contextualMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
125  case 10: _t->selectNewAddress((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
126  default: ;
127  }
128  } else if (_c == QMetaObject::IndexOfMethod) {
129  int *result = reinterpret_cast<int *>(_a[0]);
130  {
131  typedef void (AddressBookPage::*_t)(QString );
132  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AddressBookPage::sendCoins)) {
133  *result = 0;
134  return;
135  }
136  }
137  }
138 }
139 
140 const QMetaObject AddressBookPage::staticMetaObject = {
141  { &QDialog::staticMetaObject, qt_meta_stringdata_AddressBookPage.data,
142  qt_meta_data_AddressBookPage, qt_static_metacall, nullptr, nullptr}
143 };
144 
145 
146 const QMetaObject *AddressBookPage::metaObject() const
147 {
148  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
149 }
150 
151 void *AddressBookPage::qt_metacast(const char *_clname)
152 {
153  if (!_clname) return nullptr;
154  if (!strcmp(_clname, qt_meta_stringdata_AddressBookPage.stringdata0))
155  return static_cast<void*>(this);
156  return QDialog::qt_metacast(_clname);
157 }
158 
159 int AddressBookPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
160 {
161  _id = QDialog::qt_metacall(_c, _id, _a);
162  if (_id < 0)
163  return _id;
164  if (_c == QMetaObject::InvokeMetaMethod) {
165  if (_id < 11)
166  qt_static_metacall(this, _c, _id, _a);
167  _id -= 11;
168  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
169  if (_id < 11)
170  *reinterpret_cast<int*>(_a[0]) = -1;
171  _id -= 11;
172  }
173  return _id;
174 }
175 
176 // SIGNAL 0
177 void AddressBookPage::sendCoins(QString _t1)
178 {
179  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
180  QMetaObject::activate(this, &staticMetaObject, 0, _a);
181 }
182 QT_WARNING_POP
183 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)
static const qt_meta_stringdata_AddressBookPage_t qt_meta_stringdata_AddressBookPage
void on_exportButton_clicked()
Export button clicked.
void selectNewAddress(const QModelIndex &parent, int begin, int)
New entry/entries were added to address table.
static const uint qt_meta_data_AddressBookPage[]
void on_copyAddress_clicked()
Copy address of currently selected address entry to clipboard.
Widget that shows a list of sending or receiving addresses.
void done(int retval) override
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.