/****************************************************************************
** Meta object code from reading C++ file 'fileabstractdatajob.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../libkgapi-26.04.3/src/drive/fileabstractdatajob.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fileabstractdatajob.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN6KGAPI25Drive19FileAbstractDataJobE_t {};
} // unnamed namespace

template <> constexpr inline auto KGAPI2::Drive::FileAbstractDataJob::qt_create_metaobjectdata<qt_meta_tag_ZN6KGAPI25Drive19FileAbstractDataJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KGAPI2::Drive::FileAbstractDataJob",
        "convert",
        "enforceSingleParent",
        "includePermissionsForView",
        "ocr",
        "ocrLanguage",
        "pinned",
        "supportsAllDrives",
        "timedTextLanguage",
        "timedTextTrackName",
        "useContentAsIndexableText"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'convert'
        QtMocHelpers::PropertyData<bool>(1, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'enforceSingleParent'
        QtMocHelpers::PropertyData<bool>(2, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'includePermissionsForView'
        QtMocHelpers::PropertyData<QString>(3, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'ocr'
        QtMocHelpers::PropertyData<bool>(4, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'ocrLanguage'
        QtMocHelpers::PropertyData<QString>(5, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'pinned'
        QtMocHelpers::PropertyData<bool>(6, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'supportsAllDrives'
        QtMocHelpers::PropertyData<bool>(7, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'timedTextLanguage'
        QtMocHelpers::PropertyData<QString>(8, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'timedTextTrackName'
        QtMocHelpers::PropertyData<QString>(9, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'useContentAsIndexableText'
        QtMocHelpers::PropertyData<bool>(10, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FileAbstractDataJob, qt_meta_tag_ZN6KGAPI25Drive19FileAbstractDataJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KGAPI2::Drive::FileAbstractDataJob::staticMetaObject = { {
    QMetaObject::SuperData::link<KGAPI2::Job::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6KGAPI25Drive19FileAbstractDataJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6KGAPI25Drive19FileAbstractDataJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6KGAPI25Drive19FileAbstractDataJobE_t>.metaTypes,
    nullptr
} };

void KGAPI2::Drive::FileAbstractDataJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FileAbstractDataJob *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->convert(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->enforceSingleParent(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->includePermissionsForView(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->ocr(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->ocrLanguage(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->pinned(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->supportsAllDrives(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->timedTextLanguage(); break;
        case 8: *reinterpret_cast<QString*>(_v) = _t->timedTextTrackName(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->useContentAsIndexableText(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setConvert(*reinterpret_cast<bool*>(_v)); break;
        case 1: _t->setEnforceSingleParent(*reinterpret_cast<bool*>(_v)); break;
        case 2: _t->setIncludePermissionsForView(*reinterpret_cast<QString*>(_v)); break;
        case 3: _t->setOcr(*reinterpret_cast<bool*>(_v)); break;
        case 4: _t->setOcrLanguage(*reinterpret_cast<QString*>(_v)); break;
        case 5: _t->setPinned(*reinterpret_cast<bool*>(_v)); break;
        case 6: _t->setSupportsAllDrives(*reinterpret_cast<bool*>(_v)); break;
        case 7: _t->setTimedTextLanguage(*reinterpret_cast<QString*>(_v)); break;
        case 8: _t->setTimedTextTrackName(*reinterpret_cast<QString*>(_v)); break;
        case 9: _t->setUseContentAsIndexableText(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

const QMetaObject *KGAPI2::Drive::FileAbstractDataJob::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *KGAPI2::Drive::FileAbstractDataJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6KGAPI25Drive19FileAbstractDataJobE_t>.strings))
        return static_cast<void*>(this);
    return KGAPI2::Job::qt_metacast(_clname);
}

int KGAPI2::Drive::FileAbstractDataJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KGAPI2::Job::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}
QT_WARNING_POP
