Newer
Older
Import / applications / MakePDF / QtProject / build / moc_MdiWindow.cpp
/****************************************************************************
** Meta object code from reading C++ file 'MdiWindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../MdiWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MdiWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.3. 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_PaletteEditorDialog_t {
    QByteArrayData data[7];
    char stringdata0[66];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PaletteEditorDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PaletteEditorDialog_t qt_meta_stringdata_PaletteEditorDialog = {
    {
QT_MOC_LITERAL(0, 0, 19), // "PaletteEditorDialog"
QT_MOC_LITERAL(1, 20, 8), // "setMode1"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 8), // "setMode2"
QT_MOC_LITERAL(4, 39, 8), // "setMode3"
QT_MOC_LITERAL(5, 48, 8), // "setMode4"
QT_MOC_LITERAL(6, 57, 8) // "setMode5"

    },
    "PaletteEditorDialog\0setMode1\0\0setMode2\0"
    "setMode3\0setMode4\0setMode5"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PaletteEditorDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   39,    2, 0x08 /* Private */,
       3,    0,   40,    2, 0x08 /* Private */,
       4,    0,   41,    2, 0x08 /* Private */,
       5,    0,   42,    2, 0x08 /* Private */,
       6,    0,   43,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void PaletteEditorDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PaletteEditorDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setMode1(); break;
        case 1: _t->setMode2(); break;
        case 2: _t->setMode3(); break;
        case 3: _t->setMode4(); break;
        case 4: _t->setMode5(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

QT_INIT_METAOBJECT const QMetaObject PaletteEditorDialog::staticMetaObject = { {
    &QDialog::staticMetaObject,
    qt_meta_stringdata_PaletteEditorDialog.data,
    qt_meta_data_PaletteEditorDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int PaletteEditorDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
    return _id;
}
struct qt_meta_stringdata_MdiWindow_t {
    QByteArrayData data[56];
    char stringdata0[569];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MdiWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MdiWindow_t qt_meta_stringdata_MdiWindow = {
    {
QT_MOC_LITERAL(0, 0, 9), // "MdiWindow"
QT_MOC_LITERAL(1, 10, 7), // "newFile"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 4), // "open"
QT_MOC_LITERAL(4, 24, 4), // "save"
QT_MOC_LITERAL(5, 29, 6), // "saveAs"
QT_MOC_LITERAL(6, 36, 13), // "handleRequest"
QT_MOC_LITERAL(7, 50, 13), // "updatePreview"
QT_MOC_LITERAL(8, 64, 16), // "setWebPreviewURL"
QT_MOC_LITERAL(9, 81, 17), // "refreshWebPreview"
QT_MOC_LITERAL(10, 99, 3), // "cut"
QT_MOC_LITERAL(11, 103, 4), // "copy"
QT_MOC_LITERAL(12, 108, 5), // "paste"
QT_MOC_LITERAL(13, 114, 4), // "bold"
QT_MOC_LITERAL(14, 119, 6), // "italic"
QT_MOC_LITERAL(15, 126, 5), // "quote"
QT_MOC_LITERAL(16, 132, 4), // "code"
QT_MOC_LITERAL(17, 137, 8), // "heading1"
QT_MOC_LITERAL(18, 146, 8), // "heading2"
QT_MOC_LITERAL(19, 155, 8), // "heading3"
QT_MOC_LITERAL(20, 164, 8), // "heading4"
QT_MOC_LITERAL(21, 173, 9), // "hyperlink"
QT_MOC_LITERAL(22, 183, 5), // "image"
QT_MOC_LITERAL(23, 189, 13), // "unorderedList"
QT_MOC_LITERAL(24, 203, 11), // "orderedList"
QT_MOC_LITERAL(25, 215, 14), // "horizontalRule"
QT_MOC_LITERAL(26, 230, 9), // "timestamp"
QT_MOC_LITERAL(27, 240, 10), // "pageNumber"
QT_MOC_LITERAL(28, 251, 9), // "pageCount"
QT_MOC_LITERAL(29, 261, 7), // "options"
QT_MOC_LITERAL(30, 269, 7), // "saveAll"
QT_MOC_LITERAL(31, 277, 9), // "selectAll"
QT_MOC_LITERAL(32, 287, 3), // "del"
QT_MOC_LITERAL(33, 291, 4), // "undo"
QT_MOC_LITERAL(34, 296, 4), // "redo"
QT_MOC_LITERAL(35, 301, 4), // "find"
QT_MOC_LITERAL(36, 306, 8), // "findNext"
QT_MOC_LITERAL(37, 315, 12), // "findPrevious"
QT_MOC_LITERAL(38, 328, 8), // "goToLine"
QT_MOC_LITERAL(39, 337, 7), // "support"
QT_MOC_LITERAL(40, 345, 7), // "website"
QT_MOC_LITERAL(41, 353, 17), // "cascadeSubWindows"
QT_MOC_LITERAL(42, 371, 14), // "tileSubWindows"
QT_MOC_LITERAL(43, 386, 13), // "tabSubWindows"
QT_MOC_LITERAL(44, 400, 13), // "updateActions"
QT_MOC_LITERAL(45, 414, 14), // "createMdiChild"
QT_MOC_LITERAL(46, 429, 9), // "MdiChild*"
QT_MOC_LITERAL(47, 439, 21), // "switchLayoutDirection"
QT_MOC_LITERAL(48, 461, 18), // "setActiveSubWindow"
QT_MOC_LITERAL(49, 480, 8), // "QWidget*"
QT_MOC_LITERAL(50, 489, 6), // "window"
QT_MOC_LITERAL(51, 496, 16), // "changeRootObject"
QT_MOC_LITERAL(52, 513, 11), // "QModelIndex"
QT_MOC_LITERAL(53, 525, 5), // "index"
QT_MOC_LITERAL(54, 531, 22), // "changePropertiesObject"
QT_MOC_LITERAL(55, 554, 14) // "upgradeClicked"

    },
    "MdiWindow\0newFile\0\0open\0save\0saveAs\0"
    "handleRequest\0updatePreview\0"
    "setWebPreviewURL\0refreshWebPreview\0"
    "cut\0copy\0paste\0bold\0italic\0quote\0code\0"
    "heading1\0heading2\0heading3\0heading4\0"
    "hyperlink\0image\0unorderedList\0orderedList\0"
    "horizontalRule\0timestamp\0pageNumber\0"
    "pageCount\0options\0saveAll\0selectAll\0"
    "del\0undo\0redo\0find\0findNext\0findPrevious\0"
    "goToLine\0support\0website\0cascadeSubWindows\0"
    "tileSubWindows\0tabSubWindows\0updateActions\0"
    "createMdiChild\0MdiChild*\0switchLayoutDirection\0"
    "setActiveSubWindow\0QWidget*\0window\0"
    "changeRootObject\0QModelIndex\0index\0"
    "changePropertiesObject\0upgradeClicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MdiWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  259,    2, 0x08 /* Private */,
       3,    0,  260,    2, 0x08 /* Private */,
       4,    0,  261,    2, 0x08 /* Private */,
       5,    0,  262,    2, 0x08 /* Private */,
       6,    0,  263,    2, 0x08 /* Private */,
       7,    0,  264,    2, 0x08 /* Private */,
       8,    0,  265,    2, 0x08 /* Private */,
       9,    0,  266,    2, 0x08 /* Private */,
      10,    0,  267,    2, 0x08 /* Private */,
      11,    0,  268,    2, 0x08 /* Private */,
      12,    0,  269,    2, 0x08 /* Private */,
      13,    0,  270,    2, 0x08 /* Private */,
      14,    0,  271,    2, 0x08 /* Private */,
      15,    0,  272,    2, 0x08 /* Private */,
      16,    0,  273,    2, 0x08 /* Private */,
      17,    0,  274,    2, 0x08 /* Private */,
      18,    0,  275,    2, 0x08 /* Private */,
      19,    0,  276,    2, 0x08 /* Private */,
      20,    0,  277,    2, 0x08 /* Private */,
      21,    0,  278,    2, 0x08 /* Private */,
      22,    0,  279,    2, 0x08 /* Private */,
      23,    0,  280,    2, 0x08 /* Private */,
      24,    0,  281,    2, 0x08 /* Private */,
      25,    0,  282,    2, 0x08 /* Private */,
      26,    0,  283,    2, 0x08 /* Private */,
      27,    0,  284,    2, 0x08 /* Private */,
      28,    0,  285,    2, 0x08 /* Private */,
      29,    0,  286,    2, 0x08 /* Private */,
      30,    0,  287,    2, 0x08 /* Private */,
      31,    0,  288,    2, 0x08 /* Private */,
      32,    0,  289,    2, 0x08 /* Private */,
      33,    0,  290,    2, 0x08 /* Private */,
      34,    0,  291,    2, 0x08 /* Private */,
      35,    0,  292,    2, 0x08 /* Private */,
      36,    0,  293,    2, 0x08 /* Private */,
      37,    0,  294,    2, 0x08 /* Private */,
      38,    0,  295,    2, 0x08 /* Private */,
      39,    0,  296,    2, 0x08 /* Private */,
      40,    0,  297,    2, 0x08 /* Private */,
      41,    0,  298,    2, 0x08 /* Private */,
      42,    0,  299,    2, 0x08 /* Private */,
      43,    0,  300,    2, 0x08 /* Private */,
      44,    0,  301,    2, 0x08 /* Private */,
      45,    0,  302,    2, 0x08 /* Private */,
      47,    0,  303,    2, 0x08 /* Private */,
      48,    1,  304,    2, 0x08 /* Private */,
      51,    1,  307,    2, 0x08 /* Private */,
      54,    1,  310,    2, 0x08 /* Private */,
      55,    0,  313,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    0x80000000 | 46,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 49,   50,
    QMetaType::Void, 0x80000000 | 52,   53,
    QMetaType::Void, 0x80000000 | 52,   53,
    QMetaType::Void,

       0        // eod
};

void MdiWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MdiWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->newFile(); break;
        case 1: _t->open(); break;
        case 2: _t->save(); break;
        case 3: _t->saveAs(); break;
        case 4: _t->handleRequest(); break;
        case 5: _t->updatePreview(); break;
        case 6: _t->setWebPreviewURL(); break;
        case 7: _t->refreshWebPreview(); break;
        case 8: _t->cut(); break;
        case 9: _t->copy(); break;
        case 10: _t->paste(); break;
        case 11: _t->bold(); break;
        case 12: _t->italic(); break;
        case 13: _t->quote(); break;
        case 14: _t->code(); break;
        case 15: _t->heading1(); break;
        case 16: _t->heading2(); break;
        case 17: _t->heading3(); break;
        case 18: _t->heading4(); break;
        case 19: _t->hyperlink(); break;
        case 20: _t->image(); break;
        case 21: _t->unorderedList(); break;
        case 22: _t->orderedList(); break;
        case 23: _t->horizontalRule(); break;
        case 24: _t->timestamp(); break;
        case 25: _t->pageNumber(); break;
        case 26: _t->pageCount(); break;
        case 27: _t->options(); break;
        case 28: _t->saveAll(); break;
        case 29: _t->selectAll(); break;
        case 30: _t->del(); break;
        case 31: _t->undo(); break;
        case 32: _t->redo(); break;
        case 33: _t->find(); break;
        case 34: _t->findNext(); break;
        case 35: _t->findPrevious(); break;
        case 36: _t->goToLine(); break;
        case 37: _t->support(); break;
        case 38: _t->website(); break;
        case 39: _t->cascadeSubWindows(); break;
        case 40: _t->tileSubWindows(); break;
        case 41: _t->tabSubWindows(); break;
        case 42: _t->updateActions(); break;
        case 43: { MdiChild* _r = _t->createMdiChild();
            if (_a[0]) *reinterpret_cast< MdiChild**>(_a[0]) = std::move(_r); }  break;
        case 44: _t->switchLayoutDirection(); break;
        case 45: _t->setActiveSubWindow((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 46: _t->changeRootObject((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 47: _t->changePropertiesObject((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 48: _t->upgradeClicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 45:
            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;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MdiWindow::staticMetaObject = { {
    &QMainWindow::staticMetaObject,
    qt_meta_stringdata_MdiWindow.data,
    qt_meta_data_MdiWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MdiWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 49)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 49;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 49)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 49;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE