/**************************************************************************** ** Meta object code from reading C++ file 'qtcamera.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include "../qcamera/qtcamera.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'qtcamera.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.2. 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_qtCamera_t { QByteArrayData data[29]; char stringdata0[400]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_qtCamera_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_qtCamera_t qt_meta_stringdata_qtCamera = { { QT_MOC_LITERAL(0, 0, 8), // "qtCamera" QT_MOC_LITERAL(1, 9, 9), // "setCamera" QT_MOC_LITERAL(2, 19, 0), // "" QT_MOC_LITERAL(3, 20, 11), // "QCameraInfo" QT_MOC_LITERAL(4, 32, 10), // "cameraInfo" QT_MOC_LITERAL(5, 43, 24), // "configureCaptureSettings" QT_MOC_LITERAL(6, 68, 9), // "getButton" QT_MOC_LITERAL(7, 78, 12), // "QPushButton*" QT_MOC_LITERAL(8, 91, 6), // "record" QT_MOC_LITERAL(9, 98, 4), // "stop" QT_MOC_LITERAL(10, 103, 9), // "takeImage" QT_MOC_LITERAL(11, 113, 19), // "displayCaptureError" QT_MOC_LITERAL(12, 133, 26), // "QCameraImageCapture::Error" QT_MOC_LITERAL(13, 160, 11), // "errorString" QT_MOC_LITERAL(14, 172, 20), // "displayRecorderError" QT_MOC_LITERAL(15, 193, 18), // "displayCameraError" QT_MOC_LITERAL(16, 212, 17), // "updateCameraState" QT_MOC_LITERAL(17, 230, 14), // "QCamera::State" QT_MOC_LITERAL(18, 245, 17), // "updateCaptureMode" QT_MOC_LITERAL(19, 263, 19), // "updateRecorderState" QT_MOC_LITERAL(20, 283, 21), // "QMediaRecorder::State" QT_MOC_LITERAL(21, 305, 5), // "state" QT_MOC_LITERAL(22, 311, 16), // "updateRecordTime" QT_MOC_LITERAL(23, 328, 10), // "imageSaved" QT_MOC_LITERAL(24, 339, 2), // "id" QT_MOC_LITERAL(25, 342, 8), // "fileName" QT_MOC_LITERAL(26, 351, 15), // "on_cameraSwitch" QT_MOC_LITERAL(27, 367, 17), // "on_captureClicked" QT_MOC_LITERAL(28, 385, 14) // "on_exitClicked" }, "qtCamera\0setCamera\0\0QCameraInfo\0" "cameraInfo\0configureCaptureSettings\0" "getButton\0QPushButton*\0record\0stop\0" "takeImage\0displayCaptureError\0" "QCameraImageCapture::Error\0errorString\0" "displayRecorderError\0displayCameraError\0" "updateCameraState\0QCamera::State\0" "updateCaptureMode\0updateRecorderState\0" "QMediaRecorder::State\0state\0" "updateRecordTime\0imageSaved\0id\0fileName\0" "on_cameraSwitch\0on_captureClicked\0" "on_exitClicked" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_qtCamera[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 17, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 0, // signalCount // slots: name, argc, parameters, tag, flags 1, 1, 99, 2, 0x08 /* Private */, 5, 0, 102, 2, 0x08 /* Private */, 6, 0, 103, 2, 0x08 /* Private */, 8, 0, 104, 2, 0x08 /* Private */, 9, 0, 105, 2, 0x08 /* Private */, 10, 0, 106, 2, 0x08 /* Private */, 11, 3, 107, 2, 0x08 /* Private */, 14, 0, 114, 2, 0x08 /* Private */, 15, 0, 115, 2, 0x08 /* Private */, 16, 1, 116, 2, 0x08 /* Private */, 18, 0, 119, 2, 0x08 /* Private */, 19, 1, 120, 2, 0x08 /* Private */, 22, 0, 123, 2, 0x08 /* Private */, 23, 2, 124, 2, 0x08 /* Private */, 26, 0, 129, 2, 0x08 /* Private */, 27, 0, 130, 2, 0x08 /* Private */, 28, 0, 131, 2, 0x08 /* Private */, // slots: parameters QMetaType::Void, 0x80000000 | 3, 4, QMetaType::Void, 0x80000000 | 7, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Int, 0x80000000 | 12, QMetaType::QString, 2, 2, 13, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0x80000000 | 17, 2, QMetaType::Void, QMetaType::Void, 0x80000000 | 20, 21, QMetaType::Void, QMetaType::Void, QMetaType::Int, QMetaType::QString, 24, 25, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0 // eod }; void qtCamera::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); Q_UNUSED(_t) switch (_id) { case 0: _t->setCamera((*reinterpret_cast< const QCameraInfo(*)>(_a[1]))); break; case 1: _t->configureCaptureSettings(); break; case 2: { QPushButton* _r = _t->getButton(); if (_a[0]) *reinterpret_cast< QPushButton**>(_a[0]) = std::move(_r); } break; case 3: _t->record(); break; case 4: _t->stop(); break; case 5: _t->takeImage(); break; case 6: _t->displayCaptureError((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QCameraImageCapture::Error(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break; case 7: _t->displayRecorderError(); break; case 8: _t->displayCameraError(); break; case 9: _t->updateCameraState((*reinterpret_cast< QCamera::State(*)>(_a[1]))); break; case 10: _t->updateCaptureMode(); break; case 11: _t->updateRecorderState((*reinterpret_cast< QMediaRecorder::State(*)>(_a[1]))); break; case 12: _t->updateRecordTime(); break; case 13: _t->imageSaved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; case 14: _t->on_cameraSwitch(); break; case 15: _t->on_captureClicked(); break; case 16: _t->on_exitClicked(); break; default: ; } } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = -1; break; case 6: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 1: *reinterpret_cast(_a[0]) = qRegisterMetaType< QCameraImageCapture::Error >(); break; } break; case 9: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QCamera::State >(); break; } break; case 11: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QMediaRecorder::State >(); break; } break; } } } QT_INIT_METAOBJECT const QMetaObject qtCamera::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_qtCamera.data, qt_meta_data_qtCamera, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *qtCamera::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *qtCamera::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_qtCamera.stringdata0)) return static_cast(this); return QMainWindow::qt_metacast(_clname); } int qtCamera::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QMainWindow::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 17) qt_static_metacall(this, _c, _id, _a); _id -= 17; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 17) qt_static_metacall(this, _c, _id, _a); _id -= 17; } return _id; } QT_WARNING_POP QT_END_MOC_NAMESPACE