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

#include <memory>
#include "../../sonic-visualiser-4.5/main/PreferencesDialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PreferencesDialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. 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_PreferencesDialog_t {
    QByteArrayData data[48];
    char stringdata0[800];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PreferencesDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PreferencesDialog_t qt_meta_stringdata_PreferencesDialog = {
    {
QT_MOC_LITERAL(0, 0, 17), // "PreferencesDialog"
QT_MOC_LITERAL(1, 18, 18), // "audioDeviceChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 14), // "coloursChanged"
QT_MOC_LITERAL(4, 53, 18), // "applicationClosing"
QT_MOC_LITERAL(5, 72, 7), // "quickly"
QT_MOC_LITERAL(6, 80, 17), // "windowTypeChanged"
QT_MOC_LITERAL(7, 98, 10), // "WindowType"
QT_MOC_LITERAL(8, 109, 4), // "type"
QT_MOC_LITERAL(9, 114, 27), // "spectrogramSmoothingChanged"
QT_MOC_LITERAL(10, 142, 5), // "state"
QT_MOC_LITERAL(11, 148, 28), // "spectrogramXSmoothingChanged"
QT_MOC_LITERAL(12, 177, 25), // "spectrogramGColourChanged"
QT_MOC_LITERAL(13, 203, 25), // "spectrogramMColourChanged"
QT_MOC_LITERAL(14, 229, 21), // "colour3DColourChanged"
QT_MOC_LITERAL(15, 251, 21), // "overviewColourChanged"
QT_MOC_LITERAL(16, 273, 21), // "propertyLayoutChanged"
QT_MOC_LITERAL(17, 295, 6), // "layout"
QT_MOC_LITERAL(18, 302, 22), // "tuningFrequencyChanged"
QT_MOC_LITERAL(19, 325, 4), // "freq"
QT_MOC_LITERAL(20, 330, 26), // "audioImplementationChanged"
QT_MOC_LITERAL(21, 357, 4), // "impl"
QT_MOC_LITERAL(22, 362, 26), // "audioPlaybackDeviceChanged"
QT_MOC_LITERAL(23, 389, 6), // "device"
QT_MOC_LITERAL(24, 396, 24), // "audioRecordDeviceChanged"
QT_MOC_LITERAL(25, 421, 21), // "resampleOnLoadChanged"
QT_MOC_LITERAL(26, 443, 18), // "gaplessModeChanged"
QT_MOC_LITERAL(27, 462, 28), // "vampProcessSeparationChanged"
QT_MOC_LITERAL(28, 491, 18), // "tempDirRootChanged"
QT_MOC_LITERAL(29, 510, 4), // "root"
QT_MOC_LITERAL(30, 515, 21), // "backgroundModeChanged"
QT_MOC_LITERAL(31, 537, 4), // "mode"
QT_MOC_LITERAL(32, 542, 21), // "timeToTextModeChanged"
QT_MOC_LITERAL(33, 564, 14), // "showHMSChanged"
QT_MOC_LITERAL(34, 579, 19), // "octaveSystemChanged"
QT_MOC_LITERAL(35, 599, 6), // "system"
QT_MOC_LITERAL(36, 606, 19), // "viewFontSizeChanged"
QT_MOC_LITERAL(37, 626, 2), // "sz"
QT_MOC_LITERAL(38, 629, 17), // "showSplashChanged"
QT_MOC_LITERAL(39, 647, 22), // "defaultTemplateChanged"
QT_MOC_LITERAL(40, 670, 13), // "localeChanged"
QT_MOC_LITERAL(41, 684, 24), // "networkPermissionChanged"
QT_MOC_LITERAL(42, 709, 13), // "retinaChanged"
QT_MOC_LITERAL(43, 723, 18), // "pluginPathsChanged"
QT_MOC_LITERAL(44, 742, 20), // "tempDirButtonClicked"
QT_MOC_LITERAL(45, 763, 9), // "okClicked"
QT_MOC_LITERAL(46, 773, 12), // "applyClicked"
QT_MOC_LITERAL(47, 786, 13) // "cancelClicked"

    },
    "PreferencesDialog\0audioDeviceChanged\0"
    "\0coloursChanged\0applicationClosing\0"
    "quickly\0windowTypeChanged\0WindowType\0"
    "type\0spectrogramSmoothingChanged\0state\0"
    "spectrogramXSmoothingChanged\0"
    "spectrogramGColourChanged\0"
    "spectrogramMColourChanged\0"
    "colour3DColourChanged\0overviewColourChanged\0"
    "propertyLayoutChanged\0layout\0"
    "tuningFrequencyChanged\0freq\0"
    "audioImplementationChanged\0impl\0"
    "audioPlaybackDeviceChanged\0device\0"
    "audioRecordDeviceChanged\0resampleOnLoadChanged\0"
    "gaplessModeChanged\0vampProcessSeparationChanged\0"
    "tempDirRootChanged\0root\0backgroundModeChanged\0"
    "mode\0timeToTextModeChanged\0showHMSChanged\0"
    "octaveSystemChanged\0system\0"
    "viewFontSizeChanged\0sz\0showSplashChanged\0"
    "defaultTemplateChanged\0localeChanged\0"
    "networkPermissionChanged\0retinaChanged\0"
    "pluginPathsChanged\0tempDirButtonClicked\0"
    "okClicked\0applyClicked\0cancelClicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PreferencesDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  184,    2, 0x06 /* Public */,
       3,    0,  185,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,  186,    2, 0x0a /* Public */,
       6,    1,  189,    2, 0x09 /* Protected */,
       9,    1,  192,    2, 0x09 /* Protected */,
      11,    1,  195,    2, 0x09 /* Protected */,
      12,    1,  198,    2, 0x09 /* Protected */,
      13,    1,  201,    2, 0x09 /* Protected */,
      14,    1,  204,    2, 0x09 /* Protected */,
      15,    1,  207,    2, 0x09 /* Protected */,
      16,    1,  210,    2, 0x09 /* Protected */,
      18,    1,  213,    2, 0x09 /* Protected */,
      20,    1,  216,    2, 0x09 /* Protected */,
      22,    1,  219,    2, 0x09 /* Protected */,
      24,    1,  222,    2, 0x09 /* Protected */,
      25,    1,  225,    2, 0x09 /* Protected */,
      26,    1,  228,    2, 0x09 /* Protected */,
      27,    1,  231,    2, 0x09 /* Protected */,
      28,    1,  234,    2, 0x09 /* Protected */,
      30,    1,  237,    2, 0x09 /* Protected */,
      32,    1,  240,    2, 0x09 /* Protected */,
      33,    1,  243,    2, 0x09 /* Protected */,
      34,    1,  246,    2, 0x09 /* Protected */,
      36,    1,  249,    2, 0x09 /* Protected */,
      38,    1,  252,    2, 0x09 /* Protected */,
      39,    1,  255,    2, 0x09 /* Protected */,
      40,    1,  258,    2, 0x09 /* Protected */,
      41,    1,  261,    2, 0x09 /* Protected */,
      42,    1,  264,    2, 0x09 /* Protected */,
      43,    0,  267,    2, 0x09 /* Protected */,
      44,    0,  268,    2, 0x09 /* Protected */,
      45,    0,  269,    2, 0x09 /* Protected */,
      46,    0,  270,    2, 0x09 /* Protected */,
      47,    0,  271,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Double,   19,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::Int,   31,
    QMetaType::Void, QMetaType::Int,   31,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   35,
    QMetaType::Void, QMetaType::Int,   37,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void PreferencesDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PreferencesDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->audioDeviceChanged(); break;
        case 1: _t->coloursChanged(); break;
        case 2: _t->applicationClosing((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->windowTypeChanged((*reinterpret_cast< WindowType(*)>(_a[1]))); break;
        case 4: _t->spectrogramSmoothingChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->spectrogramXSmoothingChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->spectrogramGColourChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->spectrogramMColourChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->colour3DColourChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->overviewColourChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->propertyLayoutChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->tuningFrequencyChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 12: _t->audioImplementationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->audioPlaybackDeviceChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->audioRecordDeviceChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->resampleOnLoadChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->gaplessModeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->vampProcessSeparationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->tempDirRootChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 19: _t->backgroundModeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->timeToTextModeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->showHMSChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 22: _t->octaveSystemChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: _t->viewFontSizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 24: _t->showSplashChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->defaultTemplateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->localeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 27: _t->networkPermissionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 28: _t->retinaChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 29: _t->pluginPathsChanged(); break;
        case 30: _t->tempDirButtonClicked(); break;
        case 31: _t->okClicked(); break;
        case 32: _t->applyClicked(); break;
        case 33: _t->cancelClicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (PreferencesDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PreferencesDialog::audioDeviceChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (PreferencesDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PreferencesDialog::coloursChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PreferencesDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_PreferencesDialog.data,
    qt_meta_data_PreferencesDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void PreferencesDialog::audioDeviceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void PreferencesDialog::coloursChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
