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

#include <memory>
#include "../../../../ktikz-0.13.2/common/tikzpreviewgenerator.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tikzpreviewgenerator.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_TikzPreviewGenerator_t {
    QByteArrayData data[26];
    char stringdata0[342];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TikzPreviewGenerator_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TikzPreviewGenerator_t qt_meta_stringdata_TikzPreviewGenerator = {
    {
QT_MOC_LITERAL(0, 0, 20), // "TikzPreviewGenerator"
QT_MOC_LITERAL(1, 21, 13), // "pixmapUpdated"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 18), // "Poppler::Document*"
QT_MOC_LITERAL(4, 55, 10), // "tikzPdfDoc"
QT_MOC_LITERAL(5, 66, 12), // "QList<qreal>"
QT_MOC_LITERAL(6, 79, 15), // "tikzCoordinates"
QT_MOC_LITERAL(7, 95, 23), // "setExportActionsEnabled"
QT_MOC_LITERAL(8, 119, 7), // "enabled"
QT_MOC_LITERAL(9, 127, 16), // "showErrorMessage"
QT_MOC_LITERAL(10, 144, 7), // "message"
QT_MOC_LITERAL(11, 152, 9), // "updateLog"
QT_MOC_LITERAL(12, 162, 7), // "logText"
QT_MOC_LITERAL(13, 170, 9), // "runFailed"
QT_MOC_LITERAL(14, 180, 9), // "appendLog"
QT_MOC_LITERAL(15, 190, 14), // "processRunning"
QT_MOC_LITERAL(16, 205, 9), // "isRunning"
QT_MOC_LITERAL(17, 215, 15), // "setTemplateFile"
QT_MOC_LITERAL(18, 231, 8), // "fileName"
QT_MOC_LITERAL(19, 240, 14), // "setReplaceText"
QT_MOC_LITERAL(20, 255, 7), // "replace"
QT_MOC_LITERAL(21, 263, 15), // "generatePreview"
QT_MOC_LITERAL(22, 279, 14), // "TemplateStatus"
QT_MOC_LITERAL(23, 294, 14), // "templateStatus"
QT_MOC_LITERAL(24, 309, 12), // "abortProcess"
QT_MOC_LITERAL(25, 322, 19) // "generatePreviewImpl"

    },
    "TikzPreviewGenerator\0pixmapUpdated\0\0"
    "Poppler::Document*\0tikzPdfDoc\0"
    "QList<qreal>\0tikzCoordinates\0"
    "setExportActionsEnabled\0enabled\0"
    "showErrorMessage\0message\0updateLog\0"
    "logText\0runFailed\0appendLog\0processRunning\0"
    "isRunning\0setTemplateFile\0fileName\0"
    "setReplaceText\0replace\0generatePreview\0"
    "TemplateStatus\0templateStatus\0"
    "abortProcess\0generatePreviewImpl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TikzPreviewGenerator[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   84,    2, 0x06 /* Public */,
       1,    1,   89,    2, 0x26 /* Public | MethodCloned */,
       7,    1,   92,    2, 0x06 /* Public */,
       9,    1,   95,    2, 0x06 /* Public */,
      11,    2,   98,    2, 0x06 /* Public */,
      14,    2,  103,    2, 0x06 /* Public */,
      15,    1,  108,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    1,  111,    2, 0x0a /* Public */,
      19,    1,  114,    2, 0x0a /* Public */,
      21,    1,  117,    2, 0x0a /* Public */,
      21,    0,  120,    2, 0x2a /* Public | MethodCloned */,
      24,    0,  121,    2, 0x0a /* Public */,
      25,    1,  122,    2, 0x08 /* Private */,
      25,    0,  125,    2, 0x28 /* Private | MethodCloned */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   12,   13,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   12,   13,
    QMetaType::Void, QMetaType::Bool,   16,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void, QMetaType::QString,   20,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void,

       0        // eod
};

void TikzPreviewGenerator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TikzPreviewGenerator *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->pixmapUpdated((*reinterpret_cast< Poppler::Document*(*)>(_a[1])),(*reinterpret_cast< const QList<qreal>(*)>(_a[2]))); break;
        case 1: _t->pixmapUpdated((*reinterpret_cast< Poppler::Document*(*)>(_a[1]))); break;
        case 2: _t->setExportActionsEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->showErrorMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->updateLog((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 5: _t->appendLog((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->processRunning((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->setTemplateFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->setReplaceText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->generatePreview((*reinterpret_cast< TemplateStatus(*)>(_a[1]))); break;
        case 10: _t->generatePreview(); break;
        case 11: _t->abortProcess(); break;
        case 12: _t->generatePreviewImpl((*reinterpret_cast< TemplateStatus(*)>(_a[1]))); break;
        case 13: _t->generatePreviewImpl(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<qreal> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TikzPreviewGenerator::*)(Poppler::Document * , const QList<qreal> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewGenerator::pixmapUpdated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TikzPreviewGenerator::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewGenerator::setExportActionsEnabled)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TikzPreviewGenerator::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewGenerator::showErrorMessage)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TikzPreviewGenerator::*)(const QString & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewGenerator::updateLog)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (TikzPreviewGenerator::*)(const QString & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewGenerator::appendLog)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (TikzPreviewGenerator::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewGenerator::processRunning)) {
                *result = 6;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TikzPreviewGenerator::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_TikzPreviewGenerator.data,
    qt_meta_data_TikzPreviewGenerator,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int TikzPreviewGenerator::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void TikzPreviewGenerator::pixmapUpdated(Poppler::Document * _t1, const QList<qreal> & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 2
void TikzPreviewGenerator::setExportActionsEnabled(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void TikzPreviewGenerator::showErrorMessage(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void TikzPreviewGenerator::updateLog(const QString & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void TikzPreviewGenerator::appendLog(const QString & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void TikzPreviewGenerator::processRunning(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
