9 #include <QtCore/qbytearray.h> 10 #include <QtCore/qmetatype.h> 11 #if !defined(Q_MOC_OUTPUT_REVISION) 12 #error "The header file 'addresstablemodel.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.)" 19 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_DISABLE_DEPRECATED
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_AddressTableModel_t, stringdata0) + ofs \ 29 - idx * sizeof(QByteArrayData)) \ 43 "AddressTableModel\0updateEntry\0\0address\0" 44 "label\0isMine\0purpose\0status" 65 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 3, 4, 5, 6, 7,
70 void AddressTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
72 if (_c == QMetaObject::InvokeMetaMethod) {
76 case 0: _t->
updateEntry((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< bool(*)
>(_a[3])),(*
reinterpret_cast< const QString(*)
>(_a[4])),(*
reinterpret_cast< int(*)
>(_a[5])));
break;
82 const QMetaObject AddressTableModel::staticMetaObject = {
88 const QMetaObject *AddressTableModel::metaObject()
const 90 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
93 void *AddressTableModel::qt_metacast(
const char *_clname)
95 if (!_clname)
return nullptr;
97 return static_cast<void*
>(
this);
98 return QAbstractTableModel::qt_metacast(_clname);
101 int AddressTableModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
103 _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
106 if (_c == QMetaObject::InvokeMetaMethod) {
108 qt_static_metacall(
this, _c, _id, _a);
110 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
112 *
reinterpret_cast<int*
>(_a[0]) = -1;
static const uint qt_meta_data_AddressTableModel[]
static const qt_meta_stringdata_AddressTableModel_t qt_meta_stringdata_AddressTableModel
Qt model of the address book in the core.
#define QT_MOC_LITERAL(idx, ofs, len)
void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)