/****************************************************************************
** Meta object code from reading C++ file 'tikzpreviewcontroller.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/tikzpreviewcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tikzpreviewcontroller.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_TikzPreviewController_t {
    QByteArrayData data[30];
    char stringdata0[409];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TikzPreviewController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TikzPreviewController_t qt_meta_stringdata_TikzPreviewController = {
    {
QT_MOC_LITERAL(0, 0, 21), // "TikzPreviewController"
QT_MOC_LITERAL(1, 22, 9), // "updateLog"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 7), // "logText"
QT_MOC_LITERAL(4, 41, 9), // "runFailed"
QT_MOC_LITERAL(5, 51, 9), // "appendLog"
QT_MOC_LITERAL(6, 61, 20), // "showMouseCoordinates"
QT_MOC_LITERAL(7, 82, 1), // "x"
QT_MOC_LITERAL(8, 84, 1), // "y"
QT_MOC_LITERAL(9, 86, 10), // "precisionX"
QT_MOC_LITERAL(10, 97, 10), // "precisionY"
QT_MOC_LITERAL(11, 108, 17), // "printPreviewImage"
QT_MOC_LITERAL(12, 126, 10), // "printImage"
QT_MOC_LITERAL(13, 137, 15), // "generatePreview"
QT_MOC_LITERAL(14, 153, 27), // "regeneratePreviewAfterDelay"
QT_MOC_LITERAL(15, 181, 28), // "setTemplateFileAndRegenerate"
QT_MOC_LITERAL(16, 210, 4), // "path"
QT_MOC_LITERAL(17, 215, 27), // "setReplaceTextAndRegenerate"
QT_MOC_LITERAL(18, 243, 7), // "replace"
QT_MOC_LITERAL(19, 251, 17), // "regeneratePreview"
QT_MOC_LITERAL(20, 269, 12), // "abortProcess"
QT_MOC_LITERAL(21, 282, 11), // "exportImage"
QT_MOC_LITERAL(22, 294, 9), // "QPrinter*"
QT_MOC_LITERAL(23, 304, 7), // "printer"
QT_MOC_LITERAL(24, 312, 23), // "setExportActionsEnabled"
QT_MOC_LITERAL(25, 336, 7), // "enabled"
QT_MOC_LITERAL(26, 344, 17), // "setProcessRunning"
QT_MOC_LITERAL(27, 362, 9), // "isRunning"
QT_MOC_LITERAL(28, 372, 19), // "toggleShellEscaping"
QT_MOC_LITERAL(29, 392, 16) // "useShellEscaping"

    },
    "TikzPreviewController\0updateLog\0\0"
    "logText\0runFailed\0appendLog\0"
    "showMouseCoordinates\0x\0y\0precisionX\0"
    "precisionY\0printPreviewImage\0printImage\0"
    "generatePreview\0regeneratePreviewAfterDelay\0"
    "setTemplateFileAndRegenerate\0path\0"
    "setReplaceTextAndRegenerate\0replace\0"
    "regeneratePreview\0abortProcess\0"
    "exportImage\0QPrinter*\0printer\0"
    "setExportActionsEnabled\0enabled\0"
    "setProcessRunning\0isRunning\0"
    "toggleShellEscaping\0useShellEscaping"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TikzPreviewController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   94,    2, 0x06 /* Public */,
       5,    2,   99,    2, 0x06 /* Public */,
       6,    4,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  113,    2, 0x0a /* Public */,
      12,    0,  114,    2, 0x0a /* Public */,
      13,    0,  115,    2, 0x0a /* Public */,
      14,    0,  116,    2, 0x0a /* Public */,
      15,    1,  117,    2, 0x08 /* Private */,
      17,    1,  120,    2, 0x08 /* Private */,
      19,    0,  123,    2, 0x08 /* Private */,
      20,    0,  124,    2, 0x08 /* Private */,
      21,    0,  125,    2, 0x08 /* Private */,
      12,    1,  126,    2, 0x08 /* Private */,
      24,    1,  129,    2, 0x08 /* Private */,
      26,    1,  132,    2, 0x08 /* Private */,
      28,    1,  135,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    3,    4,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal, QMetaType::Int, QMetaType::Int,    7,    8,    9,   10,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void, QMetaType::Bool,   25,
    QMetaType::Void, QMetaType::Bool,   27,
    QMetaType::Void, QMetaType::Bool,   29,

       0        // eod
};

void TikzPreviewController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TikzPreviewController *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->updateLog((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->appendLog((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->showMouseCoordinates((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 3: _t->printPreviewImage(); break;
        case 4: _t->printImage(); break;
        case 5: _t->generatePreview(); break;
        case 6: _t->regeneratePreviewAfterDelay(); break;
        case 7: _t->setTemplateFileAndRegenerate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->setReplaceTextAndRegenerate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->regeneratePreview(); break;
        case 10: _t->abortProcess(); break;
        case 11: _t->exportImage(); break;
        case 12: _t->printImage((*reinterpret_cast< QPrinter*(*)>(_a[1]))); break;
        case 13: _t->setExportActionsEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->setProcessRunning((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->toggleShellEscaping((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TikzPreviewController::*)(const QString & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewController::updateLog)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TikzPreviewController::*)(const QString & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewController::appendLog)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TikzPreviewController::*)(qreal , qreal , int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzPreviewController::showMouseCoordinates)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TikzPreviewController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_TikzPreviewController.data,
    qt_meta_data_TikzPreviewController,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int TikzPreviewController::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 16;
    }
    return _id;
}

// SIGNAL 0
void TikzPreviewController::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, 0, _a);
}

// SIGNAL 1
void TikzPreviewController::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, 1, _a);
}

// SIGNAL 2
void TikzPreviewController::showMouseCoordinates(qreal _t1, qreal _t2, int _t3, int _t4)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
