/****************************************************************************
** Meta object code from reading C++ file 'collaborativeadapter.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 "../../../jami-client-qt/src/app/collaborativeadapter.h"
#include <QtNetwork/QSslError>
#include <QtGui/qtextcursor.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 'collaborativeadapter.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_ZN20CollaborativeAdapterE_t {};
} // unnamed namespace

template <> constexpr inline auto CollaborativeAdapter::qt_create_metaobjectdata<qt_meta_tag_ZN20CollaborativeAdapterE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CollaborativeAdapter",
        "QML.Singleton",
        "true",
        "documentChanged",
        "",
        "accountId",
        "convId",
        "documentId",
        "index",
        "deleteLen",
        "insert",
        "cursorChanged",
        "peerId",
        "clientId",
        "position",
        "anchor",
        "attachmentAdded",
        "attachmentId",
        "participantLeft",
        "documentRenamed",
        "name",
        "documentRemoved",
        "everywhere",
        "documentDelta",
        "deltaJson",
        "documentUpdateIndicatorChanged",
        "createDocument",
        "openDocument",
        "closeDocument",
        "removeDocument",
        "removeDocumentLocally",
        "edit",
        "setCursor",
        "setName",
        "documentName",
        "applyDelta",
        "contentDelta",
        "documents",
        "QVariantList",
        "history",
        "max",
        "textAt",
        "commitId",
        "restore",
        "hasUnreadDocumentUpdate",
        "unreadDocumentUpdateCount",
        "hasUnreadDocumentUpdateForDocument",
        "addAttachment",
        "QVariantMap",
        "QUrl",
        "file",
        "addAttachmentFromClipboard",
        "addAttachmentFromDrop",
        "payload",
        "deliverAttachment",
        "CollabRichBinding*",
        "binding"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'documentChanged'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, int, int, const QString &)>(3, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::Int, 8 },
            { QMetaType::Int, 9 }, { QMetaType::QString, 10 },
        }}),
        // Signal 'cursorChanged'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, const QString &, quint64, int, int)>(11, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 12 },
            { QMetaType::ULongLong, 13 }, { QMetaType::Int, 14 }, { QMetaType::Int, 15 },
        }}),
        // Signal 'attachmentAdded'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, const QString &)>(16, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 17 },
        }}),
        // Signal 'participantLeft'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, const QString &, quint64)>(18, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 12 },
            { QMetaType::ULongLong, 13 },
        }}),
        // Signal 'documentRenamed'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, const QString &)>(19, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 20 },
        }}),
        // Signal 'documentRemoved'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, bool)>(21, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::Bool, 22 },
        }}),
        // Signal 'documentDelta'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, const QString &)>(23, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 24 },
        }}),
        // Signal 'documentUpdateIndicatorChanged'
        QtMocHelpers::SignalData<void(const QString &)>(25, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Method 'createDocument'
        QtMocHelpers::MethodData<QString(const QString &, const QString &)>(26, 4, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 6 }, { QMetaType::QString, 20 },
        }}),
        // Method 'openDocument'
        QtMocHelpers::MethodData<QString(const QString &, const QString &, const QString &)>(27, 4, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'closeDocument'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &)>(28, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'removeDocument'
        QtMocHelpers::MethodData<bool(const QString &, const QString &, const QString &)>(29, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'removeDocumentLocally'
        QtMocHelpers::MethodData<bool(const QString &, const QString &, const QString &)>(30, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'edit'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &, int, int, const QString &)>(31, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::Int, 8 },
            { QMetaType::Int, 9 }, { QMetaType::QString, 10 },
        }}),
        // Method 'setCursor'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &, int, int)>(32, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::Int, 14 },
            { QMetaType::Int, 15 },
        }}),
        // Method 'setName'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &, const QString &)>(33, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 20 },
        }}),
        // Method 'documentName'
        QtMocHelpers::MethodData<QString(const QString &, const QString &, const QString &)>(34, 4, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'applyDelta'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &, const QString &)>(35, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 24 },
        }}),
        // Method 'contentDelta'
        QtMocHelpers::MethodData<QString(const QString &, const QString &, const QString &)>(36, 4, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'documents'
        QtMocHelpers::MethodData<QVariantList(const QString &)>(37, 4, QMC::AccessPublic, 0x80000000 | 38, {{
            { QMetaType::QString, 6 },
        }}),
        // Method 'history'
        QtMocHelpers::MethodData<QVariantList(const QString &, const QString &, const QString &, int)>(39, 4, QMC::AccessPublic, 0x80000000 | 38, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::Int, 40 },
        }}),
        // Method 'history'
        QtMocHelpers::MethodData<QVariantList(const QString &, const QString &, const QString &)>(39, 4, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 38, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'textAt'
        QtMocHelpers::MethodData<QString(const QString &, const QString &, const QString &, const QString &)>(41, 4, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 42 },
        }}),
        // Method 'restore'
        QtMocHelpers::MethodData<bool(const QString &, const QString &, const QString &, const QString &)>(43, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 42 },
        }}),
        // Method 'hasUnreadDocumentUpdate'
        QtMocHelpers::MethodData<bool(const QString &) const>(44, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 6 },
        }}),
        // Method 'unreadDocumentUpdateCount'
        QtMocHelpers::MethodData<int(const QString &) const>(45, 4, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QString, 6 },
        }}),
        // Method 'hasUnreadDocumentUpdateForDocument'
        QtMocHelpers::MethodData<bool(const QString &, const QString &) const>(46, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'addAttachment'
        QtMocHelpers::MethodData<QVariantMap(const QString &, const QString &, const QString &, const QUrl &)>(47, 4, QMC::AccessPublic, 0x80000000 | 48, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { 0x80000000 | 49, 50 },
        }}),
        // Method 'addAttachmentFromClipboard'
        QtMocHelpers::MethodData<QVariantMap(const QString &, const QString &, const QString &)>(51, 4, QMC::AccessPublic, 0x80000000 | 48, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 },
        }}),
        // Method 'addAttachmentFromDrop'
        QtMocHelpers::MethodData<QVariantMap(const QString &, const QString &, const QString &, const QVariantMap &)>(52, 4, QMC::AccessPublic, 0x80000000 | 48, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { 0x80000000 | 48, 53 },
        }}),
        // Method 'deliverAttachment'
        QtMocHelpers::MethodData<bool(const QString &, const QString &, const QString &, const QString &, CollabRichBinding *)>(54, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::QString, 17 },
            { 0x80000000 | 55, 56 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<CollaborativeAdapter, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject CollaborativeAdapter::staticMetaObject = { {
    QMetaObject::SuperData::link<QmlAdapterBase::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20CollaborativeAdapterE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20CollaborativeAdapterE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20CollaborativeAdapterE_t>.metaTypes,
    nullptr
} };

void CollaborativeAdapter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CollaborativeAdapter *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->documentChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6]))); break;
        case 1: _t->cursorChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<quint64>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[6])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[7]))); break;
        case 2: _t->attachmentAdded((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 3: _t->participantLeft((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<quint64>>(_a[5]))); break;
        case 4: _t->documentRenamed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 5: _t->documentRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4]))); break;
        case 6: _t->documentDelta((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 7: _t->documentUpdateIndicatorChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: { QString _r = _t->createDocument((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->openDocument((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->closeDocument((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 11: { bool _r = _t->removeDocument((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 12: { bool _r = _t->removeDocumentLocally((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->edit((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6]))); break;
        case 14: _t->setCursor((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5]))); break;
        case 15: _t->setName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 16: { QString _r = _t->documentName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->applyDelta((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 18: { QString _r = _t->contentDelta((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 19: { QVariantList _r = _t->documents((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 20: { QVariantList _r = _t->history((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])));
            if (_a[0]) *reinterpret_cast<QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 21: { QVariantList _r = _t->history((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 22: { QString _r = _t->textAt((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 23: { bool _r = _t->restore((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 24: { bool _r = _t->hasUnreadDocumentUpdate((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 25: { int _r = _t->unreadDocumentUpdateCount((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 26: { bool _r = _t->hasUnreadDocumentUpdateForDocument((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 27: { QVariantMap _r = _t->addAttachment((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[4])));
            if (_a[0]) *reinterpret_cast<QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 28: { QVariantMap _r = _t->addAttachmentFromClipboard((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 29: { QVariantMap _r = _t->addAttachmentFromDrop((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[4])));
            if (_a[0]) *reinterpret_cast<QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 30: { bool _r = _t->deliverAttachment((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<CollabRichBinding*>>(_a[5])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 30:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 4:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CollabRichBinding* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CollaborativeAdapter::*)(const QString & , const QString & , const QString & , int , int , const QString & )>(_a, &CollaborativeAdapter::documentChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollaborativeAdapter::*)(const QString & , const QString & , const QString & , const QString & , quint64 , int , int )>(_a, &CollaborativeAdapter::cursorChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollaborativeAdapter::*)(const QString & , const QString & , const QString & , const QString & )>(_a, &CollaborativeAdapter::attachmentAdded, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollaborativeAdapter::*)(const QString & , const QString & , const QString & , const QString & , quint64 )>(_a, &CollaborativeAdapter::participantLeft, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollaborativeAdapter::*)(const QString & , const QString & , const QString & , const QString & )>(_a, &CollaborativeAdapter::documentRenamed, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollaborativeAdapter::*)(const QString & , const QString & , const QString & , bool )>(_a, &CollaborativeAdapter::documentRemoved, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollaborativeAdapter::*)(const QString & , const QString & , const QString & , const QString & )>(_a, &CollaborativeAdapter::documentDelta, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollaborativeAdapter::*)(const QString & )>(_a, &CollaborativeAdapter::documentUpdateIndicatorChanged, 7))
            return;
    }
}

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

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

int CollaborativeAdapter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QmlAdapterBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    }
    return _id;
}

// SIGNAL 0
void CollaborativeAdapter::documentChanged(const QString & _t1, const QString & _t2, const QString & _t3, int _t4, int _t5, const QString & _t6)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3, _t4, _t5, _t6);
}

// SIGNAL 1
void CollaborativeAdapter::cursorChanged(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4, quint64 _t5, int _t6, int _t7)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3, _t4, _t5, _t6, _t7);
}

// SIGNAL 2
void CollaborativeAdapter::attachmentAdded(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 3
void CollaborativeAdapter::participantLeft(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4, quint64 _t5)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3, _t4, _t5);
}

// SIGNAL 4
void CollaborativeAdapter::documentRenamed(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 5
void CollaborativeAdapter::documentRemoved(const QString & _t1, const QString & _t2, const QString & _t3, bool _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 6
void CollaborativeAdapter::documentDelta(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 7
void CollaborativeAdapter::documentUpdateIndicatorChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
QT_WARNING_POP
