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

#include "../../../../src/calligraplan-3.1.0/src/libs/ui/kptviewbase.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptviewbase.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KPlato__DockWidget_t {
    QByteArrayData data[7];
    char stringdata0[70];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__DockWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__DockWidget_t qt_meta_stringdata_KPlato__DockWidget = {
    {
QT_MOC_LITERAL(0, 0, 18), // "KPlato::DockWidget"
QT_MOC_LITERAL(1, 19, 8), // "setShown"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 4), // "show"
QT_MOC_LITERAL(4, 34, 11), // "setLocation"
QT_MOC_LITERAL(5, 46, 18), // "Qt::DockWidgetArea"
QT_MOC_LITERAL(6, 65, 4) // "area"

    },
    "KPlato::DockWidget\0setShown\0\0show\0"
    "setLocation\0Qt::DockWidgetArea\0area"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__DockWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x0a /* Public */,
       4,    1,   27,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, 0x80000000 | 5,    6,

       0        // eod
};

void KPlato::DockWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DockWidget *_t = static_cast<DockWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setShown((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->setLocation((*reinterpret_cast< Qt::DockWidgetArea(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::DockWidget::staticMetaObject = {
    { &QDockWidget::staticMetaObject, qt_meta_stringdata_KPlato__DockWidget.data,
      qt_meta_data_KPlato__DockWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::DockWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__DockWidget.stringdata0))
        return static_cast<void*>(this);
    return QDockWidget::qt_metacast(_clname);
}

int KPlato::DockWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDockWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__PrintingHeaderFooter_t {
    QByteArrayData data[5];
    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_KPlato__PrintingHeaderFooter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__PrintingHeaderFooter_t qt_meta_stringdata_KPlato__PrintingHeaderFooter = {
    {
QT_MOC_LITERAL(0, 0, 28), // "KPlato::PrintingHeaderFooter"
QT_MOC_LITERAL(1, 29, 7), // "changed"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 15), // "PrintingOptions"
QT_MOC_LITERAL(4, 54, 11) // "slotChanged"

    },
    "KPlato::PrintingHeaderFooter\0changed\0"
    "\0PrintingOptions\0slotChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__PrintingHeaderFooter[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,   27,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KPlato::PrintingHeaderFooter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PrintingHeaderFooter *_t = static_cast<PrintingHeaderFooter *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed((*reinterpret_cast< const PrintingOptions(*)>(_a[1]))); break;
        case 1: _t->slotChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (PrintingHeaderFooter::*_t)(const PrintingOptions & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PrintingHeaderFooter::changed)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::PrintingHeaderFooter::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__PrintingHeaderFooter.data,
      qt_meta_data_KPlato__PrintingHeaderFooter,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::PrintingHeaderFooter::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__PrintingHeaderFooter.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::PrintingHeaderFooter"))
        return static_cast< Ui::PrintingHeaderFooter*>(this);
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void KPlato::PrintingHeaderFooter::changed(const PrintingOptions & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KPlato__PrintingDialog_t {
    QByteArrayData data[12];
    char stringdata0[156];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__PrintingDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__PrintingDialog_t qt_meta_stringdata_KPlato__PrintingDialog = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KPlato::PrintingDialog"
QT_MOC_LITERAL(1, 23, 7), // "changed"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 15), // "PrintingOptions"
QT_MOC_LITERAL(4, 48, 3), // "opt"
QT_MOC_LITERAL(5, 52, 18), // "setPrintingOptions"
QT_MOC_LITERAL(6, 71, 20), // "setPrinterPageLayout"
QT_MOC_LITERAL(7, 92, 12), // "KoPageLayout"
QT_MOC_LITERAL(8, 105, 10), // "pagelayout"
QT_MOC_LITERAL(9, 116, 13), // "startPrinting"
QT_MOC_LITERAL(10, 130, 12), // "RemovePolicy"
QT_MOC_LITERAL(11, 143, 12) // "removePolicy"

    },
    "KPlato::PrintingDialog\0changed\0\0"
    "PrintingOptions\0opt\0setPrintingOptions\0"
    "setPrinterPageLayout\0KoPageLayout\0"
    "pagelayout\0startPrinting\0RemovePolicy\0"
    "removePolicy"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__PrintingDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,
       1,    0,   47,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   48,    2, 0x0a /* Public */,
       6,    1,   51,    2, 0x0a /* Public */,
       9,    1,   54,    2, 0x0a /* Public */,
       9,    0,   57,    2, 0x2a /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void,

       0        // eod
};

void KPlato::PrintingDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PrintingDialog *_t = static_cast<PrintingDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed((*reinterpret_cast< const PrintingOptions(*)>(_a[1]))); break;
        case 1: _t->changed(); break;
        case 2: _t->setPrintingOptions((*reinterpret_cast< const PrintingOptions(*)>(_a[1]))); break;
        case 3: _t->setPrinterPageLayout((*reinterpret_cast< const KoPageLayout(*)>(_a[1]))); break;
        case 4: _t->startPrinting((*reinterpret_cast< RemovePolicy(*)>(_a[1]))); break;
        case 5: _t->startPrinting(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (PrintingDialog::*_t)(const PrintingOptions & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PrintingDialog::changed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PrintingDialog::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PrintingDialog::changed)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlato::PrintingDialog::staticMetaObject = {
    { &KoPrintingDialog::staticMetaObject, qt_meta_stringdata_KPlato__PrintingDialog.data,
      qt_meta_data_KPlato__PrintingDialog,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::PrintingDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__PrintingDialog.stringdata0))
        return static_cast<void*>(this);
    return KoPrintingDialog::qt_metacast(_clname);
}

int KPlato::PrintingDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KoPrintingDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void KPlato::PrintingDialog::changed(const PrintingOptions & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KPlato::PrintingDialog::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_KPlato__ViewBase_t {
    QByteArrayData data[35];
    char stringdata0[445];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ViewBase_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ViewBase_t qt_meta_stringdata_KPlato__ViewBase = {
    {
QT_MOC_LITERAL(0, 0, 16), // "KPlato::ViewBase"
QT_MOC_LITERAL(1, 17, 12), // "guiActivated"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 9), // "ViewBase*"
QT_MOC_LITERAL(4, 41, 16), // "requestPopupMenu"
QT_MOC_LITERAL(5, 58, 15), // "optionsModified"
QT_MOC_LITERAL(6, 74, 14), // "projectChanged"
QT_MOC_LITERAL(7, 89, 8), // "Project*"
QT_MOC_LITERAL(8, 98, 7), // "project"
QT_MOC_LITERAL(9, 106, 16), // "readWriteChanged"
QT_MOC_LITERAL(10, 123, 9), // "expandAll"
QT_MOC_LITERAL(11, 133, 11), // "collapseAll"
QT_MOC_LITERAL(12, 145, 12), // "openDocument"
QT_MOC_LITERAL(13, 158, 3), // "url"
QT_MOC_LITERAL(14, 162, 18), // "setPrintingOptions"
QT_MOC_LITERAL(15, 181, 15), // "PrintingOptions"
QT_MOC_LITERAL(16, 197, 3), // "opt"
QT_MOC_LITERAL(17, 201, 12), // "setGuiActive"
QT_MOC_LITERAL(18, 214, 8), // "activate"
QT_MOC_LITERAL(19, 223, 18), // "setScheduleManager"
QT_MOC_LITERAL(20, 242, 16), // "ScheduleManager*"
QT_MOC_LITERAL(21, 259, 2), // "sm"
QT_MOC_LITERAL(22, 262, 19), // "slotUpdateReadWrite"
QT_MOC_LITERAL(23, 282, 30), // "slotHeaderContextMenuRequested"
QT_MOC_LITERAL(24, 313, 3), // "pos"
QT_MOC_LITERAL(25, 317, 12), // "slotEditCopy"
QT_MOC_LITERAL(26, 330, 11), // "slotEditCut"
QT_MOC_LITERAL(27, 342, 13), // "slotEditPaste"
QT_MOC_LITERAL(28, 356, 15), // "slotRefreshView"
QT_MOC_LITERAL(29, 372, 13), // "setPageLayout"
QT_MOC_LITERAL(30, 386, 12), // "KoPageLayout"
QT_MOC_LITERAL(31, 399, 6), // "layout"
QT_MOC_LITERAL(32, 406, 11), // "slotOptions"
QT_MOC_LITERAL(33, 418, 19), // "slotOptionsFinished"
QT_MOC_LITERAL(34, 438, 6) // "result"

    },
    "KPlato::ViewBase\0guiActivated\0\0ViewBase*\0"
    "requestPopupMenu\0optionsModified\0"
    "projectChanged\0Project*\0project\0"
    "readWriteChanged\0expandAll\0collapseAll\0"
    "openDocument\0url\0setPrintingOptions\0"
    "PrintingOptions\0opt\0setGuiActive\0"
    "activate\0setScheduleManager\0"
    "ScheduleManager*\0sm\0slotUpdateReadWrite\0"
    "slotHeaderContextMenuRequested\0pos\0"
    "slotEditCopy\0slotEditCut\0slotEditPaste\0"
    "slotRefreshView\0setPageLayout\0"
    "KoPageLayout\0layout\0slotOptions\0"
    "slotOptionsFinished\0result"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ViewBase[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  114,    2, 0x06 /* Public */,
       4,    2,  119,    2, 0x06 /* Public */,
       5,    0,  124,    2, 0x06 /* Public */,
       6,    1,  125,    2, 0x06 /* Public */,
       9,    1,  128,    2, 0x06 /* Public */,
      10,    0,  131,    2, 0x06 /* Public */,
      11,    0,  132,    2, 0x06 /* Public */,
      12,    1,  133,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    1,  136,    2, 0x0a /* Public */,
      17,    1,  139,    2, 0x0a /* Public */,
      19,    1,  142,    2, 0x0a /* Public */,
      22,    1,  145,    2, 0x0a /* Public */,
      23,    1,  148,    2, 0x0a /* Public */,
      25,    0,  151,    2, 0x0a /* Public */,
      26,    0,  152,    2, 0x0a /* Public */,
      27,    0,  153,    2, 0x0a /* Public */,
      28,    0,  154,    2, 0x0a /* Public */,
      29,    1,  155,    2, 0x0a /* Public */,
      32,    0,  158,    2, 0x09 /* Protected */,
      33,    1,  159,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QPoint,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   13,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QPoint,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 30,   31,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   34,

       0        // eod
};

void KPlato::ViewBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ViewBase *_t = static_cast<ViewBase *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->guiActivated((*reinterpret_cast< ViewBase*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->requestPopupMenu((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 2: _t->optionsModified(); break;
        case 3: _t->projectChanged((*reinterpret_cast< Project*(*)>(_a[1]))); break;
        case 4: _t->readWriteChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->expandAll(); break;
        case 6: _t->collapseAll(); break;
        case 7: _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 8: _t->setPrintingOptions((*reinterpret_cast< const PrintingOptions(*)>(_a[1]))); break;
        case 9: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 11: _t->slotUpdateReadWrite((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->slotHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 13: _t->slotEditCopy(); break;
        case 14: _t->slotEditCut(); break;
        case 15: _t->slotEditPaste(); break;
        case 16: _t->slotRefreshView(); break;
        case 17: _t->setPageLayout((*reinterpret_cast< const KoPageLayout(*)>(_a[1]))); break;
        case 18: _t->slotOptions(); break;
        case 19: _t->slotOptionsFinished((*reinterpret_cast< int(*)>(_a[1]))); 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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ViewBase* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ViewBase::*_t)(ViewBase * , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewBase::guiActivated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ViewBase::*_t)(const QString & , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewBase::requestPopupMenu)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ViewBase::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewBase::optionsModified)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ViewBase::*_t)(Project * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewBase::projectChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (ViewBase::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewBase::readWriteChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (ViewBase::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewBase::expandAll)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (ViewBase::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewBase::collapseAll)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (ViewBase::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewBase::openDocument)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ViewBase::staticMetaObject = {
    { &KoView::staticMetaObject, qt_meta_stringdata_KPlato__ViewBase.data,
      qt_meta_data_KPlato__ViewBase,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::ViewBase::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__ViewBase.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ViewActionLists"))
        return static_cast< ViewActionLists*>(this);
    return KoView::qt_metacast(_clname);
}

int KPlato::ViewBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KoView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

// SIGNAL 0
void KPlato::ViewBase::guiActivated(ViewBase * _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KPlato::ViewBase::requestPopupMenu(const QString & _t1, const QPoint & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KPlato::ViewBase::optionsModified()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KPlato::ViewBase::projectChanged(Project * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KPlato::ViewBase::readWriteChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KPlato::ViewBase::expandAll()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KPlato::ViewBase::collapseAll()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KPlato::ViewBase::openDocument(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
struct qt_meta_stringdata_KPlato__TreeViewPrintingDialog_t {
    QByteArrayData data[1];
    char stringdata0[31];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TreeViewPrintingDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TreeViewPrintingDialog_t qt_meta_stringdata_KPlato__TreeViewPrintingDialog = {
    {
QT_MOC_LITERAL(0, 0, 30) // "KPlato::TreeViewPrintingDialog"

    },
    "KPlato::TreeViewPrintingDialog"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TreeViewPrintingDialog[] = {

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

       0        // eod
};

void KPlato::TreeViewPrintingDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KPlato::TreeViewPrintingDialog::staticMetaObject = {
    { &PrintingDialog::staticMetaObject, qt_meta_stringdata_KPlato__TreeViewPrintingDialog.data,
      qt_meta_data_KPlato__TreeViewPrintingDialog,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::TreeViewPrintingDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__TreeViewPrintingDialog.stringdata0))
        return static_cast<void*>(this);
    return PrintingDialog::qt_metacast(_clname);
}

int KPlato::TreeViewPrintingDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PrintingDialog::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlato__TreeViewBase_t {
    QByteArrayData data[30];
    char stringdata0[483];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TreeViewBase_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TreeViewBase_t qt_meta_stringdata_KPlato__TreeViewBase = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KPlato::TreeViewBase"
QT_MOC_LITERAL(1, 21, 20), // "contextMenuRequested"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 3), // "pos"
QT_MOC_LITERAL(4, 47, 15), // "QModelIndexList"
QT_MOC_LITERAL(5, 63, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(6, 90, 19), // "moveAfterLastColumn"
QT_MOC_LITERAL(7, 110, 21), // "moveBeforeFirstColumn"
QT_MOC_LITERAL(8, 132, 19), // "editAfterLastColumn"
QT_MOC_LITERAL(9, 152, 21), // "editBeforeFirstColumn"
QT_MOC_LITERAL(10, 174, 11), // "dropAllowed"
QT_MOC_LITERAL(11, 186, 5), // "index"
QT_MOC_LITERAL(12, 192, 21), // "dropIndicatorPosition"
QT_MOC_LITERAL(13, 214, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(14, 230, 5), // "event"
QT_MOC_LITERAL(15, 236, 10), // "slotExpand"
QT_MOC_LITERAL(16, 247, 12), // "slotCollapse"
QT_MOC_LITERAL(17, 260, 11), // "closeEditor"
QT_MOC_LITERAL(18, 272, 8), // "QWidget*"
QT_MOC_LITERAL(19, 281, 6), // "editor"
QT_MOC_LITERAL(20, 288, 34), // "QAbstractItemDelegate::EndEdi..."
QT_MOC_LITERAL(21, 323, 4), // "hint"
QT_MOC_LITERAL(22, 328, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(23, 347, 7), // "current"
QT_MOC_LITERAL(24, 355, 8), // "previous"
QT_MOC_LITERAL(25, 364, 30), // "slotHeaderContextMenuRequested"
QT_MOC_LITERAL(26, 395, 22), // "selectionBehaviorFlags"
QT_MOC_LITERAL(27, 418, 35), // "QItemSelectionModel::Selectio..."
QT_MOC_LITERAL(28, 454, 17), // "doContextExpanded"
QT_MOC_LITERAL(29, 472, 10) // "doExpanded"

    },
    "KPlato::TreeViewBase\0contextMenuRequested\0"
    "\0pos\0QModelIndexList\0headerContextMenuRequested\0"
    "moveAfterLastColumn\0moveBeforeFirstColumn\0"
    "editAfterLastColumn\0editBeforeFirstColumn\0"
    "dropAllowed\0index\0dropIndicatorPosition\0"
    "QDragMoveEvent*\0event\0slotExpand\0"
    "slotCollapse\0closeEditor\0QWidget*\0"
    "editor\0QAbstractItemDelegate::EndEditHint\0"
    "hint\0slotCurrentChanged\0current\0"
    "previous\0slotHeaderContextMenuRequested\0"
    "selectionBehaviorFlags\0"
    "QItemSelectionModel::SelectionFlags\0"
    "doContextExpanded\0doExpanded"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TreeViewBase[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   89,    2, 0x06 /* Public */,
       5,    1,   96,    2, 0x06 /* Public */,
       6,    1,   99,    2, 0x06 /* Public */,
       7,    1,  102,    2, 0x06 /* Public */,
       8,    1,  105,    2, 0x06 /* Public */,
       9,    1,  108,    2, 0x06 /* Public */,
      10,    3,  111,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,  118,    2, 0x0a /* Public */,
      16,    0,  119,    2, 0x0a /* Public */,
      17,    2,  120,    2, 0x09 /* Protected */,
      22,    2,  125,    2, 0x09 /* Protected */,
      25,    1,  130,    2, 0x09 /* Protected */,
      26,    0,  133,    2, 0x09 /* Protected */,
      28,    0,  134,    2, 0x09 /* Protected */,
      29,    0,  135,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint, 0x80000000 | 4,    2,    3,    2,
    QMetaType::Void, QMetaType::QPoint,    3,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, 0x80000000 | 13,   11,   12,   14,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 18, 0x80000000 | 20,   19,   21,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   23,   24,
    QMetaType::Void, QMetaType::QPoint,    2,
    0x80000000 | 27,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::TreeViewBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TreeViewBase *_t = static_cast<TreeViewBase *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->contextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2])),(*reinterpret_cast< const QModelIndexList(*)>(_a[3]))); break;
        case 1: _t->headerContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 2: _t->moveAfterLastColumn((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 3: _t->moveBeforeFirstColumn((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 4: _t->editAfterLastColumn((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 5: _t->editBeforeFirstColumn((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 6: _t->dropAllowed((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QDragMoveEvent*(*)>(_a[3]))); break;
        case 7: _t->slotExpand(); break;
        case 8: _t->slotCollapse(); break;
        case 9: _t->closeEditor((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QAbstractItemDelegate::EndEditHint(*)>(_a[2]))); break;
        case 10: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 11: _t->slotHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 12: { QItemSelectionModel::SelectionFlags _r = _t->selectionBehaviorFlags();
            if (_a[0]) *reinterpret_cast< QItemSelectionModel::SelectionFlags*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->doContextExpanded(); break;
        case 14: _t->doExpanded(); 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 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        case 9:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TreeViewBase::*_t)(const QModelIndex & , const QPoint & , const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TreeViewBase::contextMenuRequested)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TreeViewBase::*_t)(const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TreeViewBase::headerContextMenuRequested)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TreeViewBase::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TreeViewBase::moveAfterLastColumn)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TreeViewBase::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TreeViewBase::moveBeforeFirstColumn)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TreeViewBase::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TreeViewBase::editAfterLastColumn)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TreeViewBase::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TreeViewBase::editBeforeFirstColumn)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (TreeViewBase::*_t)(const QModelIndex & , int , QDragMoveEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TreeViewBase::dropAllowed)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KPlato::TreeViewBase::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_KPlato__TreeViewBase.data,
      qt_meta_data_KPlato__TreeViewBase,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::TreeViewBase::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__TreeViewBase.stringdata0))
        return static_cast<void*>(this);
    return QTreeView::qt_metacast(_clname);
}

int KPlato::TreeViewBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void KPlato::TreeViewBase::contextMenuRequested(const QModelIndex & _t1, const QPoint & _t2, const QModelIndexList & _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KPlato::TreeViewBase::headerContextMenuRequested(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KPlato::TreeViewBase::moveAfterLastColumn(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlato::TreeViewBase::moveBeforeFirstColumn(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KPlato::TreeViewBase::editAfterLastColumn(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KPlato::TreeViewBase::editBeforeFirstColumn(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KPlato::TreeViewBase::dropAllowed(const QModelIndex & _t1, int _t2, QDragMoveEvent * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
struct qt_meta_stringdata_KPlato__DoubleTreeViewPrintingDialog_t {
    QByteArrayData data[1];
    char stringdata0[37];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__DoubleTreeViewPrintingDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__DoubleTreeViewPrintingDialog_t qt_meta_stringdata_KPlato__DoubleTreeViewPrintingDialog = {
    {
QT_MOC_LITERAL(0, 0, 36) // "KPlato::DoubleTreeViewPrintin..."

    },
    "KPlato::DoubleTreeViewPrintingDialog"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__DoubleTreeViewPrintingDialog[] = {

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

       0        // eod
};

void KPlato::DoubleTreeViewPrintingDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KPlato::DoubleTreeViewPrintingDialog::staticMetaObject = {
    { &PrintingDialog::staticMetaObject, qt_meta_stringdata_KPlato__DoubleTreeViewPrintingDialog.data,
      qt_meta_data_KPlato__DoubleTreeViewPrintingDialog,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::DoubleTreeViewPrintingDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__DoubleTreeViewPrintingDialog.stringdata0))
        return static_cast<void*>(this);
    return PrintingDialog::qt_metacast(_clname);
}

int KPlato::DoubleTreeViewPrintingDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PrintingDialog::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlato__DoubleTreeViewBase_t {
    QByteArrayData data[34];
    char stringdata0[574];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__DoubleTreeViewBase_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__DoubleTreeViewBase_t qt_meta_stringdata_KPlato__DoubleTreeViewBase = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KPlato::DoubleTreeViewBase"
QT_MOC_LITERAL(1, 27, 20), // "contextMenuRequested"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 5), // "index"
QT_MOC_LITERAL(4, 55, 3), // "pos"
QT_MOC_LITERAL(5, 59, 15), // "QModelIndexList"
QT_MOC_LITERAL(6, 75, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(7, 102, 32), // "masterHeaderContextMenuRequested"
QT_MOC_LITERAL(8, 135, 31), // "slaveHeaderContextMenuRequested"
QT_MOC_LITERAL(9, 167, 14), // "currentChanged"
QT_MOC_LITERAL(10, 182, 7), // "current"
QT_MOC_LITERAL(11, 190, 8), // "previous"
QT_MOC_LITERAL(12, 199, 16), // "selectionChanged"
QT_MOC_LITERAL(13, 216, 11), // "dropAllowed"
QT_MOC_LITERAL(14, 228, 21), // "dropIndicatorPosition"
QT_MOC_LITERAL(15, 250, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(16, 266, 5), // "event"
QT_MOC_LITERAL(17, 272, 4), // "edit"
QT_MOC_LITERAL(18, 277, 10), // "slotExpand"
QT_MOC_LITERAL(19, 288, 12), // "slotCollapse"
QT_MOC_LITERAL(20, 301, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(21, 322, 14), // "QItemSelection"
QT_MOC_LITERAL(22, 337, 3), // "sel"
QT_MOC_LITERAL(23, 341, 15), // "slotToRightView"
QT_MOC_LITERAL(24, 357, 14), // "slotToLeftView"
QT_MOC_LITERAL(25, 372, 19), // "slotEditToRightView"
QT_MOC_LITERAL(26, 392, 18), // "slotEditToLeftView"
QT_MOC_LITERAL(27, 411, 35), // "slotRightHeaderContextMenuReq..."
QT_MOC_LITERAL(28, 447, 34), // "slotLeftHeaderContextMenuRequ..."
QT_MOC_LITERAL(29, 482, 28), // "slotLeftSortIndicatorChanged"
QT_MOC_LITERAL(30, 511, 12), // "logicalIndex"
QT_MOC_LITERAL(31, 524, 13), // "Qt::SortOrder"
QT_MOC_LITERAL(32, 538, 5), // "order"
QT_MOC_LITERAL(33, 544, 29) // "slotRightSortIndicatorChanged"

    },
    "KPlato::DoubleTreeViewBase\0"
    "contextMenuRequested\0\0index\0pos\0"
    "QModelIndexList\0headerContextMenuRequested\0"
    "masterHeaderContextMenuRequested\0"
    "slaveHeaderContextMenuRequested\0"
    "currentChanged\0current\0previous\0"
    "selectionChanged\0dropAllowed\0"
    "dropIndicatorPosition\0QDragMoveEvent*\0"
    "event\0edit\0slotExpand\0slotCollapse\0"
    "slotSelectionChanged\0QItemSelection\0"
    "sel\0slotToRightView\0slotToLeftView\0"
    "slotEditToRightView\0slotEditToLeftView\0"
    "slotRightHeaderContextMenuRequested\0"
    "slotLeftHeaderContextMenuRequested\0"
    "slotLeftSortIndicatorChanged\0logicalIndex\0"
    "Qt::SortOrder\0order\0slotRightSortIndicatorChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__DoubleTreeViewBase[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,  109,    2, 0x06 /* Public */,
       6,    1,  116,    2, 0x06 /* Public */,
       7,    1,  119,    2, 0x06 /* Public */,
       8,    1,  122,    2, 0x06 /* Public */,
       9,    2,  125,    2, 0x06 /* Public */,
      12,    1,  130,    2, 0x06 /* Public */,
      13,    3,  133,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    1,  140,    2, 0x0a /* Public */,
      18,    0,  143,    2, 0x0a /* Public */,
      19,    0,  144,    2, 0x0a /* Public */,
      20,    2,  145,    2, 0x09 /* Protected */,
      23,    1,  150,    2, 0x09 /* Protected */,
      24,    1,  153,    2, 0x09 /* Protected */,
      25,    1,  156,    2, 0x09 /* Protected */,
      26,    1,  159,    2, 0x09 /* Protected */,
      27,    1,  162,    2, 0x09 /* Protected */,
      28,    1,  165,    2, 0x09 /* Protected */,
      29,    2,  168,    2, 0x09 /* Protected */,
      33,    2,  173,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint, 0x80000000 | 5,    3,    4,    2,
    QMetaType::Void, QMetaType::QPoint,    4,
    QMetaType::Void, QMetaType::QPoint,    4,
    QMetaType::Void, QMetaType::QPoint,    4,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   10,   11,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, 0x80000000 | 15,    3,   14,   16,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21, 0x80000000 | 21,   22,    2,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QPoint,    4,
    QMetaType::Void, QMetaType::QPoint,    4,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 31,   30,   32,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 31,   30,   32,

       0        // eod
};

void KPlato::DoubleTreeViewBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DoubleTreeViewBase *_t = static_cast<DoubleTreeViewBase *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->contextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2])),(*reinterpret_cast< const QModelIndexList(*)>(_a[3]))); break;
        case 1: _t->headerContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 2: _t->masterHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 3: _t->slaveHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 4: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 5: _t->selectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 6: _t->dropAllowed((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QDragMoveEvent*(*)>(_a[3]))); break;
        case 7: _t->edit((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 8: _t->slotExpand(); break;
        case 9: _t->slotCollapse(); break;
        case 10: _t->slotSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 11: _t->slotToRightView((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 12: _t->slotToLeftView((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 13: _t->slotEditToRightView((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 14: _t->slotEditToLeftView((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 15: _t->slotRightHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 16: _t->slotLeftHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 17: _t->slotLeftSortIndicatorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
        case 18: _t->slotRightSortIndicatorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); 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 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); 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< QModelIndexList >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (DoubleTreeViewBase::*_t)(const QModelIndex & , const QPoint & , const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DoubleTreeViewBase::contextMenuRequested)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DoubleTreeViewBase::*_t)(const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DoubleTreeViewBase::headerContextMenuRequested)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (DoubleTreeViewBase::*_t)(const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DoubleTreeViewBase::masterHeaderContextMenuRequested)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (DoubleTreeViewBase::*_t)(const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DoubleTreeViewBase::slaveHeaderContextMenuRequested)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (DoubleTreeViewBase::*_t)(const QModelIndex & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DoubleTreeViewBase::currentChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (DoubleTreeViewBase::*_t)(const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DoubleTreeViewBase::selectionChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (DoubleTreeViewBase::*_t)(const QModelIndex & , int , QDragMoveEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DoubleTreeViewBase::dropAllowed)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KPlato::DoubleTreeViewBase::staticMetaObject = {
    { &QSplitter::staticMetaObject, qt_meta_stringdata_KPlato__DoubleTreeViewBase.data,
      qt_meta_data_KPlato__DoubleTreeViewBase,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::DoubleTreeViewBase::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__DoubleTreeViewBase.stringdata0))
        return static_cast<void*>(this);
    return QSplitter::qt_metacast(_clname);
}

int KPlato::DoubleTreeViewBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSplitter::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void KPlato::DoubleTreeViewBase::contextMenuRequested(const QModelIndex & _t1, const QPoint & _t2, const QModelIndexList & _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KPlato::DoubleTreeViewBase::headerContextMenuRequested(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KPlato::DoubleTreeViewBase::masterHeaderContextMenuRequested(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlato::DoubleTreeViewBase::slaveHeaderContextMenuRequested(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KPlato::DoubleTreeViewBase::currentChanged(const QModelIndex & _t1, const QModelIndex & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KPlato::DoubleTreeViewBase::selectionChanged(const QModelIndexList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KPlato::DoubleTreeViewBase::dropAllowed(const QModelIndex & _t1, int _t2, QDragMoveEvent * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
