/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.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/app/mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.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_MainWindow_t {
    QByteArrayData data[37];
    char stringdata0[432];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 7), // "loadUrl"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 3), // "url"
QT_MOC_LITERAL(4, 24, 4), // "save"
QT_MOC_LITERAL(5, 29, 4), // "init"
QT_MOC_LITERAL(6, 34, 19), // "checkForFileChanges"
QT_MOC_LITERAL(7, 54, 15), // "FileCheckMoment"
QT_MOC_LITERAL(8, 70, 6), // "moment"
QT_MOC_LITERAL(9, 77, 32), // "saveLastInternalModifiedDateTime"
QT_MOC_LITERAL(10, 110, 22), // "setDockWidgetStatusTip"
QT_MOC_LITERAL(11, 133, 7), // "enabled"
QT_MOC_LITERAL(12, 141, 19), // "setToolBarStatusTip"
QT_MOC_LITERAL(13, 161, 7), // "newFile"
QT_MOC_LITERAL(14, 169, 9), // "closeFile"
QT_MOC_LITERAL(15, 179, 4), // "open"
QT_MOC_LITERAL(16, 184, 6), // "saveAs"
QT_MOC_LITERAL(17, 191, 6), // "reload"
QT_MOC_LITERAL(18, 198, 21), // "showTikzDocumentation"
QT_MOC_LITERAL(19, 220, 9), // "configure"
QT_MOC_LITERAL(20, 230, 13), // "applySettings"
QT_MOC_LITERAL(21, 244, 19), // "setDocumentModified"
QT_MOC_LITERAL(22, 264, 10), // "isModified"
QT_MOC_LITERAL(23, 275, 9), // "updateLog"
QT_MOC_LITERAL(24, 285, 19), // "toggleWhatsThisMode"
QT_MOC_LITERAL(25, 305, 18), // "showCursorPosition"
QT_MOC_LITERAL(26, 324, 3), // "row"
QT_MOC_LITERAL(27, 328, 3), // "col"
QT_MOC_LITERAL(28, 332, 20), // "showMouseCoordinates"
QT_MOC_LITERAL(29, 353, 1), // "x"
QT_MOC_LITERAL(30, 355, 1), // "y"
QT_MOC_LITERAL(31, 357, 10), // "precisionX"
QT_MOC_LITERAL(32, 368, 10), // "precisionY"
QT_MOC_LITERAL(33, 379, 15), // "updateCompleter"
QT_MOC_LITERAL(34, 395, 18), // "setCurrentEncoding"
QT_MOC_LITERAL(35, 414, 11), // "QTextCodec*"
QT_MOC_LITERAL(36, 426, 5) // "codec"

    },
    "MainWindow\0loadUrl\0\0url\0save\0init\0"
    "checkForFileChanges\0FileCheckMoment\0"
    "moment\0saveLastInternalModifiedDateTime\0"
    "setDockWidgetStatusTip\0enabled\0"
    "setToolBarStatusTip\0newFile\0closeFile\0"
    "open\0saveAs\0reload\0showTikzDocumentation\0"
    "configure\0applySettings\0setDocumentModified\0"
    "isModified\0updateLog\0toggleWhatsThisMode\0"
    "showCursorPosition\0row\0col\0"
    "showMouseCoordinates\0x\0y\0precisionX\0"
    "precisionY\0updateCompleter\0"
    "setCurrentEncoding\0QTextCodec*\0codec"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  139,    2, 0x0a /* Public */,
       4,    0,  142,    2, 0x0a /* Public */,
       5,    0,  143,    2, 0x08 /* Private */,
       6,    1,  144,    2, 0x08 /* Private */,
       6,    0,  147,    2, 0x28 /* Private | MethodCloned */,
       9,    0,  148,    2, 0x08 /* Private */,
      10,    1,  149,    2, 0x08 /* Private */,
      12,    1,  152,    2, 0x08 /* Private */,
      13,    0,  155,    2, 0x08 /* Private */,
      14,    0,  156,    2, 0x08 /* Private */,
      15,    0,  157,    2, 0x08 /* Private */,
      16,    0,  158,    2, 0x08 /* Private */,
      17,    0,  159,    2, 0x08 /* Private */,
      18,    0,  160,    2, 0x08 /* Private */,
      19,    0,  161,    2, 0x08 /* Private */,
      20,    0,  162,    2, 0x08 /* Private */,
      21,    1,  163,    2, 0x08 /* Private */,
      23,    0,  166,    2, 0x08 /* Private */,
      24,    0,  167,    2, 0x08 /* Private */,
      25,    2,  168,    2, 0x08 /* Private */,
      28,    4,  173,    2, 0x08 /* Private */,
      28,    3,  182,    2, 0x28 /* Private | MethodCloned */,
      28,    2,  189,    2, 0x28 /* Private | MethodCloned */,
      33,    0,  194,    2, 0x08 /* Private */,
      34,    1,  195,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   26,   27,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal, QMetaType::Int, QMetaType::Int,   29,   30,   31,   32,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal, QMetaType::Int,   29,   30,   31,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   29,   30,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 35,   36,

       0        // eod
};

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->loadUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 1: { bool _r = _t->save();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->init(); break;
        case 3: _t->checkForFileChanges((*reinterpret_cast< const FileCheckMoment(*)>(_a[1]))); break;
        case 4: _t->checkForFileChanges(); break;
        case 5: _t->saveLastInternalModifiedDateTime(); break;
        case 6: _t->setDockWidgetStatusTip((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->setToolBarStatusTip((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->newFile(); break;
        case 9: { bool _r = _t->closeFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->open(); break;
        case 11: { bool _r = _t->saveAs();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->reload(); break;
        case 13: _t->showTikzDocumentation(); break;
        case 14: _t->configure(); break;
        case 15: _t->applySettings(); break;
        case 16: _t->setDocumentModified((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->updateLog(); break;
        case 18: _t->toggleWhatsThisMode(); break;
        case 19: _t->showCursorPosition((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 20: _t->showMouseCoordinates((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 21: _t->showMouseCoordinates((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 22: _t->showMouseCoordinates((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 23: _t->updateCompleter(); break;
        case 24: _t->setCurrentEncoding((*reinterpret_cast< QTextCodec*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<KXmlGuiWindow::staticMetaObject>(),
    qt_meta_stringdata_MainWindow.data,
    qt_meta_data_MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "MainWidget"))
        return static_cast< MainWidget*>(this);
    return KXmlGuiWindow::qt_metacast(_clname);
}

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