/****************************************************************************
** Meta object code from reading C++ file 'mailfilteragentadaptor.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 "mailfilteragentadaptor.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


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

template <> constexpr inline auto MailFilterAgentAdaptor::qt_create_metaobjectdata<qt_meta_tag_ZN22MailFilterAgentAdaptorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MailFilterAgentAdaptor",
        "D-Bus Interface",
        "org.freedesktop.Akonadi.MailFilterAgent",
        "D-Bus Introspection",
        "  <interface name=\"org.freedesktop.Akonadi.MailFilterAgent\">\n  "
        "  <method name=\"createUniqueName\">\n      <arg direction=\"in\" "
        "type=\"s\" name=\"nameTemplate\"/>\n      <arg direction=\"out\" t"
        "ype=\"s\" name=\"name\"/>\n    </method>\n    <method name=\"filte"
        "r\">\n      <arg direction=\"in\" type=\"x\" name=\"item\"/>\n    "
        "  <arg direction=\"in\" type=\"s\" name=\"filterIdentifier\"/>\n  "
        "    <arg direction=\"in\" type=\"s\" name=\"resourceId\"/>\n    </"
        "method>\n    <method name=\"filterItem\">\n      <arg direction=\""
        "in\" type=\"x\" name=\"item\"/>\n      <arg direction=\"in\" type="
        "\"i\" name=\"filterSet\"/>\n      <arg direction=\"in\" type=\"s\""
        " name=\"resourceId\"/>\n    </method>\n    <method name=\"applySpe"
        "cificFilters\">\n      <arg direction=\"in\" type=\"ax\" name=\"it"
        "ems\"/>\n      <arg direction=\"in\" type=\"i\" name=\"FilterRequi"
        "res\"/>\n      <arg direction=\"in\" type=\"as\" name=\"listFilter"
        "s\"/>\n      <annotation value=\"const QList&lt;qint64&gt; &amp;\""
        " name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n    </method>\n  "
        "  <method name=\"filterItems\">\n      <arg direction=\"in\" type="
        "\"ax\" name=\"items\"/>\n      <arg direction=\"in\" type=\"i\" na"
        "me=\"filterSet\"/>\n      <annotation value=\"const QList&lt;qint6"
        "4&gt; &amp;\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n    "
        "</method>\n    <method name=\"filterCollections\">\n      <arg dir"
        "ection=\"in\" type=\"ax\" name=\"collections\"/>\n      <arg direc"
        "tion=\"in\" type=\"i\" name=\"filterSet\"/>\n      <annotation val"
        "ue=\"const QList&lt;qint64&gt; &amp;\" name=\"org.qtproject.QtDBus"
        ".QtTypeName.In0\"/>\n    </method>\n    <method name=\"applySpecif"
        "icFiltersOnCollections\">\n      <arg direction=\"in\" type=\"ax\""
        " name=\"collections\"/>\n      <arg direction=\"in\" type=\"as\" n"
        "ame=\"listFilters\"/>\n      <arg direction=\"in\" type=\"i\" name"
        "=\"filterSet\"/>\n      <annotation value=\"const QList&lt;qint64&"
        "gt; &amp;\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n    </"
        "method>\n    <method name=\"reload\"/>\n    <method name=\"showFil"
        "terLogDialog\">\n      <arg direction=\"in\" type=\"x\" name=\"win"
        "dowId\"/>\n    </method>\n    <method name=\"printCollectionMonito"
        "red\">\n      <arg direction=\"out\" type=\"s\"/>\n    </method>\n"
        "    <method name=\"expunge\">\n      <arg direction=\"in\" type=\""
        "x\" name=\"collectionId\"/>\n    </method>\n    <signal name=\"fil"
        "tersChanged\"/>\n  </interface>\n",
        "filtersChanged",
        "",
        "applySpecificFilters",
        "QList<qint64>",
        "items",
        "FilterRequires",
        "listFilters",
        "applySpecificFiltersOnCollections",
        "collections",
        "filterSet",
        "createUniqueName",
        "nameTemplate",
        "expunge",
        "collectionId",
        "filter",
        "item",
        "filterIdentifier",
        "resourceId",
        "filterCollections",
        "filterItem",
        "filterItems",
        "printCollectionMonitored",
        "reload",
        "showFilterLogDialog",
        "windowId"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'filtersChanged'
        QtMocHelpers::SignalData<void()>(5, 6, QMC::AccessPublic, QMetaType::Void),
        // Slot 'applySpecificFilters'
        QtMocHelpers::SlotData<void(const QList<qint64> &, int, const QStringList &)>(7, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { QMetaType::Int, 10 }, { QMetaType::QStringList, 11 },
        }}),
        // Slot 'applySpecificFiltersOnCollections'
        QtMocHelpers::SlotData<void(const QList<qint64> &, const QStringList &, int)>(12, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 13 }, { QMetaType::QStringList, 11 }, { QMetaType::Int, 14 },
        }}),
        // Slot 'createUniqueName'
        QtMocHelpers::SlotData<QString(const QString &)>(15, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 16 },
        }}),
        // Slot 'expunge'
        QtMocHelpers::SlotData<void(qlonglong)>(17, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 18 },
        }}),
        // Slot 'filter'
        QtMocHelpers::SlotData<void(qlonglong, const QString &, const QString &)>(19, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 20 }, { QMetaType::QString, 21 }, { QMetaType::QString, 22 },
        }}),
        // Slot 'filterCollections'
        QtMocHelpers::SlotData<void(const QList<qint64> &, int)>(23, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 13 }, { QMetaType::Int, 14 },
        }}),
        // Slot 'filterItem'
        QtMocHelpers::SlotData<void(qlonglong, int, const QString &)>(24, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 20 }, { QMetaType::Int, 14 }, { QMetaType::QString, 22 },
        }}),
        // Slot 'filterItems'
        QtMocHelpers::SlotData<void(const QList<qint64> &, int)>(25, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { QMetaType::Int, 14 },
        }}),
        // Slot 'printCollectionMonitored'
        QtMocHelpers::SlotData<QString()>(26, 6, QMC::AccessPublic, QMetaType::QString),
        // Slot 'reload'
        QtMocHelpers::SlotData<void()>(27, 6, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showFilterLogDialog'
        QtMocHelpers::SlotData<void(qlonglong)>(28, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 29 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<MailFilterAgentAdaptor, qt_meta_tag_ZN22MailFilterAgentAdaptorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject MailFilterAgentAdaptor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22MailFilterAgentAdaptorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22MailFilterAgentAdaptorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN22MailFilterAgentAdaptorE_t>.metaTypes,
    nullptr
} };

void MailFilterAgentAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MailFilterAgentAdaptor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->filtersChanged(); break;
        case 1: _t->applySpecificFilters((*reinterpret_cast<std::add_pointer_t<QList<qint64>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[3]))); break;
        case 2: _t->applySpecificFiltersOnCollections((*reinterpret_cast<std::add_pointer_t<QList<qint64>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 3: { QString _r = _t->createUniqueName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->expunge((*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[1]))); break;
        case 5: _t->filter((*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 6: _t->filterCollections((*reinterpret_cast<std::add_pointer_t<QList<qint64>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->filterItem((*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 8: _t->filterItems((*reinterpret_cast<std::add_pointer_t<QList<qint64>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 9: { QString _r = _t->printCollectionMonitored();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->reload(); break;
        case 11: _t->showFilterLogDialog((*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[1]))); 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< QList<qint64> >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<qint64> >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<qint64> >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<qint64> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MailFilterAgentAdaptor::*)()>(_a, &MailFilterAgentAdaptor::filtersChanged, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void MailFilterAgentAdaptor::filtersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
