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

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

template <> constexpr inline auto DateBar::DateBarWidget::qt_create_metaobjectdata<qt_meta_tag_ZN7DateBar13DateBarWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DateBar::DateBarWidget",
        "zoomInEnabled",
        "",
        "zoomOutEnabled",
        "dateSelected",
        "DB::ImageDate",
        "includeRanges",
        "toolTipInfo",
        "dateRangeChange",
        "dateRangeCleared",
        "dateRangeSelected",
        "centerDateRange",
        "range",
        "Utilities::FastDateTime",
        "min",
        "max",
        "clearSelection",
        "setViewType",
        "ViewType",
        "tp",
        "redrawNow",
        "setDate",
        "date",
        "setImageCollection",
        "DB::ImageInfoList",
        "images",
        "scrollLeft",
        "scrollRight",
        "scroll",
        "units",
        "zoomIn",
        "zoomOut",
        "setHistogramBarSize",
        "QSize",
        "size",
        "setIncludeFuzzyCounts",
        "setShowResolutionIndicator",
        "setAutomaticRangeAdjustment"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'zoomInEnabled'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'zoomOutEnabled'
        QtMocHelpers::SignalData<void(bool)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'dateSelected'
        QtMocHelpers::SignalData<void(const DB::ImageDate &, bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 2 }, { QMetaType::Bool, 6 },
        }}),
        // Signal 'toolTipInfo'
        QtMocHelpers::SignalData<void(const QString &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'dateRangeChange'
        QtMocHelpers::SignalData<void(const DB::ImageDate &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 2 },
        }}),
        // Signal 'dateRangeCleared'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'dateRangeSelected'
        QtMocHelpers::SignalData<void(bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'centerDateRange'
        QtMocHelpers::SlotData<void(const DB::ImageDate &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 12 },
        }}),
        // Slot 'centerDateRange'
        QtMocHelpers::SlotData<void(const Utilities::FastDateTime &, const Utilities::FastDateTime &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { 0x80000000 | 13, 15 },
        }}),
        // Slot 'clearSelection'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setViewType'
        QtMocHelpers::SlotData<void(enum ViewType, bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 }, { QMetaType::Bool, 20 },
        }}),
        // Slot 'setViewType'
        QtMocHelpers::SlotData<void(enum ViewType)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Slot 'setDate'
        QtMocHelpers::SlotData<void(const Utilities::FastDateTime &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 22 },
        }}),
        // Slot 'setImageCollection'
        QtMocHelpers::SlotData<void(const DB::ImageInfoList &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 25 },
        }}),
        // Slot 'scrollLeft'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scrollRight'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scroll'
        QtMocHelpers::SlotData<void(int)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 29 },
        }}),
        // Slot 'zoomIn'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'zoomOut'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setHistogramBarSize'
        QtMocHelpers::SlotData<void(const QSize &)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 33, 34 },
        }}),
        // Slot 'setIncludeFuzzyCounts'
        QtMocHelpers::SlotData<void(bool)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'setShowResolutionIndicator'
        QtMocHelpers::SlotData<void(bool)>(36, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'setAutomaticRangeAdjustment'
        QtMocHelpers::SlotData<void(bool)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DateBarWidget, qt_meta_tag_ZN7DateBar13DateBarWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DateBar::DateBarWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7DateBar13DateBarWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7DateBar13DateBarWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7DateBar13DateBarWidgetE_t>.metaTypes,
    nullptr
} };

void DateBar::DateBarWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DateBarWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->zoomInEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->zoomOutEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->dateSelected((*reinterpret_cast<std::add_pointer_t<DB::ImageDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 3: _t->toolTipInfo((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->dateRangeChange((*reinterpret_cast<std::add_pointer_t<DB::ImageDate>>(_a[1]))); break;
        case 5: _t->dateRangeCleared(); break;
        case 6: _t->dateRangeSelected((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->centerDateRange((*reinterpret_cast<std::add_pointer_t<DB::ImageDate>>(_a[1]))); break;
        case 8: _t->centerDateRange((*reinterpret_cast<std::add_pointer_t<Utilities::FastDateTime>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Utilities::FastDateTime>>(_a[2]))); break;
        case 9: _t->clearSelection(); break;
        case 10: _t->setViewType((*reinterpret_cast<std::add_pointer_t<enum ViewType>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 11: _t->setViewType((*reinterpret_cast<std::add_pointer_t<enum ViewType>>(_a[1]))); break;
        case 12: _t->setDate((*reinterpret_cast<std::add_pointer_t<Utilities::FastDateTime>>(_a[1]))); break;
        case 13: _t->setImageCollection((*reinterpret_cast<std::add_pointer_t<DB::ImageInfoList>>(_a[1]))); break;
        case 14: _t->scrollLeft(); break;
        case 15: _t->scrollRight(); break;
        case 16: _t->scroll((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->zoomIn(); break;
        case 18: _t->zoomOut(); break;
        case 19: _t->setHistogramBarSize((*reinterpret_cast<std::add_pointer_t<QSize>>(_a[1]))); break;
        case 20: _t->setIncludeFuzzyCounts((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->setShowResolutionIndicator((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 22: _t->setAutomaticRangeAdjustment((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DateBarWidget::*)(bool )>(_a, &DateBarWidget::zoomInEnabled, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DateBarWidget::*)(bool )>(_a, &DateBarWidget::zoomOutEnabled, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DateBarWidget::*)(const DB::ImageDate & , bool )>(_a, &DateBarWidget::dateSelected, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DateBarWidget::*)(const QString & )>(_a, &DateBarWidget::toolTipInfo, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DateBarWidget::*)(const DB::ImageDate & )>(_a, &DateBarWidget::dateRangeChange, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DateBarWidget::*)()>(_a, &DateBarWidget::dateRangeCleared, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DateBarWidget::*)(bool )>(_a, &DateBarWidget::dateRangeSelected, 6))
            return;
    }
}

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

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

int DateBar::DateBarWidget::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 < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 23;
    }
    return _id;
}

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

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

// SIGNAL 2
void DateBar::DateBarWidget::dateSelected(const DB::ImageDate & _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

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

// SIGNAL 4
void DateBar::DateBarWidget::dateRangeChange(const DB::ImageDate & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void DateBar::DateBarWidget::dateRangeCleared()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void DateBar::DateBarWidget::dateRangeSelected(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
