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.2.1. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
19 QT_BEGIN_MOC_NAMESPACE
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26 offsetof(qt_meta_stringdata_AddressBookPage_t, stringdata) + ofs \
27 - idx * sizeof(QByteArrayData) \
50 "AddressBookPage\0sendCoins\0\0addr\0done\0"
51 "retval\0on_deleteAddress_clicked\0"
52 "on_newAddress_clicked\0on_copyAddress_clicked\0"
53 "onCopyLabelAction\0onEditAction\0"
54 "on_exportButton_clicked\0selectionChanged\0"
55 "contextualMenu\0point\0selectNewAddress\0"
60 static const uint qt_meta_data_AddressBookPage[] = {
89 QMetaType::Void, QMetaType::QString, 3,
92 QMetaType::Void, QMetaType::Int, 5,
100 QMetaType::Void, QMetaType::QPoint, 14,
101 QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, 16, 17, 2,
106 void AddressBookPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
108 if (_c == QMetaObject::InvokeMetaMethod) {
111 case 0: _t->
sendCoins((*
reinterpret_cast< QString(*)
>(_a[1])));
break;
112 case 1: _t->
done((*
reinterpret_cast< int(*)
>(_a[1])));
break;
120 case 9: _t->
contextualMenu((*
reinterpret_cast< const QPoint(*)
>(_a[1])));
break;
121 case 10: _t->
selectNewAddress((*
reinterpret_cast< const QModelIndex(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
124 }
else if (_c == QMetaObject::IndexOfMethod) {
125 int *result =
reinterpret_cast<int *
>(_a[0]);
126 void **func =
reinterpret_cast<void **
>(_a[1]);
136 const QMetaObject AddressBookPage::staticMetaObject = {
137 { &QDialog::staticMetaObject, qt_meta_stringdata_AddressBookPage.
data,
138 qt_meta_data_AddressBookPage, qt_static_metacall, 0, 0}
142 const QMetaObject *AddressBookPage::metaObject()
const
144 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
147 void *AddressBookPage::qt_metacast(
const char *_clname)
149 if (!_clname)
return 0;
150 if (!strcmp(_clname, qt_meta_stringdata_AddressBookPage.
stringdata))
152 return QDialog::qt_metacast(_clname);
155 int AddressBookPage::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
157 _id = QDialog::qt_metacall(_c, _id, _a);
160 if (_c == QMetaObject::InvokeMetaMethod) {
162 qt_static_metacall(
this, _c, _id, _a);
164 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
166 *
reinterpret_cast<int*
>(_a[0]) = -1;
175 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
176 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
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)
void on_exportButton_clicked()
Export button clicked.
void selectNewAddress(const QModelIndex &parent, int begin, int)
New entry/entries were added to address table.
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.