/****************************************************************************
** Meta object code from reading C++ file 'taggedfileselection.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.4/src/core/model/taggedfileselection.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'taggedfileselection.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_TaggedFileSelection_t {
    QByteArrayData data[24];
    char stringdata0[308];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TaggedFileSelection_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TaggedFileSelection_t qt_meta_stringdata_TaggedFileSelection = {
    {
QT_MOC_LITERAL(0, 0, 19), // "TaggedFileSelection"
QT_MOC_LITERAL(1, 20, 12), // "emptyChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 5), // "empty"
QT_MOC_LITERAL(4, 40, 25), // "singleFileSelectedChanged"
QT_MOC_LITERAL(5, 66, 6), // "single"
QT_MOC_LITERAL(6, 73, 17), // "singleFileChanged"
QT_MOC_LITERAL(7, 91, 16), // "fileNameModified"
QT_MOC_LITERAL(8, 108, 3), // "tag"
QT_MOC_LITERAL(9, 112, 30), // "TaggedFileSelectionTagContext*"
QT_MOC_LITERAL(10, 143, 16), // "Frame::TagNumber"
QT_MOC_LITERAL(11, 160, 5), // "tagNr"
QT_MOC_LITERAL(12, 166, 12), // "formatString"
QT_MOC_LITERAL(13, 179, 17), // "Frame::TagVersion"
QT_MOC_LITERAL(14, 197, 10), // "tagVersion"
QT_MOC_LITERAL(15, 208, 3), // "fmt"
QT_MOC_LITERAL(16, 212, 18), // "singleFileSelected"
QT_MOC_LITERAL(17, 231, 15), // "fileNameChanged"
QT_MOC_LITERAL(18, 247, 8), // "fileName"
QT_MOC_LITERAL(19, 256, 8), // "filePath"
QT_MOC_LITERAL(20, 265, 10), // "detailInfo"
QT_MOC_LITERAL(21, 276, 11), // "tagFormatV1"
QT_MOC_LITERAL(22, 288, 11), // "tagFormatV2"
QT_MOC_LITERAL(23, 300, 7) // "picture"

    },
    "TaggedFileSelection\0emptyChanged\0\0"
    "empty\0singleFileSelectedChanged\0single\0"
    "singleFileChanged\0fileNameModified\0"
    "tag\0TaggedFileSelectionTagContext*\0"
    "Frame::TagNumber\0tagNr\0formatString\0"
    "Frame::TagVersion\0tagVersion\0fmt\0"
    "singleFileSelected\0fileNameChanged\0"
    "fileName\0filePath\0detailInfo\0tagFormatV1\0"
    "tagFormatV2\0picture"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TaggedFileSelection[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       9,   60, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,
       4,    1,   47,    2, 0x06 /* Public */,
       6,    0,   50,    2, 0x06 /* Public */,
       7,    0,   51,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       8,    1,   52,    2, 0x02 /* Public */,
      12,    2,   55,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    0x80000000 | 9, 0x80000000 | 10,   11,
    QMetaType::QString, 0x80000000 | 13, QMetaType::QString,   14,   15,

 // properties: name, type, flags
       3, QMetaType::Bool, 0x00495001,
      16, QMetaType::Bool, 0x00495001,
      17, QMetaType::Bool, 0x00495001,
      18, QMetaType::QString, 0x00495003,
      19, QMetaType::QString, 0x00495001,
      20, QMetaType::QString, 0x00495001,
      21, QMetaType::QString, 0x00495001,
      22, QMetaType::QString, 0x00495001,
      23, QMetaType::QByteArray, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       2,
       2,
       2,
       2,
       2,
       2,

       0        // eod
};

void TaggedFileSelection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaggedFileSelection *_t = static_cast<TaggedFileSelection *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->emptyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->singleFileSelectedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->singleFileChanged(); break;
        case 3: _t->fileNameModified(); break;
        case 4: { TaggedFileSelectionTagContext* _r = _t->tag((*reinterpret_cast< Frame::TagNumber(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< TaggedFileSelectionTagContext**>(_a[0]) = _r; }  break;
        case 5: { QString _r = _t->formatString((*reinterpret_cast< Frame::TagVersion(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_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 (TaggedFileSelection::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaggedFileSelection::emptyChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TaggedFileSelection::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaggedFileSelection::singleFileSelectedChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TaggedFileSelection::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaggedFileSelection::singleFileChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TaggedFileSelection::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaggedFileSelection::fileNameModified)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        TaggedFileSelection *_t = static_cast<TaggedFileSelection *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isEmpty(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isSingleFileSelected(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isFilenameChanged(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->getFilename(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->getFilePath(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->getDetailInfo(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->getTagFormatV1(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->getTagFormatV2(); break;
        case 8: *reinterpret_cast< QByteArray*>(_v) = _t->getPicture(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        TaggedFileSelection *_t = static_cast<TaggedFileSelection *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 3: _t->setFilename(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject TaggedFileSelection::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_TaggedFileSelection.data,
      qt_meta_data_TaggedFileSelection,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

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

// SIGNAL 2
void TaggedFileSelection::singleFileChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void TaggedFileSelection::fileNameModified()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}
struct qt_meta_stringdata_TaggedFileSelectionTagContext_t {
    QByteArrayData data[9];
    char stringdata0[107];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TaggedFileSelectionTagContext_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TaggedFileSelectionTagContext_t qt_meta_stringdata_TaggedFileSelectionTagContext = {
    {
QT_MOC_LITERAL(0, 0, 29), // "TaggedFileSelectionTagContext"
QT_MOC_LITERAL(1, 30, 13), // "hasTagChanged"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 6), // "hasTag"
QT_MOC_LITERAL(4, 52, 14), // "tagUsedChanged"
QT_MOC_LITERAL(5, 67, 4), // "used"
QT_MOC_LITERAL(6, 72, 16), // "tagFormatChanged"
QT_MOC_LITERAL(7, 89, 7), // "tagUsed"
QT_MOC_LITERAL(8, 97, 9) // "tagFormat"

    },
    "TaggedFileSelectionTagContext\0"
    "hasTagChanged\0\0hasTag\0tagUsedChanged\0"
    "used\0tagFormatChanged\0tagUsed\0tagFormat"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TaggedFileSelectionTagContext[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x06 /* Public */,
       4,    1,   32,    2, 0x06 /* Public */,
       6,    0,   35,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,

 // properties: name, type, flags
       3, QMetaType::Bool, 0x00495001,
       7, QMetaType::Bool, 0x00495001,
       8, QMetaType::QString, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

void TaggedFileSelectionTagContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaggedFileSelectionTagContext *_t = static_cast<TaggedFileSelectionTagContext *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->hasTagChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->tagUsedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->tagFormatChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TaggedFileSelectionTagContext::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaggedFileSelectionTagContext::hasTagChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TaggedFileSelectionTagContext::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaggedFileSelectionTagContext::tagUsedChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TaggedFileSelectionTagContext::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TaggedFileSelectionTagContext::tagFormatChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        TaggedFileSelectionTagContext *_t = static_cast<TaggedFileSelectionTagContext *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->hasTag(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isTagUsed(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->tagFormat(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject TaggedFileSelectionTagContext::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_TaggedFileSelectionTagContext.data,
      qt_meta_data_TaggedFileSelectionTagContext,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

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

// SIGNAL 2
void TaggedFileSelectionTagContext::tagFormatChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
