/****************************************************************************
** Meta object code from reading C++ file 'dooble_charts_property_editor.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_charts_property_editor.h"
#include <QtGui/qtextcursor.h>
#include <QtGui/qscreen.h>
#include <QtCharts/qlineseries.h>
#include <QtCharts/qabstractbarseries.h>
#include <QtCharts/qvbarmodelmapper.h>
#include <QtCharts/qboxplotseries.h>
#include <QtCharts/qcandlestickseries.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtCharts/qpieseries.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtCharts/qboxplotseries.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtCharts/qpieseries.h>
#include <QtCharts/qpieseries.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtCharts/qxyseries.h>
#include <QtCharts/qxyseries.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtCharts/qboxplotseries.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtCharts/qpieseries.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtCharts/qxyseries.h>
#include <QtCore/qabstractitemmodel.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_charts_property_editor.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_ZN44dooble_charts_property_editor_model_delegateE_t {};
} // unnamed namespace

template <> constexpr inline auto dooble_charts_property_editor_model_delegate::qt_create_metaobjectdata<qt_meta_tag_ZN44dooble_charts_property_editor_model_delegateE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dooble_charts_property_editor_model_delegate",
        "show_color_dialog",
        "",
        "dooble_charts::Properties",
        "property",
        "show_file_dialog",
        "QPushButton*",
        "push_button",
        "show_font_dialog",
        "slot_show_color_dialog",
        "slot_show_font_dialog",
        "slot_text_changed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'show_color_dialog'
        QtMocHelpers::SignalData<void(const dooble_charts::Properties)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'show_file_dialog'
        QtMocHelpers::SignalData<void(QPushButton *, const dooble_charts::Properties)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 3, 4 },
        }}),
        // Signal 'show_font_dialog'
        QtMocHelpers::SignalData<void(const dooble_charts::Properties)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'slot_show_color_dialog'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_show_font_dialog'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_text_changed'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<dooble_charts_property_editor_model_delegate, qt_meta_tag_ZN44dooble_charts_property_editor_model_delegateE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dooble_charts_property_editor_model_delegate::staticMetaObject = { {
    QMetaObject::SuperData::link<QStyledItemDelegate::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN44dooble_charts_property_editor_model_delegateE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN44dooble_charts_property_editor_model_delegateE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN44dooble_charts_property_editor_model_delegateE_t>.metaTypes,
    nullptr
} };

void dooble_charts_property_editor_model_delegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<dooble_charts_property_editor_model_delegate *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->show_color_dialog((*reinterpret_cast<std::add_pointer_t<dooble_charts::Properties>>(_a[1]))); break;
        case 1: _t->show_file_dialog((*reinterpret_cast<std::add_pointer_t<QPushButton*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<dooble_charts::Properties>>(_a[2]))); break;
        case 2: _t->show_font_dialog((*reinterpret_cast<std::add_pointer_t<dooble_charts::Properties>>(_a[1]))); break;
        case 3: _t->slot_show_color_dialog(); break;
        case 4: _t->slot_show_font_dialog(); break;
        case 5: _t->slot_text_changed(); 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< QPushButton* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (dooble_charts_property_editor_model_delegate::*)(const dooble_charts::Properties )>(_a, &dooble_charts_property_editor_model_delegate::show_color_dialog, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_charts_property_editor_model_delegate::*)(QPushButton * , const dooble_charts::Properties )>(_a, &dooble_charts_property_editor_model_delegate::show_file_dialog, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_charts_property_editor_model_delegate::*)(const dooble_charts::Properties )>(_a, &dooble_charts_property_editor_model_delegate::show_font_dialog, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void dooble_charts_property_editor_model_delegate::show_color_dialog(const dooble_charts::Properties _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void dooble_charts_property_editor_model_delegate::show_file_dialog(QPushButton * _t1, const dooble_charts::Properties _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void dooble_charts_property_editor_model_delegate::show_font_dialog(const dooble_charts::Properties _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN35dooble_charts_property_editor_modelE_t {};
} // unnamed namespace

template <> constexpr inline auto dooble_charts_property_editor_model::qt_create_metaobjectdata<qt_meta_tag_ZN35dooble_charts_property_editor_modelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dooble_charts_property_editor_model"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<dooble_charts_property_editor_model, qt_meta_tag_ZN35dooble_charts_property_editor_modelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dooble_charts_property_editor_model::staticMetaObject = { {
    QMetaObject::SuperData::link<QStandardItemModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN35dooble_charts_property_editor_modelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN35dooble_charts_property_editor_modelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN35dooble_charts_property_editor_modelE_t>.metaTypes,
    nullptr
} };

void dooble_charts_property_editor_model::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<dooble_charts_property_editor_model *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int dooble_charts_property_editor_model::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStandardItemModel::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN29dooble_charts_property_editorE_t {};
} // unnamed namespace

template <> constexpr inline auto dooble_charts_property_editor::qt_create_metaobjectdata<qt_meta_tag_ZN29dooble_charts_property_editorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dooble_charts_property_editor",
        "slot_collapse_all",
        "",
        "slot_horizontal_scroll_bar_value_changed",
        "value",
        "slot_show_color_dialog",
        "dooble_charts::Properties",
        "property",
        "slot_show_font_dialog"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slot_collapse_all'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_horizontal_scroll_bar_value_changed'
        QtMocHelpers::SlotData<void(int)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'slot_show_color_dialog'
        QtMocHelpers::SlotData<void(const dooble_charts::Properties)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'slot_show_font_dialog'
        QtMocHelpers::SlotData<void(const dooble_charts::Properties)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<dooble_charts_property_editor, qt_meta_tag_ZN29dooble_charts_property_editorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dooble_charts_property_editor::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN29dooble_charts_property_editorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN29dooble_charts_property_editorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN29dooble_charts_property_editorE_t>.metaTypes,
    nullptr
} };

void dooble_charts_property_editor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<dooble_charts_property_editor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slot_collapse_all(); break;
        case 1: _t->slot_horizontal_scroll_bar_value_changed((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->slot_show_color_dialog((*reinterpret_cast<std::add_pointer_t<dooble_charts::Properties>>(_a[1]))); break;
        case 3: _t->slot_show_font_dialog((*reinterpret_cast<std::add_pointer_t<dooble_charts::Properties>>(_a[1]))); break;
        default: ;
        }
    }
}

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

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

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