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

#include "../../../../../../../../dde-file-manager/src/apps/dde-file-manager-preview/pluginpreviews/video-preview/videopreviewplugin.h"
#include <QtGui/qtextcursor.h>
#include <QtGui/qscreen.h>
#include <QtNetwork/QSslError>
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'videopreviewplugin.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.2. 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_ZN18plugin_filepreview18VideoPreviewPluginE_t {};
} // unnamed namespace

template <> constexpr inline auto plugin_filepreview::VideoPreviewPlugin::qt_create_metaobjectdata<qt_meta_tag_ZN18plugin_filepreview18VideoPreviewPluginE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "plugin_filepreview::VideoPreviewPlugin",
        "create",
        "dfmbase::AbstractBasePreview*",
        "",
        "key"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'create'
        QtMocHelpers::SlotData<dfmbase::AbstractBasePreview *(const QString &)>(1, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<VideoPreviewPlugin, qt_meta_tag_ZN18plugin_filepreview18VideoPreviewPluginE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject plugin_filepreview::VideoPreviewPlugin::staticMetaObject = { {
    QMetaObject::SuperData::link<dfmbase::AbstractFilePreviewPlugin::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18plugin_filepreview18VideoPreviewPluginE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18plugin_filepreview18VideoPreviewPluginE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18plugin_filepreview18VideoPreviewPluginE_t>.metaTypes,
    nullptr
} };

void plugin_filepreview::VideoPreviewPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VideoPreviewPlugin *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { dfmbase::AbstractBasePreview* _r = _t->create((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<dfmbase::AbstractBasePreview**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

const QMetaObject *plugin_filepreview::VideoPreviewPlugin::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *plugin_filepreview::VideoPreviewPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18plugin_filepreview18VideoPreviewPluginE_t>.strings))
        return static_cast<void*>(this);
    return dfmbase::AbstractFilePreviewPlugin::qt_metacast(_clname);
}

int plugin_filepreview::VideoPreviewPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = dfmbase::AbstractFilePreviewPlugin::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    return _id;
}
using namespace plugin_filepreview;

#ifdef QT_MOC_EXPORT_PLUGIN_V2
static constexpr unsigned char qt_pluginMetaDataV2_VideoPreviewPlugin[] = {
    0xbf, 
    // "IID"
    0x02,  0x78,  0x36,  'c',  'o',  'm',  '.',  'd', 
    'e',  'e',  'p',  'i',  'n',  '.',  'f',  'i', 
    'l',  'e',  'm',  'a',  'n',  'a',  'g',  'e', 
    'r',  '.',  'F',  'i',  'l',  'e',  'P',  'r', 
    'e',  'v',  'i',  'e',  'w',  'F',  'a',  'c', 
    't',  'o',  'r',  'y',  'I',  'n',  't',  'e', 
    'r',  'f',  'a',  'c',  'e',  '_',  'i',  'i', 
    'd', 
    // "className"
    0x03,  0x72,  'V',  'i',  'd',  'e',  'o',  'P', 
    'r',  'e',  'v',  'i',  'e',  'w',  'P',  'l', 
    'u',  'g',  'i',  'n', 
    // "MetaData"
    0x04,  0xa1,  0x64,  'K',  'e',  'y',  's',  0x82, 
    0x67,  'v',  'i',  'd',  'e',  'o',  '/',  '*', 
    0x78,  0x21,  'a',  'p',  'p',  'l',  'i',  'c', 
    'a',  't',  'i',  'o',  'n',  '/',  'v',  'n', 
    'd',  '.',  'a',  'd',  'o',  'b',  'e',  '.', 
    'f',  'l',  'a',  's',  'h',  '.',  'm',  'o', 
    'v',  'i',  'e', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN_V2(plugin_filepreview::VideoPreviewPlugin, VideoPreviewPlugin, qt_pluginMetaDataV2_VideoPreviewPlugin)
#else
QT_PLUGIN_METADATA_SECTION
Q_CONSTINIT static constexpr unsigned char qt_pluginMetaData_VideoPreviewPlugin[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
    // metadata version, Qt version, architectural requirements
    0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
    0xbf, 
    // "IID"
    0x02,  0x78,  0x36,  'c',  'o',  'm',  '.',  'd', 
    'e',  'e',  'p',  'i',  'n',  '.',  'f',  'i', 
    'l',  'e',  'm',  'a',  'n',  'a',  'g',  'e', 
    'r',  '.',  'F',  'i',  'l',  'e',  'P',  'r', 
    'e',  'v',  'i',  'e',  'w',  'F',  'a',  'c', 
    't',  'o',  'r',  'y',  'I',  'n',  't',  'e', 
    'r',  'f',  'a',  'c',  'e',  '_',  'i',  'i', 
    'd', 
    // "className"
    0x03,  0x72,  'V',  'i',  'd',  'e',  'o',  'P', 
    'r',  'e',  'v',  'i',  'e',  'w',  'P',  'l', 
    'u',  'g',  'i',  'n', 
    // "MetaData"
    0x04,  0xa1,  0x64,  'K',  'e',  'y',  's',  0x82, 
    0x67,  'v',  'i',  'd',  'e',  'o',  '/',  '*', 
    0x78,  0x21,  'a',  'p',  'p',  'l',  'i',  'c', 
    'a',  't',  'i',  'o',  'n',  '/',  'v',  'n', 
    'd',  '.',  'a',  'd',  'o',  'b',  'e',  '.', 
    'f',  'l',  'a',  's',  'h',  '.',  'm',  'o', 
    'v',  'i',  'e', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN(plugin_filepreview::VideoPreviewPlugin, VideoPreviewPlugin)
#endif  // QT_MOC_EXPORT_PLUGIN_V2

QT_WARNING_POP
