123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- /****************************************************************************
- ** Meta object code from reading C++ file 'modelpage.h'
- **
- ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
- **
- ** WARNING! All changes made in this file will be lost!
- *****************************************************************************/
- #include "../modelpage.h"
- #include <QtCore/qbytearray.h>
- #include <QtCore/qmetatype.h>
- #if !defined(Q_MOC_OUTPUT_REVISION)
- #error "The header file 'modelpage.h' doesn't include <QObject>."
- #elif Q_MOC_OUTPUT_REVISION != 67
- #error "This file was generated using the moc from 5.9.0. 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_ModelAdd_t {
- QByteArrayData data[4];
- char stringdata0[29];
- };
- #define QT_MOC_LITERAL(idx, ofs, len) \
- Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
- qptrdiff(offsetof(qt_meta_stringdata_ModelAdd_t, stringdata0) + ofs \
- - idx * sizeof(QByteArrayData)) \
- )
- static const qt_meta_stringdata_ModelAdd_t qt_meta_stringdata_ModelAdd = {
- {
- QT_MOC_LITERAL(0, 0, 8), // "ModelAdd"
- QT_MOC_LITERAL(1, 9, 8), // "addModel"
- QT_MOC_LITERAL(2, 18, 0), // ""
- QT_MOC_LITERAL(3, 19, 9) // "sendModel"
- },
- "ModelAdd\0addModel\0\0sendModel"
- };
- #undef QT_MOC_LITERAL
- static const uint qt_meta_data_ModelAdd[] = {
- // content:
- 7, // revision
- 0, // classname
- 0, 0, // classinfo
- 2, 14, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0, 0, // constructors
- 0, // flags
- 2, // signalCount
- // signals: name, argc, parameters, tag, flags
- 1, 0, 24, 2, 0x06 /* Public */,
- 3, 0, 25, 2, 0x06 /* Public */,
- // signals: parameters
- QMetaType::Void,
- QMetaType::Void,
- 0 // eod
- };
- void ModelAdd::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
- {
- if (_c == QMetaObject::InvokeMetaMethod) {
- ModelAdd *_t = static_cast<ModelAdd *>(_o);
- Q_UNUSED(_t)
- switch (_id) {
- case 0: _t->addModel(); break;
- case 1: _t->sendModel(); break;
- default: ;
- }
- } else if (_c == QMetaObject::IndexOfMethod) {
- int *result = reinterpret_cast<int *>(_a[0]);
- void **func = reinterpret_cast<void **>(_a[1]);
- {
- typedef void (ModelAdd::*_t)();
- if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ModelAdd::addModel)) {
- *result = 0;
- return;
- }
- }
- {
- typedef void (ModelAdd::*_t)();
- if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ModelAdd::sendModel)) {
- *result = 1;
- return;
- }
- }
- }
- Q_UNUSED(_a);
- }
- const QMetaObject ModelAdd::staticMetaObject = {
- { &QDialog::staticMetaObject, qt_meta_stringdata_ModelAdd.data,
- qt_meta_data_ModelAdd, qt_static_metacall, nullptr, nullptr}
- };
- const QMetaObject *ModelAdd::metaObject() const
- {
- return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
- }
- void *ModelAdd::qt_metacast(const char *_clname)
- {
- if (!_clname) return nullptr;
- if (!strcmp(_clname, qt_meta_stringdata_ModelAdd.stringdata0))
- return static_cast<void*>(const_cast< ModelAdd*>(this));
- return QDialog::qt_metacast(_clname);
- }
- int ModelAdd::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QDialog::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- if (_id < 2)
- qt_static_metacall(this, _c, _id, _a);
- _id -= 2;
- } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
- if (_id < 2)
- *reinterpret_cast<int*>(_a[0]) = -1;
- _id -= 2;
- }
- return _id;
- }
- // SIGNAL 0
- void ModelAdd::addModel()
- {
- QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
- }
- // SIGNAL 1
- void ModelAdd::sendModel()
- {
- QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
- }
- struct qt_meta_stringdata_ModelPage_t {
- QByteArrayData data[8];
- char stringdata0[111];
- };
- #define QT_MOC_LITERAL(idx, ofs, len) \
- Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
- qptrdiff(offsetof(qt_meta_stringdata_ModelPage_t, stringdata0) + ofs \
- - idx * sizeof(QByteArrayData)) \
- )
- static const qt_meta_stringdata_ModelPage_t qt_meta_stringdata_ModelPage = {
- {
- QT_MOC_LITERAL(0, 0, 9), // "ModelPage"
- QT_MOC_LITERAL(1, 10, 19), // "onSearchButtonClick"
- QT_MOC_LITERAL(2, 30, 0), // ""
- QT_MOC_LITERAL(3, 31, 15), // "onUpButtonClick"
- QT_MOC_LITERAL(4, 47, 17), // "onNextButtonClick"
- QT_MOC_LITERAL(5, 65, 17), // "onEditButtonClick"
- QT_MOC_LITERAL(6, 83, 16), // "onDelButtonClick"
- QT_MOC_LITERAL(7, 100, 10) // "onShowNews"
- },
- "ModelPage\0onSearchButtonClick\0\0"
- "onUpButtonClick\0onNextButtonClick\0"
- "onEditButtonClick\0onDelButtonClick\0"
- "onShowNews"
- };
- #undef QT_MOC_LITERAL
- static const uint qt_meta_data_ModelPage[] = {
- // content:
- 7, // revision
- 0, // classname
- 0, 0, // classinfo
- 6, 14, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0, 0, // constructors
- 0, // flags
- 0, // signalCount
- // slots: name, argc, parameters, tag, flags
- 1, 0, 44, 2, 0x0a /* Public */,
- 3, 0, 45, 2, 0x0a /* Public */,
- 4, 0, 46, 2, 0x0a /* Public */,
- 5, 0, 47, 2, 0x0a /* Public */,
- 6, 0, 48, 2, 0x0a /* Public */,
- 7, 0, 49, 2, 0x0a /* Public */,
- // slots: parameters
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- 0 // eod
- };
- void ModelPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
- {
- if (_c == QMetaObject::InvokeMetaMethod) {
- ModelPage *_t = static_cast<ModelPage *>(_o);
- Q_UNUSED(_t)
- switch (_id) {
- case 0: _t->onSearchButtonClick(); break;
- case 1: _t->onUpButtonClick(); break;
- case 2: _t->onNextButtonClick(); break;
- case 3: _t->onEditButtonClick(); break;
- case 4: _t->onDelButtonClick(); break;
- case 5: _t->onShowNews(); break;
- default: ;
- }
- }
- Q_UNUSED(_a);
- }
- const QMetaObject ModelPage::staticMetaObject = {
- { &QWidget::staticMetaObject, qt_meta_stringdata_ModelPage.data,
- qt_meta_data_ModelPage, qt_static_metacall, nullptr, nullptr}
- };
- const QMetaObject *ModelPage::metaObject() const
- {
- return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
- }
- void *ModelPage::qt_metacast(const char *_clname)
- {
- if (!_clname) return nullptr;
- if (!strcmp(_clname, qt_meta_stringdata_ModelPage.stringdata0))
- return static_cast<void*>(const_cast< ModelPage*>(this));
- return QWidget::qt_metacast(_clname);
- }
- int ModelPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QWidget::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- if (_id < 6)
- qt_static_metacall(this, _c, _id, _a);
- _id -= 6;
- } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
- if (_id < 6)
- *reinterpret_cast<int*>(_a[0]) = -1;
- _id -= 6;
- }
- return _id;
- }
- QT_WARNING_POP
- QT_END_MOC_NAMESPACE
|