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

#include "../../../goldendict-ng-26.5.2-Release.87b8c6c6/src/dict/dictionary.hh"
#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 'dictionary.hh' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN10Dictionary7RequestE_t {};
} // unnamed namespace

template <> constexpr inline auto Dictionary::Request::qt_create_metaobjectdata<qt_meta_tag_ZN10Dictionary7RequestE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Dictionary::Request",
        "updated",
        "",
        "finished",
        "matchCount"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'updated'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'finished'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'matchCount'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Request, qt_meta_tag_ZN10Dictionary7RequestE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Dictionary::Request::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Dictionary7RequestE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Dictionary7RequestE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10Dictionary7RequestE_t>.metaTypes,
    nullptr
} };

void Dictionary::Request::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Request *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updated(); break;
        case 1: _t->finished(); break;
        case 2: _t->matchCount((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Request::*)()>(_a, &Request::updated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Request::*)()>(_a, &Request::finished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Request::*)(int )>(_a, &Request::matchCount, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void Dictionary::Request::updated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Dictionary::Request::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Dictionary::Request::matchCount(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN10Dictionary17WordSearchRequestE_t {};
} // unnamed namespace

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

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

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

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

void *Dictionary::WordSearchRequest::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Dictionary17WordSearchRequestE_t>.strings))
        return static_cast<void*>(this);
    return Request::qt_metacast(_clname);
}

int Dictionary::WordSearchRequest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Request::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN10Dictionary11DataRequestE_t {};
} // unnamed namespace

template <> constexpr inline auto Dictionary::DataRequest::qt_create_metaobjectdata<qt_meta_tag_ZN10Dictionary11DataRequestE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Dictionary::DataRequest",
        "finishedArticle",
        "",
        "articleText"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'finishedArticle'
        QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DataRequest, qt_meta_tag_ZN10Dictionary11DataRequestE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Dictionary::DataRequest::staticMetaObject = { {
    QMetaObject::SuperData::link<Request::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Dictionary11DataRequestE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Dictionary11DataRequestE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10Dictionary11DataRequestE_t>.metaTypes,
    nullptr
} };

void Dictionary::DataRequest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DataRequest *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->finishedArticle((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DataRequest::*)(QString )>(_a, &DataRequest::finishedArticle, 0))
            return;
    }
}

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

void *Dictionary::DataRequest::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Dictionary11DataRequestE_t>.strings))
        return static_cast<void*>(this);
    return Request::qt_metacast(_clname);
}

int Dictionary::DataRequest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Request::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void Dictionary::DataRequest::finishedArticle(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN10Dictionary24WordSearchRequestInstantE_t {};
} // unnamed namespace

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

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

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

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

void *Dictionary::WordSearchRequestInstant::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Dictionary24WordSearchRequestInstantE_t>.strings))
        return static_cast<void*>(this);
    return WordSearchRequest::qt_metacast(_clname);
}

int Dictionary::WordSearchRequestInstant::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = WordSearchRequest::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN10Dictionary5ClassE_t {};
} // unnamed namespace

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

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

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

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

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

int Dictionary::Class::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
