/****************************************************************************
** Meta object code from reading C++ file 'Preferences.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/svcore/base/Preferences.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Preferences.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_Preferences_t {
    QByteArrayData data[41];
    char stringdata0[584];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Preferences_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Preferences_t qt_meta_stringdata_Preferences = {
    {
QT_MOC_LITERAL(0, 0, 11), // "Preferences"
QT_MOC_LITERAL(1, 12, 11), // "setProperty"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 12), // "PropertyName"
QT_MOC_LITERAL(4, 38, 23), // "setSpectrogramSmoothing"
QT_MOC_LITERAL(5, 62, 20), // "SpectrogramSmoothing"
QT_MOC_LITERAL(6, 83, 9), // "smoothing"
QT_MOC_LITERAL(7, 93, 24), // "setSpectrogramXSmoothing"
QT_MOC_LITERAL(8, 118, 21), // "SpectrogramXSmoothing"
QT_MOC_LITERAL(9, 140, 18), // "setTuningFrequency"
QT_MOC_LITERAL(10, 159, 4), // "freq"
QT_MOC_LITERAL(11, 164, 20), // "setPropertyBoxLayout"
QT_MOC_LITERAL(12, 185, 17), // "PropertyBoxLayout"
QT_MOC_LITERAL(13, 203, 6), // "layout"
QT_MOC_LITERAL(14, 210, 13), // "setWindowType"
QT_MOC_LITERAL(15, 224, 10), // "WindowType"
QT_MOC_LITERAL(16, 235, 4), // "type"
QT_MOC_LITERAL(17, 240, 22), // "setRunPluginsInProcess"
QT_MOC_LITERAL(18, 263, 1), // "r"
QT_MOC_LITERAL(19, 265, 27), // "setOmitTempsFromRecentFiles"
QT_MOC_LITERAL(20, 293, 4), // "omit"
QT_MOC_LITERAL(21, 298, 25), // "setTemporaryDirectoryRoot"
QT_MOC_LITERAL(22, 324, 11), // "tempDirRoot"
QT_MOC_LITERAL(23, 336, 18), // "setFixedSampleRate"
QT_MOC_LITERAL(24, 355, 15), // "sv_samplerate_t"
QT_MOC_LITERAL(25, 371, 13), // "setRecordMono"
QT_MOC_LITERAL(26, 385, 17), // "setResampleOnLoad"
QT_MOC_LITERAL(27, 403, 17), // "setUseGaplessMode"
QT_MOC_LITERAL(28, 421, 17), // "setNormaliseAudio"
QT_MOC_LITERAL(29, 439, 17), // "setBackgroundMode"
QT_MOC_LITERAL(30, 457, 14), // "BackgroundMode"
QT_MOC_LITERAL(31, 472, 4), // "mode"
QT_MOC_LITERAL(32, 477, 17), // "setTimeToTextMode"
QT_MOC_LITERAL(33, 495, 14), // "TimeToTextMode"
QT_MOC_LITERAL(34, 510, 10), // "setShowHMS"
QT_MOC_LITERAL(35, 521, 4), // "show"
QT_MOC_LITERAL(36, 526, 18), // "setOctaveOfMiddleC"
QT_MOC_LITERAL(37, 545, 3), // "oct"
QT_MOC_LITERAL(38, 549, 15), // "setViewFontSize"
QT_MOC_LITERAL(39, 565, 4), // "size"
QT_MOC_LITERAL(40, 570, 13) // "setShowSplash"

    },
    "Preferences\0setProperty\0\0PropertyName\0"
    "setSpectrogramSmoothing\0SpectrogramSmoothing\0"
    "smoothing\0setSpectrogramXSmoothing\0"
    "SpectrogramXSmoothing\0setTuningFrequency\0"
    "freq\0setPropertyBoxLayout\0PropertyBoxLayout\0"
    "layout\0setWindowType\0WindowType\0type\0"
    "setRunPluginsInProcess\0r\0"
    "setOmitTempsFromRecentFiles\0omit\0"
    "setTemporaryDirectoryRoot\0tempDirRoot\0"
    "setFixedSampleRate\0sv_samplerate_t\0"
    "setRecordMono\0setResampleOnLoad\0"
    "setUseGaplessMode\0setNormaliseAudio\0"
    "setBackgroundMode\0BackgroundMode\0mode\0"
    "setTimeToTextMode\0TimeToTextMode\0"
    "setShowHMS\0show\0setOctaveOfMiddleC\0"
    "oct\0setViewFontSize\0size\0setShowSplash"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Preferences[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,  114,    2, 0x0a /* Public */,
       4,    1,  119,    2, 0x0a /* Public */,
       7,    1,  122,    2, 0x0a /* Public */,
       9,    1,  125,    2, 0x0a /* Public */,
      11,    1,  128,    2, 0x0a /* Public */,
      14,    1,  131,    2, 0x0a /* Public */,
      17,    1,  134,    2, 0x0a /* Public */,
      19,    1,  137,    2, 0x0a /* Public */,
      21,    1,  140,    2, 0x0a /* Public */,
      23,    1,  143,    2, 0x0a /* Public */,
      25,    1,  146,    2, 0x0a /* Public */,
      26,    1,  149,    2, 0x0a /* Public */,
      27,    1,  152,    2, 0x0a /* Public */,
      28,    1,  155,    2, 0x0a /* Public */,
      29,    1,  158,    2, 0x0a /* Public */,
      32,    1,  161,    2, 0x0a /* Public */,
      34,    1,  164,    2, 0x0a /* Public */,
      36,    1,  167,    2, 0x0a /* Public */,
      38,    1,  170,    2, 0x0a /* Public */,
      40,    1,  173,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    2,    2,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 8,    6,
    QMetaType::Void, QMetaType::Double,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Void, 0x80000000 | 24,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 30,   31,
    QMetaType::Void, 0x80000000 | 33,   31,
    QMetaType::Void, QMetaType::Bool,   35,
    QMetaType::Void, QMetaType::Int,   37,
    QMetaType::Void, QMetaType::Int,   39,
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

void Preferences::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Preferences *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->setProperty((*reinterpret_cast< const PropertyName(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->setSpectrogramSmoothing((*reinterpret_cast< SpectrogramSmoothing(*)>(_a[1]))); break;
        case 2: _t->setSpectrogramXSmoothing((*reinterpret_cast< SpectrogramXSmoothing(*)>(_a[1]))); break;
        case 3: _t->setTuningFrequency((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 4: _t->setPropertyBoxLayout((*reinterpret_cast< PropertyBoxLayout(*)>(_a[1]))); break;
        case 5: _t->setWindowType((*reinterpret_cast< WindowType(*)>(_a[1]))); break;
        case 6: _t->setRunPluginsInProcess((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->setOmitTempsFromRecentFiles((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setTemporaryDirectoryRoot((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 9: _t->setFixedSampleRate((*reinterpret_cast< sv_samplerate_t(*)>(_a[1]))); break;
        case 10: _t->setRecordMono((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->setResampleOnLoad((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->setUseGaplessMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->setNormaliseAudio((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->setBackgroundMode((*reinterpret_cast< BackgroundMode(*)>(_a[1]))); break;
        case 15: _t->setTimeToTextMode((*reinterpret_cast< TimeToTextMode(*)>(_a[1]))); break;
        case 16: _t->setShowHMS((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->setOctaveOfMiddleC((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->setViewFontSize((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->setShowSplash((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Preferences::staticMetaObject = { {
    QMetaObject::SuperData::link<PropertyContainer::staticMetaObject>(),
    qt_meta_stringdata_Preferences.data,
    qt_meta_data_Preferences,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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