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

#include "../../../src/kexi-3.0.1/src/formeditor/WidgetTreeWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'WidgetTreeWidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_KFormDesigner__WidgetTreeWidget_t {
    QByteArrayData data[19];
    char stringdata0[266];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KFormDesigner__WidgetTreeWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KFormDesigner__WidgetTreeWidget_t qt_meta_stringdata_KFormDesigner__WidgetTreeWidget = {
    {
QT_MOC_LITERAL(0, 0, 31), // "KFormDesigner::WidgetTreeWidget"
QT_MOC_LITERAL(1, 32, 7), // "setForm"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 20), // "KFormDesigner::Form*"
QT_MOC_LITERAL(4, 62, 4), // "form"
QT_MOC_LITERAL(5, 67, 12), // "selectWidget"
QT_MOC_LITERAL(6, 80, 8), // "QWidget*"
QT_MOC_LITERAL(7, 89, 1), // "w"
QT_MOC_LITERAL(8, 91, 41), // "KFormDesigner::Form::WidgetSe..."
QT_MOC_LITERAL(9, 133, 5), // "flags"
QT_MOC_LITERAL(10, 139, 7), // "addItem"
QT_MOC_LITERAL(11, 147, 30), // "KFormDesigner::ObjectTreeItem*"
QT_MOC_LITERAL(12, 178, 4), // "item"
QT_MOC_LITERAL(13, 183, 10), // "removeItem"
QT_MOC_LITERAL(14, 194, 10), // "renameItem"
QT_MOC_LITERAL(15, 205, 7), // "oldname"
QT_MOC_LITERAL(16, 213, 7), // "newname"
QT_MOC_LITERAL(17, 221, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(18, 242, 23) // "slotBeforeFormDestroyed"

    },
    "KFormDesigner::WidgetTreeWidget\0setForm\0"
    "\0KFormDesigner::Form*\0form\0selectWidget\0"
    "QWidget*\0w\0KFormDesigner::Form::WidgetSelectionFlags\0"
    "flags\0addItem\0KFormDesigner::ObjectTreeItem*\0"
    "item\0removeItem\0renameItem\0oldname\0"
    "newname\0slotSelectionChanged\0"
    "slotBeforeFormDestroyed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KFormDesigner__WidgetTreeWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x0a /* Public */,
       5,    2,   57,    2, 0x0a /* Public */,
       5,    1,   62,    2, 0x2a /* Public | MethodCloned */,
      10,    1,   65,    2, 0x0a /* Public */,
      13,    1,   68,    2, 0x0a /* Public */,
      14,    2,   71,    2, 0x0a /* Public */,
      17,    0,   76,    2, 0x09 /* Protected */,
      18,    0,   77,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 8,    7,    9,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::QByteArray,   15,   16,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KFormDesigner::WidgetTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WidgetTreeWidget *_t = static_cast<WidgetTreeWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setForm((*reinterpret_cast< KFormDesigner::Form*(*)>(_a[1]))); break;
        case 1: _t->selectWidget((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< KFormDesigner::Form::WidgetSelectionFlags(*)>(_a[2]))); break;
        case 2: _t->selectWidget((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 3: _t->addItem((*reinterpret_cast< KFormDesigner::ObjectTreeItem*(*)>(_a[1]))); break;
        case 4: _t->removeItem((*reinterpret_cast< KFormDesigner::ObjectTreeItem*(*)>(_a[1]))); break;
        case 5: _t->renameItem((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break;
        case 6: _t->slotSelectionChanged(); break;
        case 7: _t->slotBeforeFormDestroyed(); 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< KFormDesigner::Form* >(); break;
            }
            break;
        case 1:
            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 2:
            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;
        }
    }
}

const QMetaObject KFormDesigner::WidgetTreeWidget::staticMetaObject = {
    { &QTreeWidget::staticMetaObject, qt_meta_stringdata_KFormDesigner__WidgetTreeWidget.data,
      qt_meta_data_KFormDesigner__WidgetTreeWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KFormDesigner::WidgetTreeWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KFormDesigner__WidgetTreeWidget.stringdata0))
        return static_cast<void*>(const_cast< WidgetTreeWidget*>(this));
    return QTreeWidget::qt_metacast(_clname);
}

int KFormDesigner::WidgetTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
