/****************************************************************************
** Meta object code from reading C++ file 'sharelinkwidget.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 "../../../../../ownCloud-6.0.3.18040/src/gui/sharelinkwidget.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QSharedPointer>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'sharelinkwidget.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_ZN3OCC15ShareLinkWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto OCC::ShareLinkWidget::qt_create_metaobjectdata<qt_meta_tag_ZN3OCC15ShareLinkWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OCC::ShareLinkWidget",
        "slotSharesFetched",
        "",
        "QList<QSharedPointer<Share>>",
        "shares",
        "slotShareSelectionChanged",
        "slotShareNameEntered",
        "slotDeleteShareClicked",
        "slotCheckBoxPasswordClicked",
        "slotCheckBoxExpireClicked",
        "slotPasswordReturnPressed",
        "slotPermissionsClicked",
        "slotExpireDateChanged",
        "date",
        "slotPasswordChanged",
        "newText",
        "slotNameEdited",
        "QTableWidgetItem*",
        "item",
        "slotContextMenuButtonClicked",
        "slotLinkContextMenuActionTriggered",
        "QAction*",
        "action",
        "slotDeleteShareFetched",
        "slotCreateShareFetched",
        "QSharedPointer<LinkShare>",
        "share",
        "slotCreateShareForbidden",
        "message",
        "slotPasswordSet",
        "slotExpireSet",
        "slotPermissionsSet",
        "slotServerError",
        "code",
        "slotPasswordSetError"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotSharesFetched'
        QtMocHelpers::SlotData<void(const QList<QSharedPointer<Share>> &)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'slotShareSelectionChanged'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShareNameEntered'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotDeleteShareClicked'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotCheckBoxPasswordClicked'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotCheckBoxExpireClicked'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPasswordReturnPressed'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPermissionsClicked'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotExpireDateChanged'
        QtMocHelpers::SlotData<void(const QDate &)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QDate, 13 },
        }}),
        // Slot 'slotPasswordChanged'
        QtMocHelpers::SlotData<void(const QString &)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'slotNameEdited'
        QtMocHelpers::SlotData<void(QTableWidgetItem *)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'slotContextMenuButtonClicked'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotLinkContextMenuActionTriggered'
        QtMocHelpers::SlotData<void(QAction *)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Slot 'slotDeleteShareFetched'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotCreateShareFetched'
        QtMocHelpers::SlotData<void(const QSharedPointer<LinkShare> &)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'slotCreateShareForbidden'
        QtMocHelpers::SlotData<void(const QString &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 28 },
        }}),
        // Slot 'slotPasswordSet'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotExpireSet'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPermissionsSet'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotServerError'
        QtMocHelpers::SlotData<void(int, const QString &)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 33 }, { QMetaType::QString, 28 },
        }}),
        // Slot 'slotPasswordSetError'
        QtMocHelpers::SlotData<void(int, const QString &)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 33 }, { QMetaType::QString, 28 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ShareLinkWidget, qt_meta_tag_ZN3OCC15ShareLinkWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OCC::ShareLinkWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC15ShareLinkWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC15ShareLinkWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3OCC15ShareLinkWidgetE_t>.metaTypes,
    nullptr
} };

void OCC::ShareLinkWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ShareLinkWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotSharesFetched((*reinterpret_cast<std::add_pointer_t<QList<QSharedPointer<Share>>>>(_a[1]))); break;
        case 1: _t->slotShareSelectionChanged(); break;
        case 2: _t->slotShareNameEntered(); break;
        case 3: _t->slotDeleteShareClicked(); break;
        case 4: _t->slotCheckBoxPasswordClicked(); break;
        case 5: _t->slotCheckBoxExpireClicked(); break;
        case 6: _t->slotPasswordReturnPressed(); break;
        case 7: _t->slotPermissionsClicked(); break;
        case 8: _t->slotExpireDateChanged((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 9: _t->slotPasswordChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->slotNameEdited((*reinterpret_cast<std::add_pointer_t<QTableWidgetItem*>>(_a[1]))); break;
        case 11: _t->slotContextMenuButtonClicked(); break;
        case 12: _t->slotLinkContextMenuActionTriggered((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
        case 13: _t->slotDeleteShareFetched(); break;
        case 14: _t->slotCreateShareFetched((*reinterpret_cast<std::add_pointer_t<QSharedPointer<LinkShare>>>(_a[1]))); break;
        case 15: _t->slotCreateShareForbidden((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 16: _t->slotPasswordSet(); break;
        case 17: _t->slotExpireSet(); break;
        case 18: _t->slotPermissionsSet(); break;
        case 19: _t->slotServerError((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 20: _t->slotPasswordSetError((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QSharedPointer<Share>> >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QSharedPointer<LinkShare> >(); break;
            }
            break;
        }
    }
}

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

void *OCC::ShareLinkWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC15ShareLinkWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int OCC::ShareLinkWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    return _id;
}
QT_WARNING_POP
