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

#include "../../misc/syncthingmodels.h"
#include <QtGui/qtextcursor.h>
#include <syncthingconnector/syncthingconnection.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 'syncthingmodels.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN5QtGui15SyncthingModelsE_t {};
} // unnamed namespace

template <> constexpr inline auto QtGui::SyncthingModels::qt_create_metaobjectdata<qt_meta_tag_ZN5QtGui15SyncthingModelsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QtGui::SyncthingModels",
        "QML.Element",
        "auto",
        "QML.Singleton",
        "true",
        "info",
        "",
        "infoMessage",
        "details",
        "error",
        "errorMessage",
        "hapticFeedbackRequested",
        "savingConfigChanged",
        "isSavingConfig",
        "formatDataSize",
        "size",
        "setBrightColors",
        "brightColors",
        "externalFilesDir",
        "externalStoragePaths",
        "openUrlExternally",
        "QUrl",
        "url",
        "viaQt",
        "openPath",
        "path",
        "dirId",
        "relativePath",
        "scanPath",
        "copyText",
        "text",
        "copyPath",
        "getClipboardText",
        "loadIgnorePatterns",
        "textArea",
        "saveIgnorePatterns",
        "openIgnorePatterns",
        "loadErrors",
        "listView",
        "showQrCode",
        "Icon*",
        "icon",
        "resolveUrl",
        "shouldIgnorePermissions",
        "createFileModel",
        "Data::SyncthingFileModel*",
        "parent",
        "createDiffHighlighter",
        "QtGui::DiffHighlighter*",
        "QTextDocument*",
        "postSyncthingConfig",
        "QJsonObject",
        "rawConfig",
        "QJSValue",
        "callback",
        "invokeDirAction",
        "action",
        "requestFromSyncthing",
        "verb",
        "QVariantMap",
        "parameters",
        "formatTraffic",
        "total",
        "rate",
        "hasDevice",
        "id",
        "hasDir",
        "deviceDisplayName",
        "dirDisplayName",
        "computeDirsNeedingItems",
        "QVariantList",
        "QModelIndex",
        "devProxyModelIndex",
        "isPopulated",
        "QVariant",
        "dirModel",
        "Data::SyncthingDirectoryModel*",
        "sortFilterDirModel",
        "Data::SyncthingSortFilterModel*",
        "devModel",
        "Data::SyncthingDeviceModel*",
        "sortFilterDevModel",
        "changesModel",
        "Data::SyncthingRecentChangesModel*",
        "scanSupported",
        "savingConfig"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'info'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(5, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 }, { QMetaType::QString, 8 },
        }}),
        // Signal 'info'
        QtMocHelpers::SignalData<void(const QString &)>(5, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(9, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 10 }, { QMetaType::QString, 8 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(const QString &)>(9, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 10 },
        }}),
        // Signal 'hapticFeedbackRequested'
        QtMocHelpers::SignalData<void()>(11, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'savingConfigChanged'
        QtMocHelpers::SignalData<void(bool)>(12, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Method 'formatDataSize'
        QtMocHelpers::MethodData<QString(quint64) const>(14, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::ULongLong, 15 },
        }}),
        // Method 'setBrightColors'
        QtMocHelpers::MethodData<void(bool)>(16, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 17 },
        }}),
        // Method 'externalFilesDir'
        QtMocHelpers::MethodData<QString() const>(18, 6, QMC::AccessPublic, QMetaType::QString),
        // Method 'externalStoragePaths'
        QtMocHelpers::MethodData<QStringList() const>(19, 6, QMC::AccessPublic, QMetaType::QStringList),
        // Method 'openUrlExternally'
        QtMocHelpers::MethodData<bool(const QUrl &, bool)>(20, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 21, 22 }, { QMetaType::Bool, 23 },
        }}),
        // Method 'openUrlExternally'
        QtMocHelpers::MethodData<bool(const QUrl &)>(20, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Method 'openPath'
        QtMocHelpers::MethodData<bool(const QString &)>(24, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 25 },
        }}),
        // Method 'openPath'
        QtMocHelpers::MethodData<bool(const QString &, const QString &)>(24, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 26 }, { QMetaType::QString, 27 },
        }}),
        // Method 'scanPath'
        QtMocHelpers::MethodData<bool(const QString &)>(28, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 25 },
        }}),
        // Method 'copyText'
        QtMocHelpers::MethodData<bool(const QString &)>(29, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 30 },
        }}),
        // Method 'copyPath'
        QtMocHelpers::MethodData<bool(const QString &, const QString &)>(31, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 26 }, { QMetaType::QString, 27 },
        }}),
        // Method 'getClipboardText'
        QtMocHelpers::MethodData<QString() const>(32, 6, QMC::AccessPublic, QMetaType::QString),
        // Method 'loadIgnorePatterns'
        QtMocHelpers::MethodData<bool(const QString &, QObject *)>(33, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 26 }, { QMetaType::QObjectStar, 34 },
        }}),
        // Method 'saveIgnorePatterns'
        QtMocHelpers::MethodData<bool(const QString &, QObject *)>(35, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 26 }, { QMetaType::QObjectStar, 34 },
        }}),
        // Method 'openIgnorePatterns'
        QtMocHelpers::MethodData<bool(const QString &)>(36, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 26 },
        }}),
        // Method 'loadErrors'
        QtMocHelpers::MethodData<bool(QObject *)>(37, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QObjectStar, 38 },
        }}),
        // Method 'showQrCode'
        QtMocHelpers::MethodData<bool(Icon *)>(39, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 40, 41 },
        }}),
        // Method 'resolveUrl'
        QtMocHelpers::MethodData<QString(const QUrl &)>(42, 6, QMC::AccessPublic, QMetaType::QString, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Method 'shouldIgnorePermissions'
        QtMocHelpers::MethodData<bool(const QString &)>(43, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 25 },
        }}),
        // Method 'createFileModel'
        QtMocHelpers::MethodData<Data::SyncthingFileModel *(const QString &, QObject *)>(44, 6, QMC::AccessPublic, 0x80000000 | 45, {{
            { QMetaType::QString, 26 }, { QMetaType::QObjectStar, 46 },
        }}),
        // Method 'createDiffHighlighter'
        QtMocHelpers::MethodData<QtGui::DiffHighlighter *(QTextDocument *)>(47, 6, QMC::AccessPublic, 0x80000000 | 48, {{
            { 0x80000000 | 49, 46 },
        }}),
        // Method 'postSyncthingConfig'
        QtMocHelpers::MethodData<bool(const QJsonObject &, const QJSValue &)>(50, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 51, 52 }, { 0x80000000 | 53, 54 },
        }}),
        // Method 'postSyncthingConfig'
        QtMocHelpers::MethodData<bool(const QJsonObject &)>(50, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool, {{
            { 0x80000000 | 51, 52 },
        }}),
        // Method 'invokeDirAction'
        QtMocHelpers::MethodData<bool(const QString &, const QString &)>(55, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 26 }, { QMetaType::QString, 56 },
        }}),
        // Method 'requestFromSyncthing'
        QtMocHelpers::MethodData<bool(const QString &, const QString &, const QVariantMap &, const QJSValue &)>(57, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 58 }, { QMetaType::QString, 25 }, { 0x80000000 | 59, 60 }, { 0x80000000 | 53, 54 },
        }}),
        // Method 'requestFromSyncthing'
        QtMocHelpers::MethodData<bool(const QString &, const QString &, const QVariantMap &)>(57, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool, {{
            { QMetaType::QString, 58 }, { QMetaType::QString, 25 }, { 0x80000000 | 59, 60 },
        }}),
        // Method 'formatTraffic'
        QtMocHelpers::MethodData<QString(quint64, double) const>(61, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::ULongLong, 62 }, { QMetaType::Double, 63 },
        }}),
        // Method 'hasDevice'
        QtMocHelpers::MethodData<bool(const QString &)>(64, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 65 },
        }}),
        // Method 'hasDir'
        QtMocHelpers::MethodData<bool(const QString &)>(66, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 65 },
        }}),
        // Method 'deviceDisplayName'
        QtMocHelpers::MethodData<QString(const QString &) const>(67, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 65 },
        }}),
        // Method 'dirDisplayName'
        QtMocHelpers::MethodData<QString(const QString &) const>(68, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 65 },
        }}),
        // Method 'computeDirsNeedingItems'
        QtMocHelpers::MethodData<QVariantList(const QModelIndex &) const>(69, 6, QMC::AccessPublic, 0x80000000 | 70, {{
            { 0x80000000 | 71, 72 },
        }}),
        // Method 'isPopulated'
        QtMocHelpers::MethodData<QVariant(const QString &) const>(73, 6, QMC::AccessPublic, 0x80000000 | 74, {{
            { QMetaType::QString, 25 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'dirModel'
        QtMocHelpers::PropertyData<Data::SyncthingDirectoryModel*>(75, 0x80000000 | 76, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'sortFilterDirModel'
        QtMocHelpers::PropertyData<Data::SyncthingSortFilterModel*>(77, 0x80000000 | 78, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'devModel'
        QtMocHelpers::PropertyData<Data::SyncthingDeviceModel*>(79, 0x80000000 | 80, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'sortFilterDevModel'
        QtMocHelpers::PropertyData<Data::SyncthingSortFilterModel*>(81, 0x80000000 | 78, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'changesModel'
        QtMocHelpers::PropertyData<Data::SyncthingRecentChangesModel*>(82, 0x80000000 | 83, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'scanSupported'
        QtMocHelpers::PropertyData<bool>(84, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'savingConfig'
        QtMocHelpers::PropertyData<bool>(85, QMetaType::Bool, QMC::DefaultPropertyFlags, 5),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<SyncthingModels, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject QtGui::SyncthingModels::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui15SyncthingModelsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui15SyncthingModelsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN5QtGui15SyncthingModelsE_t>.metaTypes,
    nullptr
} };

void QtGui::SyncthingModels::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SyncthingModels *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->info((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->info((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->error((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->error((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->hapticFeedbackRequested(); break;
        case 5: _t->savingConfigChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: { QString _r = _t->formatDataSize((*reinterpret_cast<std::add_pointer_t<quint64>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setBrightColors((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: { QString _r = _t->externalFilesDir();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QStringList _r = _t->externalStoragePaths();
            if (_a[0]) *reinterpret_cast<QStringList*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->openUrlExternally((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->openUrlExternally((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 12: { bool _r = _t->openPath((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 13: { bool _r = _t->openPath((*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 14: { bool _r = _t->scanPath((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 15: { bool _r = _t->copyText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 16: { bool _r = _t->copyPath((*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 17: { QString _r = _t->getClipboardText();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 18: { bool _r = _t->loadIgnorePatterns((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 19: { bool _r = _t->saveIgnorePatterns((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 20: { bool _r = _t->openIgnorePatterns((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 21: { bool _r = _t->loadErrors((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 22: { bool _r = _t->showQrCode((*reinterpret_cast<std::add_pointer_t<Icon*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 23: { QString _r = _t->resolveUrl((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 24: { bool _r = _t->shouldIgnorePermissions((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 25: { Data::SyncthingFileModel* _r = _t->createFileModel((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<Data::SyncthingFileModel**>(_a[0]) = std::move(_r); }  break;
        case 26: { QtGui::DiffHighlighter* _r = _t->createDiffHighlighter((*reinterpret_cast<std::add_pointer_t<QTextDocument*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QtGui::DiffHighlighter**>(_a[0]) = std::move(_r); }  break;
        case 27: { bool _r = _t->postSyncthingConfig((*reinterpret_cast<std::add_pointer_t<QJsonObject>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QJSValue>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 28: { bool _r = _t->postSyncthingConfig((*reinterpret_cast<std::add_pointer_t<QJsonObject>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 29: { bool _r = _t->invokeDirAction((*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 30: { bool _r = _t->requestFromSyncthing((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QJSValue>>(_a[4])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 31: { bool _r = _t->requestFromSyncthing((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[3])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 32: { QString _r = _t->formatTraffic((*reinterpret_cast<std::add_pointer_t<quint64>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 33: { bool _r = _t->hasDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 34: { bool _r = _t->hasDir((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 35: { QString _r = _t->deviceDisplayName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 36: { QString _r = _t->dirDisplayName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 37: { QVariantList _r = _t->computeDirsNeedingItems((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 38: { QVariant _r = _t->isPopulated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Icon* >(); break;
            }
            break;
        case 26:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QTextDocument* >(); break;
            }
            break;
        case 27:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QJSValue >(); break;
            }
            break;
        case 30:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 3:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QJSValue >(); break;
            }
            break;
        case 37:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QModelIndex >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SyncthingModels::*)(const QString & , const QString & )>(_a, &SyncthingModels::info, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingModels::*)(const QString & , const QString & )>(_a, &SyncthingModels::error, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingModels::*)()>(_a, &SyncthingModels::hapticFeedbackRequested, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingModels::*)(bool )>(_a, &SyncthingModels::savingConfigChanged, 5))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Data::SyncthingDeviceModel* >(); break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Data::SyncthingDirectoryModel* >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Data::SyncthingRecentChangesModel* >(); break;
        case 3:
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Data::SyncthingSortFilterModel* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<Data::SyncthingDirectoryModel**>(_v) = _t->dirModel(); break;
        case 1: *reinterpret_cast<Data::SyncthingSortFilterModel**>(_v) = _t->sortFilterDirModel(); break;
        case 2: *reinterpret_cast<Data::SyncthingDeviceModel**>(_v) = _t->devModel(); break;
        case 3: *reinterpret_cast<Data::SyncthingSortFilterModel**>(_v) = _t->sortFilterDevModel(); break;
        case 4: *reinterpret_cast<Data::SyncthingRecentChangesModel**>(_v) = _t->changesModel(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->isScanSupported(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->isSavingConfig(); break;
        default: break;
        }
    }
}

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

void *QtGui::SyncthingModels::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui15SyncthingModelsE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int QtGui::SyncthingModels::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 39)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 39;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 39)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 39;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void QtGui::SyncthingModels::info(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 2
void QtGui::SyncthingModels::error(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 4
void QtGui::SyncthingModels::hapticFeedbackRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void QtGui::SyncthingModels::savingConfigChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}
QT_WARNING_POP
