Anoncoin  0.9.4
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.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.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[18];
22  char stringdata[238];
23 };
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) \
28  )
29 static const qt_meta_stringdata_AddressBookPage_t qt_meta_stringdata_AddressBookPage = {
30  {
31 QT_MOC_LITERAL(0, 0, 15),
32 QT_MOC_LITERAL(1, 16, 9),
33 QT_MOC_LITERAL(2, 26, 0),
34 QT_MOC_LITERAL(3, 27, 4),
35 QT_MOC_LITERAL(4, 32, 4),
36 QT_MOC_LITERAL(5, 37, 6),
37 QT_MOC_LITERAL(6, 44, 24),
38 QT_MOC_LITERAL(7, 69, 21),
39 QT_MOC_LITERAL(8, 91, 22),
40 QT_MOC_LITERAL(9, 114, 17),
41 QT_MOC_LITERAL(10, 132, 12),
42 QT_MOC_LITERAL(11, 145, 23),
43 QT_MOC_LITERAL(12, 169, 16),
44 QT_MOC_LITERAL(13, 186, 14),
45 QT_MOC_LITERAL(14, 201, 5),
46 QT_MOC_LITERAL(15, 207, 16),
47 QT_MOC_LITERAL(16, 224, 6),
48 QT_MOC_LITERAL(17, 231, 5)
49  },
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"
56  "parent\0begin\0"
57 };
58 #undef QT_MOC_LITERAL
59 
60 static const uint qt_meta_data_AddressBookPage[] = {
61 
62  // content:
63  7, // revision
64  0, // classname
65  0, 0, // classinfo
66  11, 14, // methods
67  0, 0, // properties
68  0, 0, // enums/sets
69  0, 0, // constructors
70  0, // flags
71  1, // signalCount
72 
73  // signals: name, argc, parameters, tag, flags
74  1, 1, 69, 2, 0x06,
75 
76  // slots: name, argc, parameters, tag, flags
77  4, 1, 72, 2, 0x0a,
78  6, 0, 75, 2, 0x08,
79  7, 0, 76, 2, 0x08,
80  8, 0, 77, 2, 0x08,
81  9, 0, 78, 2, 0x08,
82  10, 0, 79, 2, 0x08,
83  11, 0, 80, 2, 0x08,
84  12, 0, 81, 2, 0x08,
85  13, 1, 82, 2, 0x08,
86  15, 3, 85, 2, 0x08,
87 
88  // signals: parameters
89  QMetaType::Void, QMetaType::QString, 3,
90 
91  // slots: parameters
92  QMetaType::Void, QMetaType::Int, 5,
93  QMetaType::Void,
94  QMetaType::Void,
95  QMetaType::Void,
96  QMetaType::Void,
97  QMetaType::Void,
98  QMetaType::Void,
99  QMetaType::Void,
100  QMetaType::Void, QMetaType::QPoint, 14,
101  QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, 16, 17, 2,
102 
103  0 // eod
104 };
105 
106 void AddressBookPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
107 {
108  if (_c == QMetaObject::InvokeMetaMethod) {
109  AddressBookPage *_t = static_cast<AddressBookPage *>(_o);
110  switch (_id) {
111  case 0: _t->sendCoins((*reinterpret_cast< QString(*)>(_a[1]))); break;
112  case 1: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
113  case 2: _t->on_deleteAddress_clicked(); break;
114  case 3: _t->on_newAddress_clicked(); break;
115  case 4: _t->on_copyAddress_clicked(); break;
116  case 5: _t->onCopyLabelAction(); break;
117  case 6: _t->onEditAction(); break;
118  case 7: _t->on_exportButton_clicked(); break;
119  case 8: _t->selectionChanged(); 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;
122  default: ;
123  }
124  } else if (_c == QMetaObject::IndexOfMethod) {
125  int *result = reinterpret_cast<int *>(_a[0]);
126  void **func = reinterpret_cast<void **>(_a[1]);
127  {
128  typedef void (AddressBookPage::*_t)(QString );
129  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AddressBookPage::sendCoins)) {
130  *result = 0;
131  }
132  }
133  }
134 }
135 
136 const QMetaObject AddressBookPage::staticMetaObject = {
137  { &QDialog::staticMetaObject, qt_meta_stringdata_AddressBookPage.data,
138  qt_meta_data_AddressBookPage, qt_static_metacall, 0, 0}
139 };
140 
141 
142 const QMetaObject *AddressBookPage::metaObject() const
143 {
144  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
145 }
146 
147 void *AddressBookPage::qt_metacast(const char *_clname)
148 {
149  if (!_clname) return 0;
150  if (!strcmp(_clname, qt_meta_stringdata_AddressBookPage.stringdata))
151  return static_cast<void*>(const_cast< AddressBookPage*>(this));
152  return QDialog::qt_metacast(_clname);
153 }
154 
155 int AddressBookPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
156 {
157  _id = QDialog::qt_metacall(_c, _id, _a);
158  if (_id < 0)
159  return _id;
160  if (_c == QMetaObject::InvokeMetaMethod) {
161  if (_id < 11)
162  qt_static_metacall(this, _c, _id, _a);
163  _id -= 11;
164  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
165  if (_id < 11)
166  *reinterpret_cast<int*>(_a[0]) = -1;
167  _id -= 11;
168  }
169  return _id;
170 }
171 
172 // SIGNAL 0
173 void AddressBookPage::sendCoins(QString _t1)
174 {
175  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
176  QMetaObject::activate(this, &staticMetaObject, 0, _a);
177 }
178 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)
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.