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

#include <memory>
#include "../../../../../kbibtex-0.10.0/src/program/docklets/searchform.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSharedPointer>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'searchform.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_SearchForm_t {
    QByteArrayData data[15];
    char stringdata0[186];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SearchForm_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SearchForm_t qt_meta_stringdata_SearchForm = {
    {
QT_MOC_LITERAL(0, 0, 10), // "SearchForm"
QT_MOC_LITERAL(1, 11, 13), // "doneSearching"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 10), // "setElement"
QT_MOC_LITERAL(4, 37, 23), // "QSharedPointer<Element>"
QT_MOC_LITERAL(5, 61, 7), // "element"
QT_MOC_LITERAL(6, 69, 11), // "const File*"
QT_MOC_LITERAL(7, 81, 4), // "file"
QT_MOC_LITERAL(8, 86, 11), // "startSearch"
QT_MOC_LITERAL(9, 98, 13), // "stoppedSearch"
QT_MOC_LITERAL(10, 112, 10), // "resultCode"
QT_MOC_LITERAL(11, 123, 16), // "itemCheckChanged"
QT_MOC_LITERAL(12, 140, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(13, 157, 13), // "copyFromEntry"
QT_MOC_LITERAL(14, 171, 14) // "updateProgress"

    },
    "SearchForm\0doneSearching\0\0setElement\0"
    "QSharedPointer<Element>\0element\0"
    "const File*\0file\0startSearch\0stoppedSearch\0"
    "resultCode\0itemCheckChanged\0"
    "QListWidgetItem*\0copyFromEntry\0"
    "updateProgress"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SearchForm[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    2,   50,    2, 0x0a /* Public */,
       8,    0,   55,    2, 0x08 /* Private */,
       9,    1,   56,    2, 0x08 /* Private */,
      11,    1,   59,    2, 0x08 /* Private */,
      13,    0,   62,    2, 0x08 /* Private */,
      14,    2,   63,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6,    5,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,

       0        // eod
};

void SearchForm::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SearchForm *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->doneSearching(); break;
        case 1: _t->setElement((*reinterpret_cast< QSharedPointer<Element>(*)>(_a[1])),(*reinterpret_cast< const File*(*)>(_a[2]))); break;
        case 2: _t->startSearch(); break;
        case 3: _t->stoppedSearch((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->itemCheckChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 5: _t->copyFromEntry(); break;
        case 6: _t->updateProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SearchForm::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchForm::doneSearching)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SearchForm::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_SearchForm.data,
    qt_meta_data_SearchForm,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *SearchForm::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_SearchForm.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void SearchForm::doneSearching()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
