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

#include "../../../../index-fm-4.0.2/src/index.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 'index.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.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_ZN5IndexE_t {};
} // unnamed namespace

template <> constexpr inline auto Index::qt_create_metaobjectdata<qt_meta_tag_ZN5IndexE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Index",
        "D-Bus Interface",
        "org.kde.index.Actions",
        "openPath",
        "",
        "paths",
        "activate",
        "cameraPath",
        "screenshotsPath",
        "openDirectories",
        "dirs",
        "splitView",
        "openFiles",
        "files",
        "activateWindow",
        "isUrlOpen",
        "url",
        "pasteIntoFolder",
        "changeUrl",
        "slotTerminalDirectoryChanged",
        "quit",
        "openNewTab",
        "openNewTabAndActivate",
        "openNewWindow",
        "openTerminal",
        "quickPaths",
        "QVariantList",
        "openPaths"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'openPath'
        QtMocHelpers::SignalData<void(QStringList)>(3, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 5 },
        }}),
        // Signal 'activate'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cameraPath'
        QtMocHelpers::SlotData<QUrl()>(7, 4, QMC::AccessPublic, QMetaType::QUrl),
        // Slot 'screenshotsPath'
        QtMocHelpers::SlotData<QUrl()>(8, 4, QMC::AccessPublic, QMetaType::QUrl),
        // Slot 'openDirectories'
        QtMocHelpers::SlotData<void(const QStringList &, bool)>(9, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 10 }, { QMetaType::Bool, 11 },
        }}),
        // Slot 'openFiles'
        QtMocHelpers::SlotData<void(const QStringList &, bool)>(12, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 13 }, { QMetaType::Bool, 11 },
        }}),
        // Slot 'activateWindow'
        QtMocHelpers::SlotData<void()>(14, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'isUrlOpen'
        QtMocHelpers::SlotData<bool(const QString &)>(15, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 16 },
        }}),
        // Slot 'pasteIntoFolder'
        QtMocHelpers::SlotData<void()>(17, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'changeUrl'
        QtMocHelpers::SlotData<void(const QUrl &)>(18, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 16 },
        }}),
        // Slot 'slotTerminalDirectoryChanged'
        QtMocHelpers::SlotData<void(const QUrl &)>(19, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 16 },
        }}),
        // Slot 'quit'
        QtMocHelpers::SlotData<void()>(20, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openNewTab'
        QtMocHelpers::SlotData<void(const QUrl &)>(21, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 16 },
        }}),
        // Slot 'openNewTabAndActivate'
        QtMocHelpers::SlotData<void(const QUrl &)>(22, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 16 },
        }}),
        // Slot 'openNewWindow'
        QtMocHelpers::SlotData<void(const QUrl &)>(23, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 16 },
        }}),
        // Slot 'openTerminal'
        QtMocHelpers::SlotData<void(const QUrl &)>(24, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 16 },
        }}),
        // Slot 'quickPaths'
        QtMocHelpers::SlotData<QVariantList()>(25, 4, QMC::AccessPublic, 0x80000000 | 26),
        // Method 'openPaths'
        QtMocHelpers::MethodData<void(const QStringList &)>(27, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 5 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<Index, qt_meta_tag_ZN5IndexE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject Index::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5IndexE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5IndexE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN5IndexE_t>.metaTypes,
    nullptr
} };

void Index::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Index *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->openPath((*reinterpret_cast< std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 1: _t->activate(); break;
        case 2: { QUrl _r = _t->cameraPath();
            if (_a[0]) *reinterpret_cast< QUrl*>(_a[0]) = std::move(_r); }  break;
        case 3: { QUrl _r = _t->screenshotsPath();
            if (_a[0]) *reinterpret_cast< QUrl*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->openDirectories((*reinterpret_cast< std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        case 5: _t->openFiles((*reinterpret_cast< std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        case 6: _t->activateWindow(); break;
        case 7: { bool _r = _t->isUrlOpen((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->pasteIntoFolder(); break;
        case 9: _t->changeUrl((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 10: _t->slotTerminalDirectoryChanged((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 11: _t->quit(); break;
        case 12: _t->openNewTab((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 13: _t->openNewTabAndActivate((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 14: _t->openNewWindow((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 15: _t->openTerminal((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 16: { QVariantList _r = _t->quickPaths();
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->openPaths((*reinterpret_cast< std::add_pointer_t<QStringList>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Index::*)(QStringList )>(_a, &Index::openPath, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Index::*)()>(_a, &Index::activate, 1))
            return;
    }
}

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

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

int Index::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 < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void Index::openPath(QStringList _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Index::activate()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
