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

#include "../../../../src/kid3-3.4.5/src/core/config/formatconfig.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'formatconfig.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_FormatConfig_t {
    QByteArrayData data[24];
    char stringdata0[404];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FormatConfig_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FormatConfig_t qt_meta_stringdata_FormatConfig = {
    {
QT_MOC_LITERAL(0, 0, 12), // "FormatConfig"
QT_MOC_LITERAL(1, 13, 16), // "strRepMapChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 21), // "QMap<QString,QString>"
QT_MOC_LITERAL(4, 53, 9), // "strRepMap"
QT_MOC_LITERAL(5, 63, 21), // "caseConversionChanged"
QT_MOC_LITERAL(6, 85, 14), // "CaseConversion"
QT_MOC_LITERAL(7, 100, 14), // "caseConversion"
QT_MOC_LITERAL(8, 115, 17), // "localeNameChanged"
QT_MOC_LITERAL(9, 133, 10), // "localeName"
QT_MOC_LITERAL(10, 144, 25), // "formatWhileEditingChanged"
QT_MOC_LITERAL(11, 170, 18), // "formatWhileEditing"
QT_MOC_LITERAL(12, 189, 20), // "strRepEnabledChanged"
QT_MOC_LITERAL(13, 210, 13), // "strRepEnabled"
QT_MOC_LITERAL(14, 224, 23), // "enableValidationChanged"
QT_MOC_LITERAL(15, 248, 16), // "enableValidation"
QT_MOC_LITERAL(16, 265, 22), // "getCaseConversionNames"
QT_MOC_LITERAL(17, 288, 14), // "getLocaleNames"
QT_MOC_LITERAL(18, 303, 9), // "NoChanges"
QT_MOC_LITERAL(19, 313, 12), // "AllLowercase"
QT_MOC_LITERAL(20, 326, 12), // "AllUppercase"
QT_MOC_LITERAL(21, 339, 20), // "FirstLetterUppercase"
QT_MOC_LITERAL(22, 360, 24), // "AllFirstLettersUppercase"
QT_MOC_LITERAL(23, 385, 18) // "NumCaseConversions"

    },
    "FormatConfig\0strRepMapChanged\0\0"
    "QMap<QString,QString>\0strRepMap\0"
    "caseConversionChanged\0CaseConversion\0"
    "caseConversion\0localeNameChanged\0"
    "localeName\0formatWhileEditingChanged\0"
    "formatWhileEditing\0strRepEnabledChanged\0"
    "strRepEnabled\0enableValidationChanged\0"
    "enableValidation\0getCaseConversionNames\0"
    "getLocaleNames\0NoChanges\0AllLowercase\0"
    "AllUppercase\0FirstLetterUppercase\0"
    "AllFirstLettersUppercase\0NumCaseConversions"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FormatConfig[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       6,   74, // properties
       1,   98, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       5,    1,   57,    2, 0x06 /* Public */,
       8,    1,   60,    2, 0x06 /* Public */,
      10,    1,   63,    2, 0x06 /* Public */,
      12,    1,   66,    2, 0x06 /* Public */,
      14,    1,   69,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      16,    0,   72,    2, 0x02 /* Public */,
      17,    0,   73,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   15,

 // methods: parameters
    QMetaType::QStringList,
    QMetaType::QStringList,

 // properties: name, type, flags
       4, QMetaType::QVariantMap, 0x00495003,
       7, QMetaType::Int, 0x00495003,
       9, QMetaType::QString, 0x00495103,
      11, QMetaType::Bool, 0x00495103,
      13, QMetaType::Bool, 0x00495103,
      15, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,

 // enums: name, flags, count, data
       6, 0x0,    6,  102,

 // enum data: key, value
      18, uint(FormatConfig::NoChanges),
      19, uint(FormatConfig::AllLowercase),
      20, uint(FormatConfig::AllUppercase),
      21, uint(FormatConfig::FirstLetterUppercase),
      22, uint(FormatConfig::AllFirstLettersUppercase),
      23, uint(FormatConfig::NumCaseConversions),

       0        // eod
};

void FormatConfig::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FormatConfig *_t = static_cast<FormatConfig *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->strRepMapChanged((*reinterpret_cast< const QMap<QString,QString>(*)>(_a[1]))); break;
        case 1: _t->caseConversionChanged((*reinterpret_cast< CaseConversion(*)>(_a[1]))); break;
        case 2: _t->localeNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->formatWhileEditingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->strRepEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->enableValidationChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: { QStringList _r = _t->getCaseConversionNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 7: { QStringList _r = _t->getLocaleNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FormatConfig::*_t)(const QMap<QString,QString> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FormatConfig::strRepMapChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FormatConfig::*_t)(CaseConversion );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FormatConfig::caseConversionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (FormatConfig::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FormatConfig::localeNameChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (FormatConfig::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FormatConfig::formatWhileEditingChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (FormatConfig::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FormatConfig::strRepEnabledChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (FormatConfig::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FormatConfig::enableValidationChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        FormatConfig *_t = static_cast<FormatConfig *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QVariantMap*>(_v) = _t->strRepVariantMap(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->caseConversion(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->localeName(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->formatWhileEditing(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->strRepEnabled(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->enableValidation(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        FormatConfig *_t = static_cast<FormatConfig *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setStrRepVariantMap(*reinterpret_cast< QVariantMap*>(_v)); break;
        case 1: _t->setCaseConversionInt(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setLocaleName(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setFormatWhileEditing(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setStrRepEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setEnableValidation(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject FormatConfig::staticMetaObject = {
    { &GeneralConfig::staticMetaObject, qt_meta_stringdata_FormatConfig.data,
      qt_meta_data_FormatConfig,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *FormatConfig::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_FormatConfig.stringdata0))
        return static_cast<void*>(const_cast< FormatConfig*>(this));
    return GeneralConfig::qt_metacast(_clname);
}

int FormatConfig::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = GeneralConfig::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void FormatConfig::strRepMapChanged(const QMap<QString,QString> & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void FormatConfig::caseConversionChanged(CaseConversion _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void FormatConfig::localeNameChanged(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void FormatConfig::formatWhileEditingChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void FormatConfig::strRepEnabledChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void FormatConfig::enableValidationChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
struct qt_meta_stringdata_FilenameFormatConfig_t {
    QByteArrayData data[1];
    char stringdata0[21];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FilenameFormatConfig_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FilenameFormatConfig_t qt_meta_stringdata_FilenameFormatConfig = {
    {
QT_MOC_LITERAL(0, 0, 20) // "FilenameFormatConfig"

    },
    "FilenameFormatConfig"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FilenameFormatConfig[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

void FilenameFormatConfig::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject FilenameFormatConfig::staticMetaObject = {
    { &StoredConfig<FilenameFormatConfig,FormatConfig>::staticMetaObject, qt_meta_stringdata_FilenameFormatConfig.data,
      qt_meta_data_FilenameFormatConfig,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *FilenameFormatConfig::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_FilenameFormatConfig.stringdata0))
        return static_cast<void*>(const_cast< FilenameFormatConfig*>(this));
    return StoredConfig<FilenameFormatConfig,FormatConfig>::qt_metacast(_clname);
}

int FilenameFormatConfig::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = StoredConfig<FilenameFormatConfig,FormatConfig>::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_TagFormatConfig_t {
    QByteArrayData data[1];
    char stringdata0[16];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TagFormatConfig_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TagFormatConfig_t qt_meta_stringdata_TagFormatConfig = {
    {
QT_MOC_LITERAL(0, 0, 15) // "TagFormatConfig"

    },
    "TagFormatConfig"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TagFormatConfig[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

void TagFormatConfig::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject TagFormatConfig::staticMetaObject = {
    { &StoredConfig<TagFormatConfig,FormatConfig>::staticMetaObject, qt_meta_stringdata_TagFormatConfig.data,
      qt_meta_data_TagFormatConfig,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *TagFormatConfig::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_TagFormatConfig.stringdata0))
        return static_cast<void*>(const_cast< TagFormatConfig*>(this));
    return StoredConfig<TagFormatConfig,FormatConfig>::qt_metacast(_clname);
}

int TagFormatConfig::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = StoredConfig<TagFormatConfig,FormatConfig>::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
QT_END_MOC_NAMESPACE
