/****************************************************************************
** Meta object code from reading C++ file 'elementwidgets.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 "../../../../../kbibtex-0.10.0/src/gui/element/elementwidgets.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'elementwidgets.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_ElementWidget_t {
    QByteArrayData data[4];
    char stringdata0[36];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ElementWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ElementWidget_t qt_meta_stringdata_ElementWidget = {
    {
QT_MOC_LITERAL(0, 0, 13), // "ElementWidget"
QT_MOC_LITERAL(1, 14, 8), // "modified"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 11) // "gotModified"

    },
    "ElementWidget\0modified\0\0gotModified"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ElementWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   27,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void ElementWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ElementWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->modified((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->gotModified(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ElementWidget::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ElementWidget::modified)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ElementWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_ElementWidget.data,
    qt_meta_data_ElementWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void ElementWidget::modified(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_EntryConfiguredWidget_t {
    QByteArrayData data[6];
    char stringdata0[91];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EntryConfiguredWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EntryConfiguredWidget_t qt_meta_stringdata_EntryConfiguredWidget = {
    {
QT_MOC_LITERAL(0, 0, 21), // "EntryConfiguredWidget"
QT_MOC_LITERAL(1, 22, 19), // "requestingTabChange"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 13), // "tabIdentifier"
QT_MOC_LITERAL(4, 57, 24), // "infoMessageLinkActivated"
QT_MOC_LITERAL(5, 82, 8) // "contents"

    },
    "EntryConfiguredWidget\0requestingTabChange\0"
    "\0tabIdentifier\0infoMessageLinkActivated\0"
    "contents"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EntryConfiguredWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   27,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    5,

       0        // eod
};

void EntryConfiguredWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EntryConfiguredWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->requestingTabChange((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->infoMessageLinkActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (EntryConfiguredWidget::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EntryConfiguredWidget::requestingTabChange)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EntryConfiguredWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ElementWidget::staticMetaObject>(),
    qt_meta_stringdata_EntryConfiguredWidget.data,
    qt_meta_data_EntryConfiguredWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void EntryConfiguredWidget::requestingTabChange(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_ReferenceWidget_t {
    QByteArrayData data[7];
    char stringdata0[127];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ReferenceWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ReferenceWidget_t qt_meta_stringdata_ReferenceWidget = {
    {
QT_MOC_LITERAL(0, 0, 15), // "ReferenceWidget"
QT_MOC_LITERAL(1, 16, 16), // "entryTypeChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 19), // "setEntryIdByDefault"
QT_MOC_LITERAL(4, 54, 22), // "prepareSuggestionsMenu"
QT_MOC_LITERAL(5, 77, 26), // "insertSuggestionFromAction"
QT_MOC_LITERAL(6, 104, 22) // "entryIdManuallyChanged"

    },
    "ReferenceWidget\0entryTypeChanged\0\0"
    "setEntryIdByDefault\0prepareSuggestionsMenu\0"
    "insertSuggestionFromAction\0"
    "entryIdManuallyChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ReferenceWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   39,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   40,    2, 0x0a /* Public */,
       4,    0,   41,    2, 0x08 /* Private */,
       5,    0,   42,    2, 0x08 /* Private */,
       6,    0,   43,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void ReferenceWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ReferenceWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->entryTypeChanged(); break;
        case 1: _t->setEntryIdByDefault(); break;
        case 2: _t->prepareSuggestionsMenu(); break;
        case 3: _t->insertSuggestionFromAction(); break;
        case 4: _t->entryIdManuallyChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ReferenceWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReferenceWidget::entryTypeChanged)) {
                *result = 0;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject ReferenceWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ElementWidget::staticMetaObject>(),
    qt_meta_stringdata_ReferenceWidget.data,
    qt_meta_data_ReferenceWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void ReferenceWidget::entryTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_FilesWidget_t {
    QByteArrayData data[1];
    char stringdata0[12];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FilesWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FilesWidget_t qt_meta_stringdata_FilesWidget = {
    {
QT_MOC_LITERAL(0, 0, 11) // "FilesWidget"

    },
    "FilesWidget"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FilesWidget[] = {

 // content:
       8,       // 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 FilesWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject FilesWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ElementWidget::staticMetaObject>(),
    qt_meta_stringdata_FilesWidget.data,
    qt_meta_data_FilesWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int FilesWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ElementWidget::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_OtherFieldsWidget_t {
    QByteArrayData data[12];
    char stringdata0[145];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_OtherFieldsWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_OtherFieldsWidget_t qt_meta_stringdata_OtherFieldsWidget = {
    {
QT_MOC_LITERAL(0, 0, 17), // "OtherFieldsWidget"
QT_MOC_LITERAL(1, 18, 19), // "listElementExecuted"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(4, 56, 4), // "item"
QT_MOC_LITERAL(5, 61, 6), // "column"
QT_MOC_LITERAL(6, 68, 18), // "listCurrentChanged"
QT_MOC_LITERAL(7, 87, 8), // "previous"
QT_MOC_LITERAL(8, 96, 14), // "actionAddApply"
QT_MOC_LITERAL(9, 111, 12), // "actionDelete"
QT_MOC_LITERAL(10, 124, 10), // "actionOpen"
QT_MOC_LITERAL(11, 135, 9) // "updateGUI"

    },
    "OtherFieldsWidget\0listElementExecuted\0"
    "\0QTreeWidgetItem*\0item\0column\0"
    "listCurrentChanged\0previous\0actionAddApply\0"
    "actionDelete\0actionOpen\0updateGUI"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_OtherFieldsWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   44,    2, 0x08 /* Private */,
       6,    2,   49,    2, 0x08 /* Private */,
       8,    0,   54,    2, 0x08 /* Private */,
       9,    0,   55,    2, 0x08 /* Private */,
      10,    0,   56,    2, 0x08 /* Private */,
      11,    0,   57,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    4,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void OtherFieldsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<OtherFieldsWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->listElementExecuted((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->listCurrentChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
        case 2: _t->actionAddApply(); break;
        case 3: _t->actionDelete(); break;
        case 4: _t->actionOpen(); break;
        case 5: _t->updateGUI(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject OtherFieldsWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ElementWidget::staticMetaObject>(),
    qt_meta_stringdata_OtherFieldsWidget.data,
    qt_meta_data_OtherFieldsWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int OtherFieldsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ElementWidget::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;
    }
    return _id;
}
struct qt_meta_stringdata_MacroWidget_t {
    QByteArrayData data[1];
    char stringdata0[12];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MacroWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MacroWidget_t qt_meta_stringdata_MacroWidget = {
    {
QT_MOC_LITERAL(0, 0, 11) // "MacroWidget"

    },
    "MacroWidget"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MacroWidget[] = {

 // content:
       8,       // 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 MacroWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject MacroWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ElementWidget::staticMetaObject>(),
    qt_meta_stringdata_MacroWidget.data,
    qt_meta_data_MacroWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MacroWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ElementWidget::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_PreambleWidget_t {
    QByteArrayData data[1];
    char stringdata0[15];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PreambleWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PreambleWidget_t qt_meta_stringdata_PreambleWidget = {
    {
QT_MOC_LITERAL(0, 0, 14) // "PreambleWidget"

    },
    "PreambleWidget"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PreambleWidget[] = {

 // content:
       8,       // 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 PreambleWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject PreambleWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ElementWidget::staticMetaObject>(),
    qt_meta_stringdata_PreambleWidget.data,
    qt_meta_data_PreambleWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int PreambleWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ElementWidget::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_SourceWidget_t {
    QByteArrayData data[8];
    char stringdata0[96];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SourceWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SourceWidget_t qt_meta_stringdata_SourceWidget = {
    {
QT_MOC_LITERAL(0, 0, 12), // "SourceWidget"
QT_MOC_LITERAL(1, 13, 5), // "reset"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 10), // "addMessage"
QT_MOC_LITERAL(4, 31, 29), // "FileImporter::MessageSeverity"
QT_MOC_LITERAL(5, 61, 8), // "severity"
QT_MOC_LITERAL(6, 70, 11), // "messageText"
QT_MOC_LITERAL(7, 82, 13) // "updateMessage"

    },
    "SourceWidget\0reset\0\0addMessage\0"
    "FileImporter::MessageSeverity\0severity\0"
    "messageText\0updateMessage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SourceWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x08 /* Private */,
       3,    2,   30,    2, 0x08 /* Private */,
       7,    0,   35,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, QMetaType::QString,    5,    6,
    QMetaType::Void,

       0        // eod
};

void SourceWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SourceWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->reset(); break;
        case 1: _t->addMessage((*reinterpret_cast< const FileImporter::MessageSeverity(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->updateMessage(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FileImporter::MessageSeverity >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SourceWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ElementWidget::staticMetaObject>(),
    qt_meta_stringdata_SourceWidget.data,
    qt_meta_data_SourceWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int SourceWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ElementWidget::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
