/**************************************************************************** ** Meta object code from reading C++ file 'messagemodel.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include "../src/qt/messagemodel.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'messagemodel.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.18. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_MessageModel_t { QByteArrayData data[13]; char stringdata0[128]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_MessageModel_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_MessageModel_t qt_meta_stringdata_MessageModel = { { QT_MOC_LITERAL(0, 0, 12), // "MessageModel" QT_MOC_LITERAL(1, 13, 5), // "error" QT_MOC_LITERAL(2, 19, 0), // "" QT_MOC_LITERAL(3, 20, 5), // "title" QT_MOC_LITERAL(4, 26, 7), // "message" QT_MOC_LITERAL(5, 34, 5), // "modal" QT_MOC_LITERAL(6, 40, 10), // "newMessage" QT_MOC_LITERAL(7, 51, 12), // "SecMsgStored" QT_MOC_LITERAL(8, 64, 4), // "smsg" QT_MOC_LITERAL(9, 69, 16), // "newOutboxMessage" QT_MOC_LITERAL(10, 86, 14), // "walletUnlocked" QT_MOC_LITERAL(11, 101, 19), // "setEncryptionStatus" QT_MOC_LITERAL(12, 121, 6) // "status" }, "MessageModel\0error\0\0title\0message\0" "modal\0newMessage\0SecMsgStored\0smsg\0" "newOutboxMessage\0walletUnlocked\0" "setEncryptionStatus\0status" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_MessageModel[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 5, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 1, // signalCount // signals: name, argc, parameters, tag, flags 1, 3, 39, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 6, 1, 46, 2, 0x0a /* Public */, 9, 1, 49, 2, 0x0a /* Public */, 10, 0, 52, 2, 0x0a /* Public */, 11, 1, 53, 2, 0x0a /* Public */, // signals: parameters QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, 3, 4, 5, // slots: parameters QMetaType::Void, 0x80000000 | 7, 8, QMetaType::Void, 0x80000000 | 7, 8, QMetaType::Void, QMetaType::Void, QMetaType::Int, 12, 0 // eod }; void MessageModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); (void)_t; switch (_id) { case 0: _t->error((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; case 1: _t->newMessage((*reinterpret_cast< const SecMsgStored(*)>(_a[1]))); break; case 2: _t->newOutboxMessage((*reinterpret_cast< const SecMsgStored(*)>(_a[1]))); break; case 3: _t->walletUnlocked(); break; case 4: _t->setEncryptionStatus((*reinterpret_cast< int(*)>(_a[1]))); break; default: ; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (MessageModel::*)(const QString & , const QString & , bool ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageModel::error)) { *result = 0; return; } } } } QT_INIT_METAOBJECT const QMetaObject MessageModel::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_MessageModel.data, qt_meta_data_MessageModel, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *MessageModel::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *MessageModel::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_MessageModel.stringdata0)) return static_cast(this); return QAbstractTableModel::qt_metacast(_clname); } int MessageModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QAbstractTableModel::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 5) qt_static_metacall(this, _c, _id, _a); _id -= 5; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 5) *reinterpret_cast(_a[0]) = -1; _id -= 5; } return _id; } // SIGNAL 0 void MessageModel::error(const QString & _t1, const QString & _t2, bool _t3) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))), const_cast(reinterpret_cast(std::addressof(_t3))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } QT_WARNING_POP QT_END_MOC_NAMESPACE