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

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

template <> constexpr inline auto dooble_application::qt_create_metaobjectdata<qt_meta_tag_ZN18dooble_applicationE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dooble_application",
        "address_widget_populated",
        "",
        "application_locked",
        "state",
        "dooble*",
        "d",
        "cookies_cleared",
        "decreased_page_brightness",
        "dooble_credentials_authenticated",
        "favorites_cleared",
        "favorites_sorted",
        "history_cleared",
        "javascript_scripts_cleared",
        "status_bar_visible",
        "slot_application_locked"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'address_widget_populated'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'application_locked'
        QtMocHelpers::SignalData<void(bool, dooble *)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'cookies_cleared'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'decreased_page_brightness'
        QtMocHelpers::SignalData<void(bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 4 },
        }}),
        // Signal 'dooble_credentials_authenticated'
        QtMocHelpers::SignalData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 4 },
        }}),
        // Signal 'favorites_cleared'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'favorites_sorted'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'history_cleared'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'javascript_scripts_cleared'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'status_bar_visible'
        QtMocHelpers::SignalData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 4 },
        }}),
        // Slot 'slot_application_locked'
        QtMocHelpers::SlotData<void(bool, dooble *)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 4 }, { 0x80000000 | 5, 6 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<dooble_application, qt_meta_tag_ZN18dooble_applicationE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dooble_application::staticMetaObject = { {
    QMetaObject::SuperData::link<QApplication::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18dooble_applicationE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18dooble_applicationE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18dooble_applicationE_t>.metaTypes,
    nullptr
} };

void dooble_application::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<dooble_application *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->address_widget_populated(); break;
        case 1: _t->application_locked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<dooble*>>(_a[2]))); break;
        case 2: _t->cookies_cleared(); break;
        case 3: _t->decreased_page_brightness((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->dooble_credentials_authenticated((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->favorites_cleared(); break;
        case 6: _t->favorites_sorted(); break;
        case 7: _t->history_cleared(); break;
        case 8: _t->javascript_scripts_cleared(); break;
        case 9: _t->status_bar_visible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->slot_application_locked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<dooble*>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)()>(_a, &dooble_application::address_widget_populated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)(bool , dooble * )>(_a, &dooble_application::application_locked, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)()>(_a, &dooble_application::cookies_cleared, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)(bool )>(_a, &dooble_application::decreased_page_brightness, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)(bool )>(_a, &dooble_application::dooble_credentials_authenticated, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)()>(_a, &dooble_application::favorites_cleared, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)()>(_a, &dooble_application::favorites_sorted, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)()>(_a, &dooble_application::history_cleared, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)()>(_a, &dooble_application::javascript_scripts_cleared, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_application::*)(bool )>(_a, &dooble_application::status_bar_visible, 9))
            return;
    }
}

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

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

int dooble_application::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QApplication::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void dooble_application::address_widget_populated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void dooble_application::application_locked(bool _t1, dooble * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void dooble_application::cookies_cleared()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void dooble_application::decreased_page_brightness(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void dooble_application::dooble_credentials_authenticated(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void dooble_application::favorites_cleared()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void dooble_application::favorites_sorted()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void dooble_application::history_cleared()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void dooble_application::javascript_scripts_cleared()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void dooble_application::status_bar_visible(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
