/****************************************************************************
** Meta object code from reading C++ file 'BookmarksList.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 "../../../kgeotag-2.0.0/src/BookmarksList.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'BookmarksList.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_ZN13BookmarksListE_t {};
} // unnamed namespace

template <> constexpr inline auto BookmarksList::qt_create_metaobjectdata<qt_meta_tag_ZN13BookmarksListE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "BookmarksList",
        "showInfo",
        "",
        "Coordinates",
        "coordinates",
        "bookmarksChanged",
        "newBookmark",
        "showContextMenu",
        "QPoint",
        "point",
        "newManualBookmark",
        "renameBookmark",
        "editCoordinates",
        "lookupElevation",
        "setElevation",
        "deleteBookmark",
        "itemHighlighted",
        "QListWidgetItem*",
        "item",
        "elevationProcessed",
        "ElevationEngine::Target",
        "target",
        "ids",
        "QList<double>",
        "elevations",
        "restoreAfterElevationLookup",
        "centerBookmark"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'showInfo'
        QtMocHelpers::SignalData<void(const Coordinates &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'bookmarksChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'newBookmark'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'newManualBookmark'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'renameBookmark'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'editCoordinates'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'lookupElevation'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setElevation'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'deleteBookmark'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'itemHighlighted'
        QtMocHelpers::SlotData<void(QListWidgetItem *, QListWidgetItem *)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 18 }, { 0x80000000 | 17, 2 },
        }}),
        // Slot 'elevationProcessed'
        QtMocHelpers::SlotData<void(ElevationEngine::Target, const QList<QString> &, const QList<double> &)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 20, 21 }, { QMetaType::QStringList, 22 }, { 0x80000000 | 23, 24 },
        }}),
        // Slot 'restoreAfterElevationLookup'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'centerBookmark'
        QtMocHelpers::SlotData<void(QListWidgetItem *)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<BookmarksList, qt_meta_tag_ZN13BookmarksListE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject BookmarksList::staticMetaObject = { {
    QMetaObject::SuperData::link<QListWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13BookmarksListE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13BookmarksListE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13BookmarksListE_t>.metaTypes,
    nullptr
} };

void BookmarksList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BookmarksList *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->showInfo((*reinterpret_cast<std::add_pointer_t<Coordinates>>(_a[1]))); break;
        case 1: _t->bookmarksChanged(); break;
        case 2: _t->newBookmark(); break;
        case 3: _t->showContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 4: _t->newManualBookmark(); break;
        case 5: _t->renameBookmark(); break;
        case 6: _t->editCoordinates(); break;
        case 7: _t->lookupElevation(); break;
        case 8: _t->setElevation(); break;
        case 9: _t->deleteBookmark(); break;
        case 10: _t->itemHighlighted((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[2]))); break;
        case 11: _t->elevationProcessed((*reinterpret_cast<std::add_pointer_t<ElevationEngine::Target>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<QString>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList<double>>>(_a[3]))); break;
        case 12: _t->restoreAfterElevationLookup(); break;
        case 13: _t->centerBookmark((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Coordinates >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<double> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (BookmarksList::*)(const Coordinates & )>(_a, &BookmarksList::showInfo, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (BookmarksList::*)()>(_a, &BookmarksList::bookmarksChanged, 1))
            return;
    }
}

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

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

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

// SIGNAL 0
void BookmarksList::showInfo(const Coordinates & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void BookmarksList::bookmarksChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
