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

#include "../../../../keditbookmarks-26.07.80/src/kbookmarkimporter.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 'kbookmarkimporter.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.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_ZN20BookmarkImporterBaseE_t {};
} // unnamed namespace

template <> constexpr inline auto BookmarkImporterBase::qt_create_metaobjectdata<qt_meta_tag_ZN20BookmarkImporterBaseE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "BookmarkImporterBase",
        "newBookmark",
        "",
        "text",
        "url",
        "additionalInfo",
        "newFolder",
        "open",
        "newSeparator",
        "endFolder"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'newBookmark'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 }, { QMetaType::QString, 5 },
        }}),
        // Signal 'newFolder'
        QtMocHelpers::SignalData<void(const QString &, bool, const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Bool, 7 }, { QMetaType::QString, 5 },
        }}),
        // Signal 'newSeparator'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'endFolder'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<BookmarkImporterBase, qt_meta_tag_ZN20BookmarkImporterBaseE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject BookmarkImporterBase::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20BookmarkImporterBaseE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20BookmarkImporterBaseE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20BookmarkImporterBaseE_t>.metaTypes,
    nullptr
} };

void BookmarkImporterBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BookmarkImporterBase *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->newBookmark((*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 1: _t->newFolder((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 2: _t->newSeparator(); break;
        case 3: _t->endFolder(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (BookmarkImporterBase::*)(const QString & , const QString & , const QString & )>(_a, &BookmarkImporterBase::newBookmark, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (BookmarkImporterBase::*)(const QString & , bool , const QString & )>(_a, &BookmarkImporterBase::newFolder, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (BookmarkImporterBase::*)()>(_a, &BookmarkImporterBase::newSeparator, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (BookmarkImporterBase::*)()>(_a, &BookmarkImporterBase::endFolder, 3))
            return;
    }
}

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

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

int BookmarkImporterBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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;
}

// SIGNAL 0
void BookmarkImporterBase::newBookmark(const QString & _t1, const QString & _t2, const QString & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void BookmarkImporterBase::newFolder(const QString & _t1, bool _t2, const QString & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void BookmarkImporterBase::newSeparator()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void BookmarkImporterBase::endFolder()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
namespace {
struct qt_meta_tag_ZN25KXBELBookmarkImporterImplE_t {};
} // unnamed namespace

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

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

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

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

void *KXBELBookmarkImporterImpl::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25KXBELBookmarkImporterImplE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "KBookmarkGroupTraverser"))
        return static_cast< KBookmarkGroupTraverser*>(this);
    return BookmarkImporterBase::qt_metacast(_clname);
}

int KXBELBookmarkImporterImpl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = BookmarkImporterBase::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
