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

#include <memory>
#include "../../../../bibletime-2.11.2/src/frontend/display/chtmlwritedisplay.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'chtmlwritedisplay.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_CHTMLWriteDisplay_t {
    QByteArrayData data[16];
    char stringdata0[248];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CHTMLWriteDisplay_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CHTMLWriteDisplay_t qt_meta_stringdata_CHTMLWriteDisplay = {
    {
QT_MOC_LITERAL(0, 0, 17), // "CHTMLWriteDisplay"
QT_MOC_LITERAL(1, 18, 17), // "signalFontChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 21), // "signalFontSizeChanged"
QT_MOC_LITERAL(4, 59, 22), // "signalFontColorChanged"
QT_MOC_LITERAL(5, 82, 10), // "toggleBold"
QT_MOC_LITERAL(6, 93, 7), // "checked"
QT_MOC_LITERAL(7, 101, 12), // "toggleItalic"
QT_MOC_LITERAL(8, 114, 15), // "toggleUnderline"
QT_MOC_LITERAL(9, 130, 9), // "alignLeft"
QT_MOC_LITERAL(10, 140, 11), // "alignCenter"
QT_MOC_LITERAL(11, 152, 10), // "alignRight"
QT_MOC_LITERAL(12, 163, 20), // "slotFontFamilyChosen"
QT_MOC_LITERAL(13, 184, 18), // "slotFontSizeChosen"
QT_MOC_LITERAL(14, 203, 28), // "slotCurrentCharFormatChanged"
QT_MOC_LITERAL(15, 232, 15) // "QTextCharFormat"

    },
    "CHTMLWriteDisplay\0signalFontChanged\0"
    "\0signalFontSizeChanged\0signalFontColorChanged\0"
    "toggleBold\0checked\0toggleItalic\0"
    "toggleUnderline\0alignLeft\0alignCenter\0"
    "alignRight\0slotFontFamilyChosen\0"
    "slotFontSizeChosen\0slotCurrentCharFormatChanged\0"
    "QTextCharFormat"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CHTMLWriteDisplay[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       3,    1,   77,    2, 0x06 /* Public */,
       4,    1,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   83,    2, 0x09 /* Protected */,
       7,    1,   86,    2, 0x09 /* Protected */,
       8,    1,   89,    2, 0x09 /* Protected */,
       9,    1,   92,    2, 0x09 /* Protected */,
      10,    1,   95,    2, 0x09 /* Protected */,
      11,    1,   98,    2, 0x09 /* Protected */,
      12,    1,  101,    2, 0x09 /* Protected */,
      13,    1,  104,    2, 0x09 /* Protected */,
      14,    1,  107,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QFont,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QColor,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QFont,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 15,    2,

       0        // eod
};

void CHTMLWriteDisplay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CHTMLWriteDisplay *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->signalFontChanged((*reinterpret_cast< const QFont(*)>(_a[1]))); break;
        case 1: _t->signalFontSizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->signalFontColorChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 3: _t->toggleBold((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->toggleItalic((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->toggleUnderline((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->alignLeft((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->alignCenter((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->alignRight((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->slotFontFamilyChosen((*reinterpret_cast< const QFont(*)>(_a[1]))); break;
        case 10: _t->slotFontSizeChosen((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->slotCurrentCharFormatChanged((*reinterpret_cast< const QTextCharFormat(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (CHTMLWriteDisplay::*)(const QFont & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CHTMLWriteDisplay::signalFontChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (CHTMLWriteDisplay::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CHTMLWriteDisplay::signalFontSizeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (CHTMLWriteDisplay::*)(const QColor & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CHTMLWriteDisplay::signalFontColorChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject CHTMLWriteDisplay::staticMetaObject = { {
    QMetaObject::SuperData::link<CPlainWriteDisplay::staticMetaObject>(),
    qt_meta_stringdata_CHTMLWriteDisplay.data,
    qt_meta_data_CHTMLWriteDisplay,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void CHTMLWriteDisplay::signalFontChanged(const QFont & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void CHTMLWriteDisplay::signalFontSizeChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void CHTMLWriteDisplay::signalFontColorChanged(const QColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
