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

#include "../../../../smb4k-4.0.6/core/smb4kclient_p.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 'smb4kclient_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.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_ZN18Smb4KClientBaseJobE_t {};
} // unnamed namespace

template <> constexpr inline auto Smb4KClientBaseJob::qt_create_metaobjectdata<qt_meta_tag_ZN18Smb4KClientBaseJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Smb4KClientBaseJob"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Smb4KClientBaseJob, qt_meta_tag_ZN18Smb4KClientBaseJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Smb4KClientBaseJob::staticMetaObject = { {
    QMetaObject::SuperData::link<KJob::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18Smb4KClientBaseJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18Smb4KClientBaseJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18Smb4KClientBaseJobE_t>.metaTypes,
    nullptr
} };

void Smb4KClientBaseJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Smb4KClientBaseJob *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

void *Smb4KClientBaseJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18Smb4KClientBaseJobE_t>.strings))
        return static_cast<void*>(this);
    return KJob::qt_metacast(_clname);
}

int Smb4KClientBaseJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KJob::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN14Smb4KClientJobE_t {};
} // unnamed namespace

template <> constexpr inline auto Smb4KClientJob::qt_create_metaobjectdata<qt_meta_tag_ZN14Smb4KClientJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Smb4KClientJob",
        "slotStartJob",
        "",
        "slotFinishJob"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotStartJob'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotFinishJob'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Smb4KClientJob, qt_meta_tag_ZN14Smb4KClientJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Smb4KClientJob::staticMetaObject = { {
    QMetaObject::SuperData::link<Smb4KClientBaseJob::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14Smb4KClientJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14Smb4KClientJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14Smb4KClientJobE_t>.metaTypes,
    nullptr
} };

void Smb4KClientJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Smb4KClientJob *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotStartJob(); break;
        case 1: _t->slotFinishJob(); break;
        default: ;
        }
    }
    (void)_a;
}

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

void *Smb4KClientJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14Smb4KClientJobE_t>.strings))
        return static_cast<void*>(this);
    return Smb4KClientBaseJob::qt_metacast(_clname);
}

int Smb4KClientJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Smb4KClientBaseJob::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;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN20Smb4KDnsDiscoveryJobE_t {};
} // unnamed namespace

template <> constexpr inline auto Smb4KDnsDiscoveryJob::qt_create_metaobjectdata<qt_meta_tag_ZN20Smb4KDnsDiscoveryJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Smb4KDnsDiscoveryJob",
        "slotStartJob",
        "",
        "slotServiceAdded",
        "KDNSSD::RemoteService::Ptr",
        "service",
        "slotFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotStartJob'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotServiceAdded'
        QtMocHelpers::SlotData<void(KDNSSD::RemoteService::Ptr)>(3, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'slotFinished'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Smb4KDnsDiscoveryJob, qt_meta_tag_ZN20Smb4KDnsDiscoveryJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Smb4KDnsDiscoveryJob::staticMetaObject = { {
    QMetaObject::SuperData::link<Smb4KClientBaseJob::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20Smb4KDnsDiscoveryJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20Smb4KDnsDiscoveryJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20Smb4KDnsDiscoveryJobE_t>.metaTypes,
    nullptr
} };

void Smb4KDnsDiscoveryJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Smb4KDnsDiscoveryJob *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotStartJob(); break;
        case 1: _t->slotServiceAdded((*reinterpret_cast<std::add_pointer_t<KDNSSD::RemoteService::Ptr>>(_a[1]))); break;
        case 2: _t->slotFinished(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KDNSSD::RemoteService::Ptr >(); break;
            }
            break;
        }
    }
}

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

void *Smb4KDnsDiscoveryJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20Smb4KDnsDiscoveryJobE_t>.strings))
        return static_cast<void*>(this);
    return Smb4KClientBaseJob::qt_metacast(_clname);
}

int Smb4KDnsDiscoveryJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Smb4KClientBaseJob::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN19Smb4KWsDiscoveryJobE_t {};
} // unnamed namespace

template <> constexpr inline auto Smb4KWsDiscoveryJob::qt_create_metaobjectdata<qt_meta_tag_ZN19Smb4KWsDiscoveryJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Smb4KWsDiscoveryJob",
        "slotStartJob",
        "",
        "slotProbeMatchReceived",
        "WSDiscoveryTargetService",
        "service",
        "slotResolveMatchReceived",
        "slotDiscoveryFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotStartJob'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotProbeMatchReceived'
        QtMocHelpers::SlotData<void(const WSDiscoveryTargetService &)>(3, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'slotResolveMatchReceived'
        QtMocHelpers::SlotData<void(const WSDiscoveryTargetService &)>(6, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'slotDiscoveryFinished'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Smb4KWsDiscoveryJob, qt_meta_tag_ZN19Smb4KWsDiscoveryJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Smb4KWsDiscoveryJob::staticMetaObject = { {
    QMetaObject::SuperData::link<Smb4KClientBaseJob::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19Smb4KWsDiscoveryJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19Smb4KWsDiscoveryJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19Smb4KWsDiscoveryJobE_t>.metaTypes,
    nullptr
} };

void Smb4KWsDiscoveryJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Smb4KWsDiscoveryJob *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotStartJob(); break;
        case 1: _t->slotProbeMatchReceived((*reinterpret_cast<std::add_pointer_t<WSDiscoveryTargetService>>(_a[1]))); break;
        case 2: _t->slotResolveMatchReceived((*reinterpret_cast<std::add_pointer_t<WSDiscoveryTargetService>>(_a[1]))); break;
        case 3: _t->slotDiscoveryFinished(); break;
        default: ;
        }
    }
}

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

void *Smb4KWsDiscoveryJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19Smb4KWsDiscoveryJobE_t>.strings))
        return static_cast<void*>(this);
    return Smb4KClientBaseJob::qt_metacast(_clname);
}

int Smb4KWsDiscoveryJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Smb4KClientBaseJob::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 4;
    }
    return _id;
}
QT_WARNING_POP
