/****************************************************************************
** Meta object code from reading C++ file 'KoPageLayoutWidget.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/widgets/KoPageLayoutWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KoPageLayoutWidget.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_KoPageLayoutWidget_t {
    QByteArrayData data[19];
    char stringdata0[232];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KoPageLayoutWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KoPageLayoutWidget_t qt_meta_stringdata_KoPageLayoutWidget = {
    {
QT_MOC_LITERAL(0, 0, 18), // "KoPageLayoutWidget"
QT_MOC_LITERAL(1, 19, 13), // "layoutChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 12), // "KoPageLayout"
QT_MOC_LITERAL(4, 47, 6), // "layout"
QT_MOC_LITERAL(5, 54, 11), // "unitChanged"
QT_MOC_LITERAL(6, 66, 6), // "KoUnit"
QT_MOC_LITERAL(7, 73, 4), // "unit"
QT_MOC_LITERAL(8, 78, 13), // "setPageLayout"
QT_MOC_LITERAL(9, 92, 20), // "setTextAreaAvailable"
QT_MOC_LITERAL(10, 113, 9), // "available"
QT_MOC_LITERAL(11, 123, 11), // "sizeChanged"
QT_MOC_LITERAL(12, 135, 3), // "row"
QT_MOC_LITERAL(13, 139, 18), // "facingPagesChanged"
QT_MOC_LITERAL(14, 158, 14), // "optionsChanged"
QT_MOC_LITERAL(15, 173, 14), // "marginsChanged"
QT_MOC_LITERAL(16, 188, 18), // "orientationChanged"
QT_MOC_LITERAL(17, 207, 18), // "setApplyToDocument"
QT_MOC_LITERAL(18, 226, 5) // "apply"

    },
    "KoPageLayoutWidget\0layoutChanged\0\0"
    "KoPageLayout\0layout\0unitChanged\0KoUnit\0"
    "unit\0setPageLayout\0setTextAreaAvailable\0"
    "available\0sizeChanged\0row\0facingPagesChanged\0"
    "optionsChanged\0marginsChanged\0"
    "orientationChanged\0setApplyToDocument\0"
    "apply"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KoPageLayoutWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       8,    1,   75,    2, 0x0a /* Public */,
       9,    1,   78,    2, 0x0a /* Public */,
      11,    1,   81,    2, 0x08 /* Private */,
       5,    1,   84,    2, 0x08 /* Private */,
      13,    0,   87,    2, 0x08 /* Private */,
      14,    0,   88,    2, 0x08 /* Private */,
      15,    0,   89,    2, 0x08 /* Private */,
      16,    0,   90,    2, 0x08 /* Private */,
      17,    1,   91,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   18,

       0        // eod
};

void KoPageLayoutWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KoPageLayoutWidget *_t = static_cast<KoPageLayoutWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->layoutChanged((*reinterpret_cast< const KoPageLayout(*)>(_a[1]))); break;
        case 1: _t->unitChanged((*reinterpret_cast< const KoUnit(*)>(_a[1]))); break;
        case 2: _t->setPageLayout((*reinterpret_cast< const KoPageLayout(*)>(_a[1]))); break;
        case 3: _t->setTextAreaAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->sizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->unitChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->facingPagesChanged(); break;
        case 7: _t->optionsChanged(); break;
        case 8: _t->marginsChanged(); break;
        case 9: _t->orientationChanged(); break;
        case 10: _t->setApplyToDocument((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KoPageLayoutWidget::*_t)(const KoPageLayout & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KoPageLayoutWidget::layoutChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KoPageLayoutWidget::*_t)(const KoUnit & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KoPageLayoutWidget::unitChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KoPageLayoutWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KoPageLayoutWidget.data,
      qt_meta_data_KoPageLayoutWidget,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KoPageLayoutWidget::unitChanged(const KoUnit & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
