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

#include <memory>
#include "../../../../kcm-fcitx-0.5.6/src/impage_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'impage_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_Fcitx__IMPage__Private_t {
    QByteArrayData data[26];
    char stringdata0[353];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fcitx__IMPage__Private_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fcitx__IMPage__Private_t qt_meta_stringdata_Fcitx__IMPage__Private = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Fcitx::IMPage::Private"
QT_MOC_LITERAL(1, 23, 12), // "updateIMList"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 26), // "FcitxQtInputMethodItemList"
QT_MOC_LITERAL(4, 64, 4), // "list"
QT_MOC_LITERAL(5, 69, 9), // "selection"
QT_MOC_LITERAL(6, 79, 7), // "changed"
QT_MOC_LITERAL(7, 87, 23), // "availIMSelectionChanged"
QT_MOC_LITERAL(8, 111, 23), // "currentIMCurrentChanged"
QT_MOC_LITERAL(9, 135, 10), // "clickAddIM"
QT_MOC_LITERAL(10, 146, 13), // "clickRemoveIM"
QT_MOC_LITERAL(11, 160, 5), // "addIM"
QT_MOC_LITERAL(12, 166, 11), // "QModelIndex"
QT_MOC_LITERAL(13, 178, 5), // "index"
QT_MOC_LITERAL(14, 184, 8), // "removeIM"
QT_MOC_LITERAL(15, 193, 8), // "moveUpIM"
QT_MOC_LITERAL(16, 202, 10), // "moveDownIM"
QT_MOC_LITERAL(17, 213, 11), // "configureIM"
QT_MOC_LITERAL(18, 225, 4), // "save"
QT_MOC_LITERAL(19, 230, 20), // "doubleClickCurrentIM"
QT_MOC_LITERAL(20, 251, 18), // "doubleClickAvailIM"
QT_MOC_LITERAL(21, 270, 15), // "selectCurrentIM"
QT_MOC_LITERAL(22, 286, 13), // "selectAvailIM"
QT_MOC_LITERAL(23, 300, 19), // "selectDefaultLayout"
QT_MOC_LITERAL(24, 320, 22), // "onConnectStatusChanged"
QT_MOC_LITERAL(25, 343, 9) // "connected"

    },
    "Fcitx::IMPage::Private\0updateIMList\0"
    "\0FcitxQtInputMethodItemList\0list\0"
    "selection\0changed\0availIMSelectionChanged\0"
    "currentIMCurrentChanged\0clickAddIM\0"
    "clickRemoveIM\0addIM\0QModelIndex\0index\0"
    "removeIM\0moveUpIM\0moveDownIM\0configureIM\0"
    "save\0doubleClickCurrentIM\0doubleClickAvailIM\0"
    "selectCurrentIM\0selectAvailIM\0"
    "selectDefaultLayout\0onConnectStatusChanged\0"
    "connected"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fcitx__IMPage__Private[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  104,    2, 0x06 /* Public */,
       6,    0,  109,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,  110,    2, 0x0a /* Public */,
       8,    0,  111,    2, 0x0a /* Public */,
       9,    0,  112,    2, 0x0a /* Public */,
      10,    0,  113,    2, 0x0a /* Public */,
      11,    1,  114,    2, 0x0a /* Public */,
      14,    1,  117,    2, 0x0a /* Public */,
      15,    0,  120,    2, 0x0a /* Public */,
      16,    0,  121,    2, 0x0a /* Public */,
      17,    0,  122,    2, 0x0a /* Public */,
      18,    0,  123,    2, 0x0a /* Public */,
      19,    1,  124,    2, 0x0a /* Public */,
      20,    1,  127,    2, 0x0a /* Public */,
      21,    1,  130,    2, 0x0a /* Public */,
      22,    1,  133,    2, 0x0a /* Public */,
      23,    0,  136,    2, 0x0a /* Public */,
      24,    1,  137,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    5,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   25,

       0        // eod
};

void Fcitx::IMPage::Private::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Private *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->updateIMList((*reinterpret_cast< const FcitxQtInputMethodItemList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->changed(); break;
        case 2: _t->availIMSelectionChanged(); break;
        case 3: _t->currentIMCurrentChanged(); break;
        case 4: _t->clickAddIM(); break;
        case 5: _t->clickRemoveIM(); break;
        case 6: _t->addIM((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 7: _t->removeIM((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 8: _t->moveUpIM(); break;
        case 9: _t->moveDownIM(); break;
        case 10: _t->configureIM(); break;
        case 11: _t->save(); break;
        case 12: _t->doubleClickCurrentIM((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 13: _t->doubleClickAvailIM((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 14: _t->selectCurrentIM((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 15: _t->selectAvailIM((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 16: _t->selectDefaultLayout(); break;
        case 17: _t->onConnectStatusChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtInputMethodItemList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Private::*)(const FcitxQtInputMethodItemList & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Private::updateIMList)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Private::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Private::changed)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Fcitx::IMPage::Private::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Fcitx__IMPage__Private.data,
    qt_meta_data_Fcitx__IMPage__Private,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Fcitx::IMPage::Private::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 < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void Fcitx::IMPage::Private::updateIMList(const FcitxQtInputMethodItemList & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Fcitx::IMPage::Private::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_Fcitx__IMDelegate_t {
    QByteArrayData data[1];
    char stringdata0[18];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fcitx__IMDelegate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fcitx__IMDelegate_t qt_meta_stringdata_Fcitx__IMDelegate = {
    {
QT_MOC_LITERAL(0, 0, 17) // "Fcitx::IMDelegate"

    },
    "Fcitx::IMDelegate"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fcitx__IMDelegate[] = {

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

       0        // eod
};

void Fcitx::IMDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject Fcitx::IMDelegate::staticMetaObject = { {
    QMetaObject::SuperData::link<QStyledItemDelegate::staticMetaObject>(),
    qt_meta_stringdata_Fcitx__IMDelegate.data,
    qt_meta_data_Fcitx__IMDelegate,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Fcitx::IMDelegate::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Fcitx__IMDelegate.stringdata0))
        return static_cast<void*>(this);
    return QStyledItemDelegate::qt_metacast(_clname);
}

int Fcitx::IMDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStyledItemDelegate::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_Fcitx__IMPage__Private__IMProxyModel_t {
    QByteArrayData data[6];
    char stringdata0[105];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fcitx__IMPage__Private__IMProxyModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fcitx__IMPage__Private__IMProxyModel_t qt_meta_stringdata_Fcitx__IMPage__Private__IMProxyModel = {
    {
QT_MOC_LITERAL(0, 0, 36), // "Fcitx::IMPage::Private::IMPro..."
QT_MOC_LITERAL(1, 37, 17), // "filterIMEntryList"
QT_MOC_LITERAL(2, 55, 0), // ""
QT_MOC_LITERAL(3, 56, 26), // "FcitxQtInputMethodItemList"
QT_MOC_LITERAL(4, 83, 11), // "imEntryList"
QT_MOC_LITERAL(5, 95, 9) // "selection"

    },
    "Fcitx::IMPage::Private::IMProxyModel\0"
    "filterIMEntryList\0\0FcitxQtInputMethodItemList\0"
    "imEntryList\0selection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fcitx__IMPage__Private__IMProxyModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   24,    2, 0x0a /* Public */,
       1,    1,   29,    2, 0x2a /* Public | MethodCloned */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    5,
    QMetaType::Void, 0x80000000 | 3,    4,

       0        // eod
};

void Fcitx::IMPage::Private::IMProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<IMProxyModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->filterIMEntryList((*reinterpret_cast< const FcitxQtInputMethodItemList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->filterIMEntryList((*reinterpret_cast< const FcitxQtInputMethodItemList(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtInputMethodItemList >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtInputMethodItemList >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Fcitx::IMPage::Private::IMProxyModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QSortFilterProxyModel::staticMetaObject>(),
    qt_meta_stringdata_Fcitx__IMPage__Private__IMProxyModel.data,
    qt_meta_data_Fcitx__IMPage__Private__IMProxyModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *Fcitx::IMPage::Private::IMProxyModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Fcitx::IMPage::Private::IMProxyModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Fcitx__IMPage__Private__IMProxyModel.stringdata0))
        return static_cast<void*>(this);
    return QSortFilterProxyModel::qt_metacast(_clname);
}

int Fcitx::IMPage::Private::IMProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_Fcitx__IMPage__Private__AvailIMModel_t {
    QByteArrayData data[10];
    char stringdata0[151];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fcitx__IMPage__Private__AvailIMModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fcitx__IMPage__Private__AvailIMModel_t qt_meta_stringdata_Fcitx__IMPage__Private__AvailIMModel = {
    {
QT_MOC_LITERAL(0, 0, 36), // "Fcitx::IMPage::Private::Avail..."
QT_MOC_LITERAL(1, 37, 6), // "select"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 11), // "QModelIndex"
QT_MOC_LITERAL(4, 57, 5), // "index"
QT_MOC_LITERAL(5, 63, 20), // "updateIMListFinished"
QT_MOC_LITERAL(6, 84, 17), // "filterIMEntryList"
QT_MOC_LITERAL(7, 102, 26), // "FcitxQtInputMethodItemList"
QT_MOC_LITERAL(8, 129, 11), // "imEntryList"
QT_MOC_LITERAL(9, 141, 9) // "selection"

    },
    "Fcitx::IMPage::Private::AvailIMModel\0"
    "select\0\0QModelIndex\0index\0"
    "updateIMListFinished\0filterIMEntryList\0"
    "FcitxQtInputMethodItemList\0imEntryList\0"
    "selection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fcitx__IMPage__Private__AvailIMModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x06 /* Public */,
       5,    0,   37,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    2,   38,    2, 0x0a /* Public */,
       6,    1,   43,    2, 0x2a /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7, QMetaType::QString,    8,    9,
    QMetaType::Void, 0x80000000 | 7,    8,

       0        // eod
};

void Fcitx::IMPage::Private::AvailIMModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AvailIMModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->select((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
        case 1: _t->updateIMListFinished(); break;
        case 2: _t->filterIMEntryList((*reinterpret_cast< const FcitxQtInputMethodItemList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->filterIMEntryList((*reinterpret_cast< const FcitxQtInputMethodItemList(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtInputMethodItemList >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtInputMethodItemList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AvailIMModel::*)(QModelIndex );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AvailIMModel::select)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AvailIMModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AvailIMModel::updateIMListFinished)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Fcitx::IMPage::Private::AvailIMModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractItemModel::staticMetaObject>(),
    qt_meta_stringdata_Fcitx__IMPage__Private__AvailIMModel.data,
    qt_meta_data_Fcitx__IMPage__Private__AvailIMModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *Fcitx::IMPage::Private::AvailIMModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Fcitx::IMPage::Private::AvailIMModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Fcitx__IMPage__Private__AvailIMModel.stringdata0))
        return static_cast<void*>(this);
    return QAbstractItemModel::qt_metacast(_clname);
}

int Fcitx::IMPage::Private::AvailIMModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void Fcitx::IMPage::Private::AvailIMModel::select(QModelIndex _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Fcitx::IMPage::Private::AvailIMModel::updateIMListFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_Fcitx__IMPage__Private__IMModel_t {
    QByteArrayData data[9];
    char stringdata0[125];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fcitx__IMPage__Private__IMModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fcitx__IMPage__Private__IMModel_t qt_meta_stringdata_Fcitx__IMPage__Private__IMModel = {
    {
QT_MOC_LITERAL(0, 0, 31), // "Fcitx::IMPage::Private::IMModel"
QT_MOC_LITERAL(1, 32, 6), // "select"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 11), // "QModelIndex"
QT_MOC_LITERAL(4, 52, 5), // "index"
QT_MOC_LITERAL(5, 58, 17), // "filterIMEntryList"
QT_MOC_LITERAL(6, 76, 26), // "FcitxQtInputMethodItemList"
QT_MOC_LITERAL(7, 103, 11), // "imEntryList"
QT_MOC_LITERAL(8, 115, 9) // "selection"

    },
    "Fcitx::IMPage::Private::IMModel\0select\0"
    "\0QModelIndex\0index\0filterIMEntryList\0"
    "FcitxQtInputMethodItemList\0imEntryList\0"
    "selection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fcitx__IMPage__Private__IMModel[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    2,   32,    2, 0x0a /* Public */,
       5,    1,   37,    2, 0x2a /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6, QMetaType::QString,    7,    8,
    QMetaType::Void, 0x80000000 | 6,    7,

       0        // eod
};

void Fcitx::IMPage::Private::IMModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<IMModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->select((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
        case 1: _t->filterIMEntryList((*reinterpret_cast< const FcitxQtInputMethodItemList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->filterIMEntryList((*reinterpret_cast< const FcitxQtInputMethodItemList(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtInputMethodItemList >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtInputMethodItemList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (IMModel::*)(QModelIndex );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IMModel::select)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Fcitx::IMPage::Private::IMModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_meta_stringdata_Fcitx__IMPage__Private__IMModel.data,
    qt_meta_data_Fcitx__IMPage__Private__IMModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *Fcitx::IMPage::Private::IMModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Fcitx::IMPage::Private::IMModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Fcitx__IMPage__Private__IMModel.stringdata0))
        return static_cast<void*>(this);
    return QAbstractListModel::qt_metacast(_clname);
}

int Fcitx::IMPage::Private::IMModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void Fcitx::IMPage::Private::IMModel::select(QModelIndex _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
