123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- /****************************************************************************
- ** Meta object code from reading C++ file 'readthread.h'
- **
- ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.2.4)
- **
- ** WARNING! All changes made in this file will be lost!
- *****************************************************************************/
- #include <memory>
- #include "../readthread.h"
- #include <QtCore/qbytearray.h>
- #include <QtCore/qmetatype.h>
- #if !defined(Q_MOC_OUTPUT_REVISION)
- #error "The header file 'readthread.h' doesn't include <QObject>."
- #elif Q_MOC_OUTPUT_REVISION != 68
- #error "This file was generated using the moc from 6.2.4. 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_ReadThread_t {
- const uint offsetsAndSize[24];
- char stringdata0[84];
- };
- #define QT_MOC_LITERAL(ofs, len) \
- uint(offsetof(qt_meta_stringdata_ReadThread_t, stringdata0) + ofs), len
- static const qt_meta_stringdata_ReadThread_t qt_meta_stringdata_ReadThread = {
- {
- QT_MOC_LITERAL(0, 10), // "ReadThread"
- QT_MOC_LITERAL(11, 11), // "updateImage"
- QT_MOC_LITERAL(23, 0), // ""
- QT_MOC_LITERAL(24, 5), // "image"
- QT_MOC_LITERAL(30, 9), // "playState"
- QT_MOC_LITERAL(40, 9), // "PlayState"
- QT_MOC_LITERAL(50, 5), // "state"
- QT_MOC_LITERAL(56, 7), // "setPath"
- QT_MOC_LITERAL(64, 4), // "path"
- QT_MOC_LITERAL(69, 4), // "open"
- QT_MOC_LITERAL(74, 3), // "url"
- QT_MOC_LITERAL(78, 5) // "close"
- },
- "ReadThread\0updateImage\0\0image\0playState\0"
- "PlayState\0state\0setPath\0path\0open\0url\0"
- "close"
- };
- #undef QT_MOC_LITERAL
- static const uint qt_meta_data_ReadThread[] = {
- // content:
- 10, // revision
- 0, // classname
- 0, 0, // classinfo
- 6, 14, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0, 0, // constructors
- 0, // flags
- 2, // signalCount
- // signals: name, argc, parameters, tag, flags, initial metatype offsets
- 1, 1, 50, 2, 0x06, 1 /* Public */,
- 4, 1, 53, 2, 0x06, 3 /* Public */,
- // methods: name, argc, parameters, tag, flags, initial metatype offsets
- 7, 1, 56, 2, 0x02, 5 /* Public */,
- 9, 1, 59, 2, 0x02, 7 /* Public */,
- 9, 0, 62, 2, 0x22, 9 /* Public | MethodCloned */,
- 11, 0, 63, 2, 0x02, 10 /* Public */,
- // signals: parameters
- QMetaType::Void, QMetaType::QImage, 3,
- QMetaType::Void, 0x80000000 | 5, 6,
- // methods: parameters
- QMetaType::Void, QMetaType::QString, 8,
- QMetaType::Void, QMetaType::QString, 10,
- QMetaType::Void,
- QMetaType::Void,
- 0 // eod
- };
- void ReadThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
- {
- if (_c == QMetaObject::InvokeMetaMethod) {
- auto *_t = static_cast<ReadThread *>(_o);
- (void)_t;
- switch (_id) {
- case 0: _t->updateImage((*reinterpret_cast< std::add_pointer_t<QImage>>(_a[1]))); break;
- case 1: _t->playState((*reinterpret_cast< std::add_pointer_t<PlayState>>(_a[1]))); break;
- case 2: _t->setPath((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
- case 3: _t->open((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
- case 4: _t->open(); break;
- case 5: _t->close(); break;
- default: ;
- }
- } else if (_c == QMetaObject::IndexOfMethod) {
- int *result = reinterpret_cast<int *>(_a[0]);
- {
- using _t = void (ReadThread::*)(const QImage & );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::updateImage)) {
- *result = 0;
- return;
- }
- }
- {
- using _t = void (ReadThread::*)(PlayState );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::playState)) {
- *result = 1;
- return;
- }
- }
- }
- }
- const QMetaObject ReadThread::staticMetaObject = { {
- QMetaObject::SuperData::link<QThread::staticMetaObject>(),
- qt_meta_stringdata_ReadThread.offsetsAndSize,
- qt_meta_data_ReadThread,
- qt_static_metacall,
- nullptr,
- qt_incomplete_metaTypeArray<qt_meta_stringdata_ReadThread_t
- , QtPrivate::TypeAndForceComplete<ReadThread, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QImage &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<PlayState, std::false_type>
- , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
- >,
- nullptr
- } };
- const QMetaObject *ReadThread::metaObject() const
- {
- return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
- }
- void *ReadThread::qt_metacast(const char *_clname)
- {
- if (!_clname) return nullptr;
- if (!strcmp(_clname, qt_meta_stringdata_ReadThread.stringdata0))
- return static_cast<void*>(this);
- return QThread::qt_metacast(_clname);
- }
- int ReadThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QThread::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<QMetaType *>(_a[0]) = QMetaType();
- _id -= 6;
- }
- return _id;
- }
- // SIGNAL 0
- void ReadThread::updateImage(const QImage & _t1)
- {
- void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
- QMetaObject::activate(this, &staticMetaObject, 0, _a);
- }
- // SIGNAL 1
- void ReadThread::playState(PlayState _t1)
- {
- void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
- QMetaObject::activate(this, &staticMetaObject, 1, _a);
- }
- QT_WARNING_POP
- QT_END_MOC_NAMESPACE
|