/****************************************************************************
** Meta object code from reading C++ file 'editor.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 "../../src/ui/include/EditorNS/editor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'editor.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_EditorNS__JsToCppProxy_t {
    QByteArrayData data[7];
    char stringdata0[84];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EditorNS__JsToCppProxy_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EditorNS__JsToCppProxy_t qt_meta_stringdata_EditorNS__JsToCppProxy = {
    {
QT_MOC_LITERAL(0, 0, 22), // "EditorNS::JsToCppProxy"
QT_MOC_LITERAL(1, 23, 15), // "messageReceived"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 3), // "msg"
QT_MOC_LITERAL(4, 44, 4), // "data"
QT_MOC_LITERAL(5, 49, 19), // "messageReceivedByJs"
QT_MOC_LITERAL(6, 69, 14) // "receiveMessage"

    },
    "EditorNS::JsToCppProxy\0messageReceived\0"
    "\0msg\0data\0messageReceivedByJs\0"
    "receiveMessage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditorNS__JsToCppProxy[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   29,    2, 0x06 /* Public */,
       5,    2,   34,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       6,    2,   39,    2, 0x02 /* Public */,

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

 // methods: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,    3,    4,

       0        // eod
};

void EditorNS::JsToCppProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<JsToCppProxy *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->messageReceived((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        case 1: _t->messageReceivedByJs((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        case 2: _t->receiveMessage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (JsToCppProxy::*)(QString , QVariant );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&JsToCppProxy::messageReceived)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (JsToCppProxy::*)(QString , QVariant );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&JsToCppProxy::messageReceivedByJs)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EditorNS::JsToCppProxy::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_EditorNS__JsToCppProxy.data,
    qt_meta_data_EditorNS__JsToCppProxy,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void EditorNS::JsToCppProxy::messageReceived(QString _t1, QVariant _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 EditorNS::JsToCppProxy::messageReceivedByJs(QString _t1, QVariant _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);
}
struct qt_meta_stringdata_EditorNS__Editor_t {
    QByteArrayData data[79];
    char stringdata0[1037];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EditorNS__Editor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EditorNS__Editor_t qt_meta_stringdata_EditorNS__Editor = {
    {
QT_MOC_LITERAL(0, 0, 16), // "EditorNS::Editor"
QT_MOC_LITERAL(1, 17, 15), // "messageReceived"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 3), // "msg"
QT_MOC_LITERAL(4, 38, 4), // "data"
QT_MOC_LITERAL(5, 43, 18), // "asyncReplyReceived"
QT_MOC_LITERAL(6, 62, 2), // "id"
QT_MOC_LITERAL(7, 65, 8), // "gotFocus"
QT_MOC_LITERAL(8, 74, 10), // "mouseWheel"
QT_MOC_LITERAL(9, 85, 12), // "QWheelEvent*"
QT_MOC_LITERAL(10, 98, 2), // "ev"
QT_MOC_LITERAL(11, 101, 11), // "urlsDropped"
QT_MOC_LITERAL(12, 113, 11), // "QList<QUrl>"
QT_MOC_LITERAL(13, 125, 4), // "urls"
QT_MOC_LITERAL(14, 130, 13), // "bannerRemoved"
QT_MOC_LITERAL(15, 144, 8), // "QWidget*"
QT_MOC_LITERAL(16, 153, 6), // "banner"
QT_MOC_LITERAL(17, 160, 14), // "contentChanged"
QT_MOC_LITERAL(18, 175, 14), // "cursorActivity"
QT_MOC_LITERAL(19, 190, 21), // "documentInfoRequested"
QT_MOC_LITERAL(20, 212, 12), // "cleanChanged"
QT_MOC_LITERAL(21, 225, 7), // "isClean"
QT_MOC_LITERAL(22, 233, 15), // "fileNameChanged"
QT_MOC_LITERAL(23, 249, 11), // "oldFileName"
QT_MOC_LITERAL(24, 261, 11), // "newFileName"
QT_MOC_LITERAL(25, 273, 11), // "editorReady"
QT_MOC_LITERAL(26, 285, 22), // "currentLanguageChanged"
QT_MOC_LITERAL(27, 308, 4), // "name"
QT_MOC_LITERAL(28, 313, 23), // "on_proxyMessageReceived"
QT_MOC_LITERAL(29, 337, 11), // "sendMessage"
QT_MOC_LITERAL(30, 349, 27), // "asyncSendMessageWithResultP"
QT_MOC_LITERAL(31, 377, 18), // "QPromise<QVariant>"
QT_MOC_LITERAL(32, 396, 26), // "asyncSendMessageWithResult"
QT_MOC_LITERAL(33, 423, 28), // "std::shared_future<QVariant>"
QT_MOC_LITERAL(34, 452, 29), // "std::function<void(QVariant)>"
QT_MOC_LITERAL(35, 482, 8), // "callback"
QT_MOC_LITERAL(36, 491, 5), // "print"
QT_MOC_LITERAL(37, 497, 25), // "std::shared_ptr<QPrinter>"
QT_MOC_LITERAL(38, 523, 7), // "printer"
QT_MOC_LITERAL(39, 531, 10), // "printToPdf"
QT_MOC_LITERAL(40, 542, 20), // "QPromise<QByteArray>"
QT_MOC_LITERAL(41, 563, 11), // "QPageLayout"
QT_MOC_LITERAL(42, 575, 10), // "pageLayout"
QT_MOC_LITERAL(43, 586, 8), // "setFocus"
QT_MOC_LITERAL(44, 595, 10), // "clearFocus"
QT_MOC_LITERAL(45, 606, 11), // "setFilePath"
QT_MOC_LITERAL(46, 618, 8), // "filename"
QT_MOC_LITERAL(47, 627, 8), // "filePath"
QT_MOC_LITERAL(48, 636, 17), // "fileOnDiskChanged"
QT_MOC_LITERAL(49, 654, 20), // "setFileOnDiskChanged"
QT_MOC_LITERAL(50, 675, 9), // "markClean"
QT_MOC_LITERAL(51, 685, 14), // "QPromise<void>"
QT_MOC_LITERAL(52, 700, 9), // "markDirty"
QT_MOC_LITERAL(53, 710, 20), // "getHistoryGeneration"
QT_MOC_LITERAL(54, 731, 13), // "QPromise<int>"
QT_MOC_LITERAL(55, 745, 11), // "setLanguage"
QT_MOC_LITERAL(56, 757, 15), // "const Language*"
QT_MOC_LITERAL(57, 773, 8), // "language"
QT_MOC_LITERAL(58, 782, 23), // "setLanguageFromFilePath"
QT_MOC_LITERAL(59, 806, 8), // "setValue"
QT_MOC_LITERAL(60, 815, 5), // "value"
QT_MOC_LITERAL(61, 821, 14), // "setSmartIndent"
QT_MOC_LITERAL(62, 836, 7), // "enabled"
QT_MOC_LITERAL(63, 844, 10), // "zoomFactor"
QT_MOC_LITERAL(64, 855, 13), // "setZoomFactor"
QT_MOC_LITERAL(65, 869, 6), // "factor"
QT_MOC_LITERAL(66, 876, 17), // "setSelectionsText"
QT_MOC_LITERAL(67, 894, 5), // "texts"
QT_MOC_LITERAL(68, 900, 10), // "SelectMode"
QT_MOC_LITERAL(69, 911, 4), // "mode"
QT_MOC_LITERAL(70, 916, 11), // "setLineWrap"
QT_MOC_LITERAL(71, 928, 4), // "wrap"
QT_MOC_LITERAL(72, 933, 13), // "setEOLVisible"
QT_MOC_LITERAL(73, 947, 7), // "showeol"
QT_MOC_LITERAL(74, 955, 20), // "setWhitespaceVisible"
QT_MOC_LITERAL(75, 976, 9), // "showspace"
QT_MOC_LITERAL(76, 986, 14), // "setMathEnabled"
QT_MOC_LITERAL(77, 1001, 13), // "selectedTexts"
QT_MOC_LITERAL(78, 1015, 21) // "QPromise<QStringList>"

    },
    "EditorNS::Editor\0messageReceived\0\0msg\0"
    "data\0asyncReplyReceived\0id\0gotFocus\0"
    "mouseWheel\0QWheelEvent*\0ev\0urlsDropped\0"
    "QList<QUrl>\0urls\0bannerRemoved\0QWidget*\0"
    "banner\0contentChanged\0cursorActivity\0"
    "documentInfoRequested\0cleanChanged\0"
    "isClean\0fileNameChanged\0oldFileName\0"
    "newFileName\0editorReady\0currentLanguageChanged\0"
    "name\0on_proxyMessageReceived\0sendMessage\0"
    "asyncSendMessageWithResultP\0"
    "QPromise<QVariant>\0asyncSendMessageWithResult\0"
    "std::shared_future<QVariant>\0"
    "std::function<void(QVariant)>\0callback\0"
    "print\0std::shared_ptr<QPrinter>\0printer\0"
    "printToPdf\0QPromise<QByteArray>\0"
    "QPageLayout\0pageLayout\0setFocus\0"
    "clearFocus\0setFilePath\0filename\0"
    "filePath\0fileOnDiskChanged\0"
    "setFileOnDiskChanged\0markClean\0"
    "QPromise<void>\0markDirty\0getHistoryGeneration\0"
    "QPromise<int>\0setLanguage\0const Language*\0"
    "language\0setLanguageFromFilePath\0"
    "setValue\0value\0setSmartIndent\0enabled\0"
    "zoomFactor\0setZoomFactor\0factor\0"
    "setSelectionsText\0texts\0SelectMode\0"
    "mode\0setLineWrap\0wrap\0setEOLVisible\0"
    "showeol\0setWhitespaceVisible\0showspace\0"
    "setMathEnabled\0selectedTexts\0"
    "QPromise<QStringList>"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditorNS__Editor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  269,    2, 0x06 /* Public */,
       5,    3,  274,    2, 0x06 /* Public */,
       7,    0,  281,    2, 0x06 /* Public */,
       8,    1,  282,    2, 0x06 /* Public */,
      11,    1,  285,    2, 0x06 /* Public */,
      14,    1,  288,    2, 0x06 /* Public */,
      17,    0,  291,    2, 0x06 /* Public */,
      18,    1,  292,    2, 0x06 /* Public */,
      19,    1,  295,    2, 0x06 /* Public */,
      20,    1,  298,    2, 0x06 /* Public */,
      22,    2,  301,    2, 0x06 /* Public */,
      25,    0,  306,    2, 0x06 /* Public */,
      26,    2,  307,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      28,    2,  312,    2, 0x08 /* Private */,
      29,    2,  317,    2, 0x0a /* Public */,
      29,    1,  322,    2, 0x0a /* Public */,
      30,    2,  325,    2, 0x0a /* Public */,
      30,    1,  330,    2, 0x0a /* Public */,
      32,    3,  333,    2, 0x0a /* Public */,
      32,    2,  340,    2, 0x2a /* Public | MethodCloned */,
      32,    2,  345,    2, 0x0a /* Public */,
      32,    1,  350,    2, 0x2a /* Public | MethodCloned */,
      36,    1,  353,    2, 0x0a /* Public */,
      39,    1,  356,    2, 0x0a /* Public */,
      39,    0,  359,    2, 0x2a /* Public | MethodCloned */,

 // methods: name, argc, parameters, tag, flags
      43,    0,  360,    2, 0x02 /* Public */,
      44,    0,  361,    2, 0x02 /* Public */,
      45,    1,  362,    2, 0x02 /* Public */,
      47,    0,  365,    2, 0x02 /* Public */,
      48,    0,  366,    2, 0x02 /* Public */,
      49,    1,  367,    2, 0x02 /* Public */,
      21,    0,  370,    2, 0x02 /* Public */,
      50,    0,  371,    2, 0x02 /* Public */,
      52,    0,  372,    2, 0x02 /* Public */,
      53,    0,  373,    2, 0x02 /* Public */,
      55,    1,  374,    2, 0x02 /* Public */,
      55,    1,  377,    2, 0x02 /* Public */,
      58,    1,  380,    2, 0x02 /* Public */,
      58,    0,  383,    2, 0x02 /* Public */,
      59,    1,  384,    2, 0x02 /* Public */,
      60,    0,  387,    2, 0x02 /* Public */,
      61,    1,  388,    2, 0x02 /* Public */,
      63,    0,  391,    2, 0x02 /* Public */,
      64,    1,  392,    2, 0x02 /* Public */,
      66,    2,  395,    2, 0x02 /* Public */,
      66,    1,  400,    2, 0x02 /* Public */,
      70,    1,  403,    2, 0x02 /* Public */,
      72,    1,  406,    2, 0x02 /* Public */,
      74,    1,  409,    2, 0x02 /* Public */,
      76,    1,  412,    2, 0x02 /* Public */,
      77,    0,  415,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,    3,    4,
    QMetaType::Void, QMetaType::UInt, QMetaType::QString, QMetaType::QVariant,    6,    3,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QVariantMap,    4,
    QMetaType::Void, QMetaType::QVariantMap,    4,
    QMetaType::Void, QMetaType::Bool,   21,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QUrl,   23,   24,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    6,   27,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,    3,    4,
    QMetaType::Void, QMetaType::QString,    3,
    0x80000000 | 31, QMetaType::QString, QMetaType::QVariant,    3,    4,
    0x80000000 | 31, QMetaType::QString,    3,
    0x80000000 | 33, QMetaType::QString, QMetaType::QVariant, 0x80000000 | 34,    3,    4,   35,
    0x80000000 | 33, QMetaType::QString, QMetaType::QVariant,    3,    4,
    0x80000000 | 33, QMetaType::QString, 0x80000000 | 34,    3,   35,
    0x80000000 | 33, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 37,   38,
    0x80000000 | 40, 0x80000000 | 41,   42,
    0x80000000 | 40,

 // methods: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   46,
    QMetaType::QUrl,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Bool,   48,
    QMetaType::Bool,
    0x80000000 | 51,
    0x80000000 | 51,
    0x80000000 | 54,
    QMetaType::Void, 0x80000000 | 56,   57,
    QMetaType::Void, QMetaType::QString,   57,
    QMetaType::Void, QMetaType::QString,   47,
    QMetaType::Void,
    0x80000000 | 51, QMetaType::QString,   60,
    QMetaType::QString,
    QMetaType::Void, QMetaType::Bool,   62,
    QMetaType::QReal,
    QMetaType::Void, QMetaType::QReal,   65,
    QMetaType::Void, QMetaType::QStringList, 0x80000000 | 68,   67,   69,
    QMetaType::Void, QMetaType::QStringList,   67,
    QMetaType::Void, QMetaType::Bool,   71,
    QMetaType::Void, QMetaType::Bool,   73,
    QMetaType::Void, QMetaType::Bool,   75,
    QMetaType::Void, QMetaType::Bool,   62,
    0x80000000 | 78,

       0        // eod
};

void EditorNS::Editor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Editor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->messageReceived((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        case 1: _t->asyncReplyReceived((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QVariant(*)>(_a[3]))); break;
        case 2: _t->gotFocus(); break;
        case 3: _t->mouseWheel((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break;
        case 4: _t->urlsDropped((*reinterpret_cast< QList<QUrl>(*)>(_a[1]))); break;
        case 5: _t->bannerRemoved((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 6: _t->contentChanged(); break;
        case 7: _t->cursorActivity((*reinterpret_cast< QMap<QString,QVariant>(*)>(_a[1]))); break;
        case 8: _t->documentInfoRequested((*reinterpret_cast< QMap<QString,QVariant>(*)>(_a[1]))); break;
        case 9: _t->cleanChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->fileNameChanged((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 11: _t->editorReady(); break;
        case 12: _t->currentLanguageChanged((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 13: _t->on_proxyMessageReceived((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        case 14: _t->sendMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        case 15: _t->sendMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: { QPromise<QVariant> _r = _t->asyncSendMessageWithResultP((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QPromise<QVariant>*>(_a[0]) = std::move(_r); }  break;
        case 17: { QPromise<QVariant> _r = _t->asyncSendMessageWithResultP((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QPromise<QVariant>*>(_a[0]) = std::move(_r); }  break;
        case 18: { std::shared_future<QVariant> _r = _t->asyncSendMessageWithResult((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])),(*reinterpret_cast< std::function<void(QVariant)>(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< std::shared_future<QVariant>*>(_a[0]) = std::move(_r); }  break;
        case 19: { std::shared_future<QVariant> _r = _t->asyncSendMessageWithResult((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< std::shared_future<QVariant>*>(_a[0]) = std::move(_r); }  break;
        case 20: { std::shared_future<QVariant> _r = _t->asyncSendMessageWithResult((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< std::function<void(QVariant)>(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< std::shared_future<QVariant>*>(_a[0]) = std::move(_r); }  break;
        case 21: { std::shared_future<QVariant> _r = _t->asyncSendMessageWithResult((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< std::shared_future<QVariant>*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->print((*reinterpret_cast< std::shared_ptr<QPrinter>(*)>(_a[1]))); break;
        case 23: { QPromise<QByteArray> _r = _t->printToPdf((*reinterpret_cast< const QPageLayout(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QPromise<QByteArray>*>(_a[0]) = std::move(_r); }  break;
        case 24: { QPromise<QByteArray> _r = _t->printToPdf();
            if (_a[0]) *reinterpret_cast< QPromise<QByteArray>*>(_a[0]) = std::move(_r); }  break;
        case 25: _t->setFocus(); break;
        case 26: _t->clearFocus(); break;
        case 27: _t->setFilePath((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 28: { QUrl _r = _t->filePath();
            if (_a[0]) *reinterpret_cast< QUrl*>(_a[0]) = std::move(_r); }  break;
        case 29: { bool _r = _t->fileOnDiskChanged();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 30: _t->setFileOnDiskChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 31: { bool _r = _t->isClean();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 32: { QPromise<void> _r = _t->markClean();
            if (_a[0]) *reinterpret_cast< QPromise<void>*>(_a[0]) = std::move(_r); }  break;
        case 33: { QPromise<void> _r = _t->markDirty();
            if (_a[0]) *reinterpret_cast< QPromise<void>*>(_a[0]) = std::move(_r); }  break;
        case 34: { QPromise<int> _r = _t->getHistoryGeneration();
            if (_a[0]) *reinterpret_cast< QPromise<int>*>(_a[0]) = std::move(_r); }  break;
        case 35: _t->setLanguage((*reinterpret_cast< const Language*(*)>(_a[1]))); break;
        case 36: _t->setLanguage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 37: _t->setLanguageFromFilePath((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 38: _t->setLanguageFromFilePath(); break;
        case 39: { QPromise<void> _r = _t->setValue((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QPromise<void>*>(_a[0]) = std::move(_r); }  break;
        case 40: { QString _r = _t->value();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 41: _t->setSmartIndent((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 42: { qreal _r = _t->zoomFactor();
            if (_a[0]) *reinterpret_cast< qreal*>(_a[0]) = std::move(_r); }  break;
        case 43: _t->setZoomFactor((*reinterpret_cast< const qreal(*)>(_a[1]))); break;
        case 44: _t->setSelectionsText((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< SelectMode(*)>(_a[2]))); break;
        case 45: _t->setSelectionsText((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 46: _t->setLineWrap((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 47: _t->setEOLVisible((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 48: _t->setWhitespaceVisible((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 49: _t->setMathEnabled((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 50: { QPromise<QStringList> _r = _t->selectedTexts();
            if (_a[0]) *reinterpret_cast< QPromise<QStringList>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 23:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QPageLayout >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Editor::*)(QString , QVariant );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::messageReceived)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Editor::*)(unsigned int , QString , QVariant );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::asyncReplyReceived)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Editor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::gotFocus)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Editor::*)(QWheelEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::mouseWheel)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Editor::*)(QList<QUrl> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::urlsDropped)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Editor::*)(QWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::bannerRemoved)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Editor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::contentChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Editor::*)(QMap<QString,QVariant> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::cursorActivity)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Editor::*)(QMap<QString,QVariant> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::documentInfoRequested)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (Editor::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::cleanChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (Editor::*)(const QUrl & , const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::fileNameChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (Editor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::editorReady)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (Editor::*)(QString , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Editor::currentLanguageChanged)) {
                *result = 12;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EditorNS::Editor::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_EditorNS__Editor.data,
    qt_meta_data_EditorNS__Editor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void EditorNS::Editor::messageReceived(QString _t1, QVariant _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 EditorNS::Editor::asyncReplyReceived(unsigned int _t1, QString _t2, QVariant _t3)
{
    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))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void EditorNS::Editor::gotFocus()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

// SIGNAL 4
void EditorNS::Editor::urlsDropped(QList<QUrl> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void EditorNS::Editor::bannerRemoved(QWidget * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void EditorNS::Editor::contentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void EditorNS::Editor::cursorActivity(QMap<QString,QVariant> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void EditorNS::Editor::documentInfoRequested(QMap<QString,QVariant> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

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

// SIGNAL 10
void EditorNS::Editor::fileNameChanged(const QUrl & _t1, const QUrl & _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, 10, _a);
}

// SIGNAL 11
void EditorNS::Editor::editorReady()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void EditorNS::Editor::currentLanguageChanged(QString _t1, QString _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, 12, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
