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

#include <memory>
#include "generated/com_deepin_daemon_langselector.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_daemon_langselector.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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___LangSelector_t {
    QByteArrayData data[34];
    char stringdata0[496];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___LangSelector_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___LangSelector_t qt_meta_stringdata___LangSelector = {
    {
QT_MOC_LITERAL(0, 0, 14), // "__LangSelector"
QT_MOC_LITERAL(1, 15, 7), // "Changed"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 3), // "in0"
QT_MOC_LITERAL(4, 28, 20), // "CurrentLocaleChanged"
QT_MOC_LITERAL(5, 49, 5), // "value"
QT_MOC_LITERAL(6, 55, 18), // "LocaleStateChanged"
QT_MOC_LITERAL(7, 74, 14), // "LocalesChanged"
QT_MOC_LITERAL(8, 89, 9), // "AddLocale"
QT_MOC_LITERAL(9, 99, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(10, 119, 15), // "AddLocaleQueued"
QT_MOC_LITERAL(11, 135, 12), // "DeleteLocale"
QT_MOC_LITERAL(12, 148, 18), // "DeleteLocaleQueued"
QT_MOC_LITERAL(13, 167, 26), // "GetLanguageSupportPackages"
QT_MOC_LITERAL(14, 194, 30), // "QDBusPendingReply<QStringList>"
QT_MOC_LITERAL(15, 225, 20), // "GetLocaleDescription"
QT_MOC_LITERAL(16, 246, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(17, 273, 13), // "GetLocaleList"
QT_MOC_LITERAL(18, 287, 29), // "QDBusPendingReply<LocaleList>"
QT_MOC_LITERAL(19, 317, 5), // "Reset"
QT_MOC_LITERAL(20, 323, 11), // "ResetQueued"
QT_MOC_LITERAL(21, 335, 9), // "SetLocale"
QT_MOC_LITERAL(22, 345, 15), // "SetLocaleQueued"
QT_MOC_LITERAL(23, 361, 10), // "CallQueued"
QT_MOC_LITERAL(24, 372, 8), // "callName"
QT_MOC_LITERAL(25, 381, 4), // "args"
QT_MOC_LITERAL(26, 386, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(27, 408, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(28, 433, 1), // "w"
QT_MOC_LITERAL(29, 435, 17), // "onPropertyChanged"
QT_MOC_LITERAL(30, 453, 8), // "propName"
QT_MOC_LITERAL(31, 462, 13), // "CurrentLocale"
QT_MOC_LITERAL(32, 476, 11), // "LocaleState"
QT_MOC_LITERAL(33, 488, 7) // "Locales"

    },
    "__LangSelector\0Changed\0\0in0\0"
    "CurrentLocaleChanged\0value\0"
    "LocaleStateChanged\0LocalesChanged\0"
    "AddLocale\0QDBusPendingReply<>\0"
    "AddLocaleQueued\0DeleteLocale\0"
    "DeleteLocaleQueued\0GetLanguageSupportPackages\0"
    "QDBusPendingReply<QStringList>\0"
    "GetLocaleDescription\0QDBusPendingReply<QString>\0"
    "GetLocaleList\0QDBusPendingReply<LocaleList>\0"
    "Reset\0ResetQueued\0SetLocale\0SetLocaleQueued\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0CurrentLocale\0LocaleState\0"
    "Locales"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___LangSelector[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  104,    2, 0x06 /* Public */,
       4,    1,  107,    2, 0x06 /* Public */,
       6,    1,  110,    2, 0x06 /* Public */,
       7,    1,  113,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,  116,    2, 0x0a /* Public */,
      10,    1,  119,    2, 0x0a /* Public */,
      11,    1,  122,    2, 0x0a /* Public */,
      12,    1,  125,    2, 0x0a /* Public */,
      13,    1,  128,    2, 0x0a /* Public */,
      15,    1,  131,    2, 0x0a /* Public */,
      17,    0,  134,    2, 0x0a /* Public */,
      19,    0,  135,    2, 0x0a /* Public */,
      20,    0,  136,    2, 0x0a /* Public */,
      21,    1,  137,    2, 0x0a /* Public */,
      22,    1,  140,    2, 0x0a /* Public */,
      23,    2,  143,    2, 0x0a /* Public */,
      26,    1,  148,    2, 0x08 /* Private */,
      29,    2,  151,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::QStringList,    5,

 // slots: parameters
    0x80000000 | 9, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    0x80000000 | 9, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    0x80000000 | 14, QMetaType::QString,    3,
    0x80000000 | 16, QMetaType::QString,    3,
    0x80000000 | 18,
    0x80000000 | 9,
    QMetaType::Void,
    0x80000000 | 9, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   24,   25,
    QMetaType::Void, 0x80000000 | 27,   28,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   30,    5,

 // properties: name, type, flags
      31, QMetaType::QString, 0x00495001,
      32, QMetaType::Int, 0x00495001,
      33, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       1,
       2,
       3,

       0        // eod
};

void __LangSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__LangSelector *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->CurrentLocaleChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->LocaleStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->LocalesChanged((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 4: { QDBusPendingReply<> _r = _t->AddLocale((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->AddLocaleQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: { QDBusPendingReply<> _r = _t->DeleteLocale((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->DeleteLocaleQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: { QDBusPendingReply<QStringList> _r = _t->GetLanguageSupportPackages((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<QString> _r = _t->GetLocaleDescription((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<LocaleList> _r = _t->GetLocaleList();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<LocaleList>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<> _r = _t->Reset();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->ResetQueued(); break;
        case 13: { QDBusPendingReply<> _r = _t->SetLocale((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->SetLocaleQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 16: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 17: _t->onPropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (__LangSelector::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__LangSelector::Changed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__LangSelector::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__LangSelector::CurrentLocaleChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__LangSelector::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__LangSelector::LocaleStateChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__LangSelector::*)(const QStringList & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__LangSelector::LocalesChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__LangSelector *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->currentLocale(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->localeState(); break;
        case 2: *reinterpret_cast< QStringList*>(_v) = _t->locales(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __LangSelector::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___LangSelector.data,
    qt_meta_data___LangSelector,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __LangSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DBusExtendedAbstractInterface::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;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void __LangSelector::Changed(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void __LangSelector::CurrentLocaleChanged(const QString & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __LangSelector *>(this), &staticMetaObject, 1, _a);
}

// SIGNAL 2
void __LangSelector::LocaleStateChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __LangSelector *>(this), &staticMetaObject, 2, _a);
}

// SIGNAL 3
void __LangSelector::LocalesChanged(const QStringList & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __LangSelector *>(this), &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
