/****************************************************************************
** Meta object code from reading C++ file 'settings.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 "../../../../../sonnet-5.116.0/src/core/settings.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'settings.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_Sonnet__Settings_t {
    QByteArrayData data[24];
    char stringdata0[463];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Sonnet__Settings_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Sonnet__Settings_t qt_meta_stringdata_Sonnet__Settings = {
    {
QT_MOC_LITERAL(0, 0, 16), // "Sonnet::Settings"
QT_MOC_LITERAL(1, 17, 20), // "skipUppercaseChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 25), // "autodetectLanguageChanged"
QT_MOC_LITERAL(4, 65, 31), // "backgroundCheckerEnabledChanged"
QT_MOC_LITERAL(5, 97, 20), // "defaultClientChanged"
QT_MOC_LITERAL(6, 118, 22), // "defaultLanguageChanged"
QT_MOC_LITERAL(7, 141, 25), // "preferredLanguagesChanged"
QT_MOC_LITERAL(8, 167, 22), // "skipRunTogetherChanged"
QT_MOC_LITERAL(9, 190, 30), // "checkerEnabledByDefaultChanged"
QT_MOC_LITERAL(10, 221, 24), // "currentIgnoreListChanged"
QT_MOC_LITERAL(11, 246, 15), // "modifiedChanged"
QT_MOC_LITERAL(12, 262, 4), // "save"
QT_MOC_LITERAL(13, 267, 13), // "skipUppercase"
QT_MOC_LITERAL(14, 281, 18), // "autodetectLanguage"
QT_MOC_LITERAL(15, 300, 24), // "backgroundCheckerEnabled"
QT_MOC_LITERAL(16, 325, 23), // "checkerEnabledByDefault"
QT_MOC_LITERAL(17, 349, 15), // "skipRunTogether"
QT_MOC_LITERAL(18, 365, 17), // "currentIgnoreList"
QT_MOC_LITERAL(19, 383, 18), // "preferredLanguages"
QT_MOC_LITERAL(20, 402, 15), // "defaultLanguage"
QT_MOC_LITERAL(21, 418, 15), // "dictionaryModel"
QT_MOC_LITERAL(22, 434, 19), // "QAbstractListModel*"
QT_MOC_LITERAL(23, 454, 8) // "modified"

    },
    "Sonnet::Settings\0skipUppercaseChanged\0"
    "\0autodetectLanguageChanged\0"
    "backgroundCheckerEnabledChanged\0"
    "defaultClientChanged\0defaultLanguageChanged\0"
    "preferredLanguagesChanged\0"
    "skipRunTogetherChanged\0"
    "checkerEnabledByDefaultChanged\0"
    "currentIgnoreListChanged\0modifiedChanged\0"
    "save\0skipUppercase\0autodetectLanguage\0"
    "backgroundCheckerEnabled\0"
    "checkerEnabledByDefault\0skipRunTogether\0"
    "currentIgnoreList\0preferredLanguages\0"
    "defaultLanguage\0dictionaryModel\0"
    "QAbstractListModel*\0modified"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Sonnet__Settings[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    0,   71,    2, 0x06 /* Public */,
       5,    0,   72,    2, 0x06 /* Public */,
       6,    0,   73,    2, 0x06 /* Public */,
       7,    0,   74,    2, 0x06 /* Public */,
       8,    0,   75,    2, 0x06 /* Public */,
       9,    0,   76,    2, 0x06 /* Public */,
      10,    0,   77,    2, 0x06 /* Public */,
      11,    0,   78,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      12,    0,   79,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void,

 // properties: name, type, flags
      13, QMetaType::Bool, 0x00495103,
      14, QMetaType::Bool, 0x00495103,
      15, QMetaType::Bool, 0x00495103,
      16, QMetaType::Bool, 0x00495103,
      17, QMetaType::Bool, 0x00495103,
      18, QMetaType::QStringList, 0x00495103,
      19, QMetaType::QStringList, 0x00495103,
      20, QMetaType::QString, 0x00495103,
      21, 0x80000000 | 22, 0x00095409,
      23, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       7,
       6,
       8,
       5,
       4,
       0,
       9,

       0        // eod
};

void Sonnet::Settings::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Settings *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->skipUppercaseChanged(); break;
        case 1: _t->autodetectLanguageChanged(); break;
        case 2: _t->backgroundCheckerEnabledChanged(); break;
        case 3: _t->defaultClientChanged(); break;
        case 4: _t->defaultLanguageChanged(); break;
        case 5: _t->preferredLanguagesChanged(); break;
        case 6: _t->skipRunTogetherChanged(); break;
        case 7: _t->checkerEnabledByDefaultChanged(); break;
        case 8: _t->currentIgnoreListChanged(); break;
        case 9: _t->modifiedChanged(); break;
        case 10: _t->save(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::skipUppercaseChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::autodetectLanguageChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::backgroundCheckerEnabledChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::defaultClientChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::defaultLanguageChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::preferredLanguagesChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::skipRunTogetherChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::checkerEnabledByDefaultChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::currentIgnoreListChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (Settings::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Settings::modifiedChanged)) {
                *result = 9;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractListModel* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Settings *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->skipUppercase(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->autodetectLanguage(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->backgroundCheckerEnabled(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->checkerEnabledByDefault(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->skipRunTogether(); break;
        case 5: *reinterpret_cast< QStringList*>(_v) = _t->currentIgnoreList(); break;
        case 6: *reinterpret_cast< QStringList*>(_v) = _t->preferredLanguages(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->defaultLanguage(); break;
        case 8: *reinterpret_cast< QAbstractListModel**>(_v) = _t->dictionaryModel(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->modified(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<Settings *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSkipUppercase(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setAutodetectLanguage(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setBackgroundCheckerEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setCheckerEnabledByDefault(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setSkipRunTogether(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setCurrentIgnoreList(*reinterpret_cast< QStringList*>(_v)); break;
        case 6: _t->setPreferredLanguages(*reinterpret_cast< QStringList*>(_v)); break;
        case 7: _t->setDefaultLanguage(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Sonnet::Settings::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Sonnet__Settings.data,
    qt_meta_data_Sonnet__Settings,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Sonnet::Settings::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#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 -= 10;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 10;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Sonnet::Settings::skipUppercaseChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Sonnet::Settings::autodetectLanguageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Sonnet::Settings::backgroundCheckerEnabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Sonnet::Settings::defaultClientChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Sonnet::Settings::defaultLanguageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Sonnet::Settings::preferredLanguagesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Sonnet::Settings::skipRunTogetherChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void Sonnet::Settings::checkerEnabledByDefaultChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void Sonnet::Settings::currentIgnoreListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Sonnet::Settings::modifiedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
