/****************************************************************************
** Meta object code from reading C++ file 'base_event_handler.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 "../../../../../deepin-anything/src/server/include/core/base_event_handler.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'base_event_handler.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_base_event_handler_t {
    QByteArrayData data[15];
    char stringdata0[167];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_base_event_handler_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_base_event_handler_t qt_meta_stringdata_base_event_handler = {
    {
QT_MOC_LITERAL(0, 0, 18), // "base_event_handler"
QT_MOC_LITERAL(1, 19, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 35, 17), // "my.test.IAnything"
QT_MOC_LITERAL(3, 53, 6), // "search"
QT_MOC_LITERAL(4, 60, 0), // ""
QT_MOC_LITERAL(5, 61, 4), // "path"
QT_MOC_LITERAL(6, 66, 8), // "keywords"
QT_MOC_LITERAL(7, 75, 6), // "offset"
QT_MOC_LITERAL(8, 82, 9), // "max_count"
QT_MOC_LITERAL(9, 92, 10), // "removePath"
QT_MOC_LITERAL(10, 103, 8), // "fullPath"
QT_MOC_LITERAL(11, 112, 6), // "hasLFT"
QT_MOC_LITERAL(12, 119, 7), // "addPath"
QT_MOC_LITERAL(13, 127, 24), // "index_files_in_directory"
QT_MOC_LITERAL(14, 152, 14) // "directory_path"

    },
    "base_event_handler\0D-Bus Interface\0"
    "my.test.IAnything\0search\0\0path\0keywords\0"
    "offset\0max_count\0removePath\0fullPath\0"
    "hasLFT\0addPath\0index_files_in_directory\0"
    "directory_path"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_base_event_handler[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    4,   46,    4, 0x0a /* Public */,
       3,    1,   55,    4, 0x0a /* Public */,
       9,    1,   58,    4, 0x0a /* Public */,
      11,    1,   61,    4, 0x0a /* Public */,
      12,    1,   64,    4, 0x0a /* Public */,
      13,    1,   67,    4, 0x0a /* Public */,

 // slots: parameters
    QMetaType::QStringList, QMetaType::QString, QMetaType::QString, QMetaType::Int, QMetaType::Int,    5,    6,    7,    8,
    QMetaType::QStringList, QMetaType::QString,    6,
    QMetaType::Bool, QMetaType::QString,   10,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString,   14,

       0        // eod
};

void base_event_handler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<base_event_handler *>(_o);
        (void)_t;
        switch (_id) {
        case 0: { QStringList _r = _t->search((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 1: { QStringList _r = _t->search((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 2: { bool _r = _t->removePath((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 3: { bool _r = _t->hasLFT((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->addPath((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->index_files_in_directory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject base_event_handler::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_base_event_handler.data,
    qt_meta_data_base_event_handler,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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