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

#include <memory>
#include "../../Source/dooble_charts_property_editor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.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 != 67
#error "This file was generated using the moc from 5.15.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_dooble_charts_property_editor_model_delegate_t {
    QByteArrayData data[12];
    char stringdata0[221];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dooble_charts_property_editor_model_delegate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dooble_charts_property_editor_model_delegate_t qt_meta_stringdata_dooble_charts_property_editor_model_delegate = {
    {
QT_MOC_LITERAL(0, 0, 44), // "dooble_charts_property_editor..."
QT_MOC_LITERAL(1, 45, 17), // "show_color_dialog"
QT_MOC_LITERAL(2, 63, 0), // ""
QT_MOC_LITERAL(3, 64, 25), // "dooble_charts::Properties"
QT_MOC_LITERAL(4, 90, 8), // "property"
QT_MOC_LITERAL(5, 99, 16), // "show_file_dialog"
QT_MOC_LITERAL(6, 116, 12), // "QPushButton*"
QT_MOC_LITERAL(7, 129, 11), // "push_button"
QT_MOC_LITERAL(8, 141, 16), // "show_font_dialog"
QT_MOC_LITERAL(9, 158, 22), // "slot_show_color_dialog"
QT_MOC_LITERAL(10, 181, 21), // "slot_show_font_dialog"
QT_MOC_LITERAL(11, 203, 17) // "slot_text_changed"

    },
    "dooble_charts_property_editor_model_delegate\0"
    "show_color_dialog\0\0dooble_charts::Properties\0"
    "property\0show_file_dialog\0QPushButton*\0"
    "push_button\0show_font_dialog\0"
    "slot_show_color_dialog\0slot_show_font_dialog\0"
    "slot_text_changed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dooble_charts_property_editor_model_delegate[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,
       5,    2,   47,    2, 0x06 /* Public */,
       8,    1,   52,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   55,    2, 0x08 /* Private */,
      10,    0,   56,    2, 0x08 /* Private */,
      11,    0,   57,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 3,    7,    4,
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void dooble_charts_property_editor_model_delegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<dooble_charts_property_editor_model_delegate *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->show_color_dialog((*reinterpret_cast< const dooble_charts::Properties(*)>(_a[1]))); break;
        case 1: _t->show_file_dialog((*reinterpret_cast< QPushButton*(*)>(_a[1])),(*reinterpret_cast< const dooble_charts::Properties(*)>(_a[2]))); break;
        case 2: _t->show_font_dialog((*reinterpret_cast< const 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: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QPushButton* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (dooble_charts_property_editor_model_delegate::*)(const dooble_charts::Properties );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_charts_property_editor_model_delegate::show_color_dialog)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (dooble_charts_property_editor_model_delegate::*)(QPushButton * , const dooble_charts::Properties );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_charts_property_editor_model_delegate::show_file_dialog)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (dooble_charts_property_editor_model_delegate::*)(const dooble_charts::Properties );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_charts_property_editor_model_delegate::show_font_dialog)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dooble_charts_property_editor_model_delegate::staticMetaObject = { {
    QMetaObject::SuperData::link<QStyledItemDelegate::staticMetaObject>(),
    qt_meta_stringdata_dooble_charts_property_editor_model_delegate.data,
    qt_meta_data_dooble_charts_property_editor_model_delegate,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_dooble_charts_property_editor_model_delegate.stringdata0))
        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;
    } else 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)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void dooble_charts_property_editor_model_delegate::show_file_dialog(QPushButton * _t1, const dooble_charts::Properties _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void dooble_charts_property_editor_model_delegate::show_font_dialog(const dooble_charts::Properties _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_dooble_charts_property_editor_model_t {
    QByteArrayData data[1];
    char stringdata0[36];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dooble_charts_property_editor_model_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dooble_charts_property_editor_model_t qt_meta_stringdata_dooble_charts_property_editor_model = {
    {
QT_MOC_LITERAL(0, 0, 35) // "dooble_charts_property_editor..."

    },
    "dooble_charts_property_editor_model"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dooble_charts_property_editor_model[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

void dooble_charts_property_editor_model::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject dooble_charts_property_editor_model::staticMetaObject = { {
    QMetaObject::SuperData::link<QStandardItemModel::staticMetaObject>(),
    qt_meta_stringdata_dooble_charts_property_editor_model.data,
    qt_meta_data_dooble_charts_property_editor_model,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_dooble_charts_property_editor_model.stringdata0))
        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;
}
struct qt_meta_stringdata_dooble_charts_property_editor_t {
    QByteArrayData data[9];
    char stringdata0[176];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dooble_charts_property_editor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dooble_charts_property_editor_t qt_meta_stringdata_dooble_charts_property_editor = {
    {
QT_MOC_LITERAL(0, 0, 29), // "dooble_charts_property_editor"
QT_MOC_LITERAL(1, 30, 17), // "slot_collapse_all"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 40), // "slot_horizontal_scroll_bar_va..."
QT_MOC_LITERAL(4, 90, 5), // "value"
QT_MOC_LITERAL(5, 96, 22), // "slot_show_color_dialog"
QT_MOC_LITERAL(6, 119, 25), // "dooble_charts::Properties"
QT_MOC_LITERAL(7, 145, 8), // "property"
QT_MOC_LITERAL(8, 154, 21) // "slot_show_font_dialog"

    },
    "dooble_charts_property_editor\0"
    "slot_collapse_all\0\0"
    "slot_horizontal_scroll_bar_value_changed\0"
    "value\0slot_show_color_dialog\0"
    "dooble_charts::Properties\0property\0"
    "slot_show_font_dialog"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dooble_charts_property_editor[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    0,   34,    2, 0x08 /* Private */,
       3,    1,   35,    2, 0x08 /* Private */,
       5,    1,   38,    2, 0x08 /* Private */,
       8,    1,   41,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,

       0        // eod
};

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

QT_INIT_METAOBJECT const QMetaObject dooble_charts_property_editor::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_dooble_charts_property_editor.data,
    qt_meta_data_dooble_charts_property_editor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_dooble_charts_property_editor.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
