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

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

template <> constexpr inline auto BackgroundAdaptor::qt_create_metaobjectdata<qt_meta_tag_ZN17BackgroundAdaptorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "BackgroundAdaptor",
        "D-Bus Interface",
        "org.mauiman.Background",
        "D-Bus Introspection",
        "  <interface name=\"org.mauiman.Background\">\n    <method name=\""
        "setWallpaperSource\">\n      <arg direction=\"in\" type=\"s\" name"
        "=\"wallpaperSource\"/>\n    </method>\n    <method name=\"setDimWa"
        "llpaper\">\n      <arg direction=\"in\" type=\"b\" name=\"dimsWall"
        "paper\"/>\n    </method>\n    <method name=\"setFitWallpaper\">\n "
        "     <arg direction=\"in\" type=\"b\" name=\"fitWallpaper\"/>\n   "
        " </method>\n    <method name=\"setSolidColor\">\n      <arg direct"
        "ion=\"in\" type=\"s\" name=\"solidColor\"/>\n    </method>\n    <m"
        "ethod name=\"setShowWallpaper\">\n      <arg direction=\"in\" type"
        "=\"b\" name=\"showWallpaper\"/>\n    </method>\n    <property acce"
        "ss=\"read\" type=\"s\" name=\"wallpaperSource\"/>\n    <property a"
        "ccess=\"read\" type=\"b\" name=\"dimWallpaper\"/>\n    <property a"
        "ccess=\"read\" type=\"b\" name=\"fitWallpaper\"/>\n    <property a"
        "ccess=\"read\" type=\"s\" name=\"solidColor\"/>\n    <property acc"
        "ess=\"read\" type=\"b\" name=\"showWallpaper\"/>\n    <signal name"
        "=\"wallpaperSourceChanged\">\n      <arg type=\"s\"/>\n    </signa"
        "l>\n    <signal name=\"dimWallpaperChanged\">\n      <arg type=\"b"
        "\"/>\n    </signal>\n    <signal name=\"fitWallpaperChanged\">\n  "
        "    <arg type=\"b\"/>\n    </signal>\n    <signal name=\"solidColo"
        "rChanged\">\n      <arg type=\"s\"/>\n    </signal>\n    <signal n"
        "ame=\"showWallpaperChanged\">\n      <arg type=\"b\"/>\n    </sign"
        "al>\n  </interface>\n",
        "dimWallpaperChanged",
        "",
        "in0",
        "fitWallpaperChanged",
        "showWallpaperChanged",
        "solidColorChanged",
        "wallpaperSourceChanged",
        "setDimWallpaper",
        "dimsWallpaper",
        "setFitWallpaper",
        "fitWallpaper",
        "setShowWallpaper",
        "showWallpaper",
        "setSolidColor",
        "solidColor",
        "setWallpaperSource",
        "wallpaperSource",
        "dimWallpaper"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'dimWallpaperChanged'
        QtMocHelpers::SignalData<void(bool)>(5, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'fitWallpaperChanged'
        QtMocHelpers::SignalData<void(bool)>(8, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'showWallpaperChanged'
        QtMocHelpers::SignalData<void(bool)>(9, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'solidColorChanged'
        QtMocHelpers::SignalData<void(const QString &)>(10, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'wallpaperSourceChanged'
        QtMocHelpers::SignalData<void(const QString &)>(11, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Slot 'setDimWallpaper'
        QtMocHelpers::SlotData<void(bool)>(12, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Slot 'setFitWallpaper'
        QtMocHelpers::SlotData<void(bool)>(14, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 15 },
        }}),
        // Slot 'setShowWallpaper'
        QtMocHelpers::SlotData<void(bool)>(16, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 17 },
        }}),
        // Slot 'setSolidColor'
        QtMocHelpers::SlotData<void(const QString &)>(18, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 19 },
        }}),
        // Slot 'setWallpaperSource'
        QtMocHelpers::SlotData<void(const QString &)>(20, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'dimWallpaper'
        QtMocHelpers::PropertyData<bool>(22, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'fitWallpaper'
        QtMocHelpers::PropertyData<bool>(15, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'showWallpaper'
        QtMocHelpers::PropertyData<bool>(17, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'solidColor'
        QtMocHelpers::PropertyData<QString>(19, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'wallpaperSource'
        QtMocHelpers::PropertyData<QString>(21, QMetaType::QString, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<BackgroundAdaptor, qt_meta_tag_ZN17BackgroundAdaptorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject BackgroundAdaptor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17BackgroundAdaptorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17BackgroundAdaptorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17BackgroundAdaptorE_t>.metaTypes,
    nullptr
} };

void BackgroundAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BackgroundAdaptor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->dimWallpaperChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->fitWallpaperChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->showWallpaperChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->solidColorChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->wallpaperSourceChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->setDimWallpaper((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->setFitWallpaper((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->setShowWallpaper((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->setSolidColor((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->setWallpaperSource((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (BackgroundAdaptor::*)(bool )>(_a, &BackgroundAdaptor::dimWallpaperChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (BackgroundAdaptor::*)(bool )>(_a, &BackgroundAdaptor::fitWallpaperChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (BackgroundAdaptor::*)(bool )>(_a, &BackgroundAdaptor::showWallpaperChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (BackgroundAdaptor::*)(const QString & )>(_a, &BackgroundAdaptor::solidColorChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (BackgroundAdaptor::*)(const QString & )>(_a, &BackgroundAdaptor::wallpaperSourceChanged, 4))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->dimWallpaper(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->fitWallpaper(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->showWallpaper(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->solidColor(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->wallpaperSource(); break;
        default: break;
        }
    }
}

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

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

int BackgroundAdaptor::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void BackgroundAdaptor::dimWallpaperChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void BackgroundAdaptor::fitWallpaperChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void BackgroundAdaptor::showWallpaperChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void BackgroundAdaptor::solidColorChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void BackgroundAdaptor::wallpaperSourceChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
