/****************************************************************************
** Meta object code from reading C++ file 'ListSelect.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/AnnotationDialog/ListSelect.h"
#include <QtGui/qtextcursor.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 'ListSelect.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_ZN16AnnotationDialog10ListSelectE_t {};
} // unnamed namespace

template <> constexpr inline auto AnnotationDialog::ListSelect::qt_create_metaobjectdata<qt_meta_tag_ZN16AnnotationDialog10ListSelectE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AnnotationDialog::ListSelect",
        "positionableTagSelected",
        "",
        "category",
        "tag",
        "positionableTagDeselected",
        "positionableTagRenamed",
        "oldTag",
        "newTag",
        "clear",
        "slotReturn",
        "slotExternalReturn",
        "text",
        "slotSortDate",
        "slotSortAlphaTree",
        "slotSortAlphaFlat",
        "toggleSortType",
        "updateListview",
        "rePopulate",
        "ensureTagIsSelected",
        "itemSelected",
        "QTreeWidgetItem*",
        "showContextMenu",
        "QPoint",
        "setViewSortType",
        "Settings::ViewSortType",
        "limitToSelection",
        "showAllChildren",
        "updateSelectionCount"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'positionableTagSelected'
        QtMocHelpers::SignalData<void(const QString, const QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'positionableTagDeselected'
        QtMocHelpers::SignalData<void(const QString, const QString)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'positionableTagRenamed'
        QtMocHelpers::SignalData<void(const QString, const QString, const QString)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 7 }, { QMetaType::QString, 8 },
        }}),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotReturn'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotExternalReturn'
        QtMocHelpers::SlotData<void(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Slot 'slotSortDate'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSortAlphaTree'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSortAlphaFlat'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toggleSortType'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateListview'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'rePopulate'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ensureTagIsSelected'
        QtMocHelpers::SlotData<void(QString, QString)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Slot 'itemSelected'
        QtMocHelpers::SlotData<void(QTreeWidgetItem *)>(20, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 21, 2 },
        }}),
        // Slot 'showContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(22, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 23, 2 },
        }}),
        // Slot 'setViewSortType'
        QtMocHelpers::SlotData<void(Settings::ViewSortType)>(24, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 25, 2 },
        }}),
        // Slot 'limitToSelection'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showAllChildren'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'updateSelectionCount'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ListSelect, qt_meta_tag_ZN16AnnotationDialog10ListSelectE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AnnotationDialog::ListSelect::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16AnnotationDialog10ListSelectE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16AnnotationDialog10ListSelectE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16AnnotationDialog10ListSelectE_t>.metaTypes,
    nullptr
} };

void AnnotationDialog::ListSelect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ListSelect *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->positionableTagSelected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->positionableTagDeselected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 2: _t->positionableTagRenamed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 3: _t->clear(); break;
        case 4: _t->slotReturn(); break;
        case 5: _t->slotExternalReturn((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->slotSortDate(); break;
        case 7: _t->slotSortAlphaTree(); break;
        case 8: _t->slotSortAlphaFlat(); break;
        case 9: _t->toggleSortType(); break;
        case 10: _t->updateListview(); break;
        case 11: _t->rePopulate(); break;
        case 12: _t->ensureTagIsSelected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 13: _t->itemSelected((*reinterpret_cast<std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
        case 14: _t->showContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 15: _t->setViewSortType((*reinterpret_cast<std::add_pointer_t<Settings::ViewSortType>>(_a[1]))); break;
        case 16: _t->limitToSelection(); break;
        case 17: _t->showAllChildren(); break;
        case 18: _t->updateSelectionCount(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ListSelect::*)(const QString , const QString )>(_a, &ListSelect::positionableTagSelected, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ListSelect::*)(const QString , const QString )>(_a, &ListSelect::positionableTagDeselected, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ListSelect::*)(const QString , const QString , const QString )>(_a, &ListSelect::positionableTagRenamed, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void AnnotationDialog::ListSelect::positionableTagSelected(const QString _t1, const QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void AnnotationDialog::ListSelect::positionableTagDeselected(const QString _t1, const QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void AnnotationDialog::ListSelect::positionableTagRenamed(const QString _t1, const QString _t2, const QString _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
