/****************************************************************************
** Meta object code from reading C++ file 'frmpreferences.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 "../../src/ui/include/frmpreferences.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'frmpreferences.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_frmPreferences_t {
    QByteArrayData data[42];
    char stringdata0[975];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_frmPreferences_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_frmPreferences_t qt_meta_stringdata_frmPreferences = {
    {
QT_MOC_LITERAL(0, 0, 14), // "frmPreferences"
QT_MOC_LITERAL(1, 15, 32), // "on_treeWidget_currentItemChanged"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(4, 66, 7), // "current"
QT_MOC_LITERAL(5, 74, 8), // "previous"
QT_MOC_LITERAL(6, 83, 21), // "on_buttonBox_accepted"
QT_MOC_LITERAL(7, 105, 21), // "on_buttonBox_rejected"
QT_MOC_LITERAL(8, 127, 35), // "on_cmbLanguages_currentIndexC..."
QT_MOC_LITERAL(9, 163, 5), // "index"
QT_MOC_LITERAL(10, 169, 42), // "on_chkLanguages_useDefaultSet..."
QT_MOC_LITERAL(11, 212, 7), // "checked"
QT_MOC_LITERAL(12, 220, 36), // "on_txtLanguages_TabSize_value..."
QT_MOC_LITERAL(13, 257, 5), // "value"
QT_MOC_LITERAL(14, 263, 40), // "on_chkLanguages_IndentWithSpa..."
QT_MOC_LITERAL(15, 304, 37), // "on_cmbColorScheme_currentInde..."
QT_MOC_LITERAL(16, 342, 33), // "on_localizationComboBox_activ..."
QT_MOC_LITERAL(17, 376, 26), // "on_btnNodejsBrowse_clicked"
QT_MOC_LITERAL(18, 403, 23), // "on_btnNpmBrowse_clicked"
QT_MOC_LITERAL(19, 427, 24), // "on_txtNodejs_textChanged"
QT_MOC_LITERAL(20, 452, 21), // "on_txtNpm_textChanged"
QT_MOC_LITERAL(21, 474, 21), // "resetSelectedShortcut"
QT_MOC_LITERAL(22, 496, 17), // "resetAllShortcuts"
QT_MOC_LITERAL(23, 514, 32), // "on_chkOverrideFontFamily_toggled"
QT_MOC_LITERAL(24, 547, 30), // "on_chkOverrideFontSize_toggled"
QT_MOC_LITERAL(25, 578, 27), // "on_spnFontSize_valueChanged"
QT_MOC_LITERAL(26, 606, 4), // "arg1"
QT_MOC_LITERAL(27, 611, 37), // "on_cmbFontFamilies_currentFon..."
QT_MOC_LITERAL(28, 649, 1), // "f"
QT_MOC_LITERAL(29, 651, 32), // "on_chkOverrideLineHeight_toggled"
QT_MOC_LITERAL(30, 684, 29), // "on_spnLineHeight_valueChanged"
QT_MOC_LITERAL(31, 714, 29), // "on_chkShowLineNumbers_toggled"
QT_MOC_LITERAL(32, 744, 20), // "on_buttonBox_clicked"
QT_MOC_LITERAL(33, 765, 16), // "QAbstractButton*"
QT_MOC_LITERAL(34, 782, 6), // "button"
QT_MOC_LITERAL(35, 789, 32), // "on_chkSearch_SaveHistory_toggled"
QT_MOC_LITERAL(36, 822, 24), // "on_btnToolbarAdd_clicked"
QT_MOC_LITERAL(37, 847, 27), // "on_btnToolbarRemove_clicked"
QT_MOC_LITERAL(38, 875, 23), // "on_btnToolbarUp_clicked"
QT_MOC_LITERAL(39, 899, 25), // "on_btnToolbarDown_clicked"
QT_MOC_LITERAL(40, 925, 26), // "on_btnToolbarReset_clicked"
QT_MOC_LITERAL(41, 952, 22) // "on_chkAutosave_toggled"

    },
    "frmPreferences\0on_treeWidget_currentItemChanged\0"
    "\0QTreeWidgetItem*\0current\0previous\0"
    "on_buttonBox_accepted\0on_buttonBox_rejected\0"
    "on_cmbLanguages_currentIndexChanged\0"
    "index\0on_chkLanguages_useDefaultSettings_toggled\0"
    "checked\0on_txtLanguages_TabSize_valueChanged\0"
    "value\0on_chkLanguages_IndentWithSpaces_toggled\0"
    "on_cmbColorScheme_currentIndexChanged\0"
    "on_localizationComboBox_activated\0"
    "on_btnNodejsBrowse_clicked\0"
    "on_btnNpmBrowse_clicked\0"
    "on_txtNodejs_textChanged\0on_txtNpm_textChanged\0"
    "resetSelectedShortcut\0resetAllShortcuts\0"
    "on_chkOverrideFontFamily_toggled\0"
    "on_chkOverrideFontSize_toggled\0"
    "on_spnFontSize_valueChanged\0arg1\0"
    "on_cmbFontFamilies_currentFontChanged\0"
    "f\0on_chkOverrideLineHeight_toggled\0"
    "on_spnLineHeight_valueChanged\0"
    "on_chkShowLineNumbers_toggled\0"
    "on_buttonBox_clicked\0QAbstractButton*\0"
    "button\0on_chkSearch_SaveHistory_toggled\0"
    "on_btnToolbarAdd_clicked\0"
    "on_btnToolbarRemove_clicked\0"
    "on_btnToolbarUp_clicked\0"
    "on_btnToolbarDown_clicked\0"
    "on_btnToolbarReset_clicked\0"
    "on_chkAutosave_toggled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_frmPreferences[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,  164,    2, 0x08 /* Private */,
       6,    0,  169,    2, 0x08 /* Private */,
       7,    0,  170,    2, 0x08 /* Private */,
       8,    1,  171,    2, 0x08 /* Private */,
      10,    1,  174,    2, 0x08 /* Private */,
      12,    1,  177,    2, 0x08 /* Private */,
      14,    1,  180,    2, 0x08 /* Private */,
      15,    1,  183,    2, 0x08 /* Private */,
      16,    1,  186,    2, 0x08 /* Private */,
      17,    0,  189,    2, 0x08 /* Private */,
      18,    0,  190,    2, 0x08 /* Private */,
      19,    1,  191,    2, 0x08 /* Private */,
      20,    1,  194,    2, 0x08 /* Private */,
      21,    0,  197,    2, 0x08 /* Private */,
      22,    0,  198,    2, 0x08 /* Private */,
      23,    1,  199,    2, 0x08 /* Private */,
      24,    1,  202,    2, 0x08 /* Private */,
      25,    1,  205,    2, 0x08 /* Private */,
      27,    1,  208,    2, 0x08 /* Private */,
      29,    1,  211,    2, 0x08 /* Private */,
      30,    1,  214,    2, 0x08 /* Private */,
      31,    1,  217,    2, 0x08 /* Private */,
      32,    1,  220,    2, 0x08 /* Private */,
      35,    1,  223,    2, 0x08 /* Private */,
      36,    0,  226,    2, 0x08 /* Private */,
      37,    0,  227,    2, 0x08 /* Private */,
      38,    0,  228,    2, 0x08 /* Private */,
      39,    0,  229,    2, 0x08 /* Private */,
      40,    0,  230,    2, 0x08 /* Private */,
      41,    1,  231,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    4,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Int,   26,
    QMetaType::Void, QMetaType::QFont,   28,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Double,   26,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, 0x80000000 | 33,   34,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,

       0        // eod
};

void frmPreferences::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<frmPreferences *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->on_treeWidget_currentItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
        case 1: _t->on_buttonBox_accepted(); break;
        case 2: _t->on_buttonBox_rejected(); break;
        case 3: _t->on_cmbLanguages_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->on_chkLanguages_useDefaultSettings_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->on_txtLanguages_TabSize_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->on_chkLanguages_IndentWithSpaces_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->on_cmbColorScheme_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->on_localizationComboBox_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->on_btnNodejsBrowse_clicked(); break;
        case 10: _t->on_btnNpmBrowse_clicked(); break;
        case 11: _t->on_txtNodejs_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->on_txtNpm_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->resetSelectedShortcut(); break;
        case 14: _t->resetAllShortcuts(); break;
        case 15: _t->on_chkOverrideFontFamily_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->on_chkOverrideFontSize_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->on_spnFontSize_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->on_cmbFontFamilies_currentFontChanged((*reinterpret_cast< const QFont(*)>(_a[1]))); break;
        case 19: _t->on_chkOverrideLineHeight_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->on_spnLineHeight_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 21: _t->on_chkShowLineNumbers_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->on_buttonBox_clicked((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
        case 23: _t->on_chkSearch_SaveHistory_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 24: _t->on_btnToolbarAdd_clicked(); break;
        case 25: _t->on_btnToolbarRemove_clicked(); break;
        case 26: _t->on_btnToolbarUp_clicked(); break;
        case 27: _t->on_btnToolbarDown_clicked(); break;
        case 28: _t->on_btnToolbarReset_clicked(); break;
        case 29: _t->on_chkAutosave_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject frmPreferences::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_frmPreferences.data,
    qt_meta_data_frmPreferences,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int frmPreferences::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 30)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 30;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
