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

#include "../../../../src/qtbase-opensource-src-5.5.1/src/widgets/itemviews/qtreewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtreewidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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_QTreeWidget_t {
    QByteArrayData data[44];
    char stringdata0[630];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QTreeWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QTreeWidget_t qt_meta_stringdata_QTreeWidget = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QTreeWidget"
QT_MOC_LITERAL(1, 12, 11), // "itemPressed"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(4, 42, 4), // "item"
QT_MOC_LITERAL(5, 47, 6), // "column"
QT_MOC_LITERAL(6, 54, 11), // "itemClicked"
QT_MOC_LITERAL(7, 66, 17), // "itemDoubleClicked"
QT_MOC_LITERAL(8, 84, 13), // "itemActivated"
QT_MOC_LITERAL(9, 98, 11), // "itemEntered"
QT_MOC_LITERAL(10, 110, 11), // "itemChanged"
QT_MOC_LITERAL(11, 122, 12), // "itemExpanded"
QT_MOC_LITERAL(12, 135, 13), // "itemCollapsed"
QT_MOC_LITERAL(13, 149, 18), // "currentItemChanged"
QT_MOC_LITERAL(14, 168, 7), // "current"
QT_MOC_LITERAL(15, 176, 8), // "previous"
QT_MOC_LITERAL(16, 185, 20), // "itemSelectionChanged"
QT_MOC_LITERAL(17, 206, 12), // "scrollToItem"
QT_MOC_LITERAL(18, 219, 22), // "const QTreeWidgetItem*"
QT_MOC_LITERAL(19, 242, 29), // "QAbstractItemView::ScrollHint"
QT_MOC_LITERAL(20, 272, 4), // "hint"
QT_MOC_LITERAL(21, 277, 10), // "expandItem"
QT_MOC_LITERAL(22, 288, 12), // "collapseItem"
QT_MOC_LITERAL(23, 301, 5), // "clear"
QT_MOC_LITERAL(24, 307, 18), // "_q_emitItemPressed"
QT_MOC_LITERAL(25, 326, 5), // "index"
QT_MOC_LITERAL(26, 332, 18), // "_q_emitItemClicked"
QT_MOC_LITERAL(27, 351, 24), // "_q_emitItemDoubleClicked"
QT_MOC_LITERAL(28, 376, 20), // "_q_emitItemActivated"
QT_MOC_LITERAL(29, 397, 18), // "_q_emitItemEntered"
QT_MOC_LITERAL(30, 416, 18), // "_q_emitItemChanged"
QT_MOC_LITERAL(31, 435, 19), // "_q_emitItemExpanded"
QT_MOC_LITERAL(32, 455, 20), // "_q_emitItemCollapsed"
QT_MOC_LITERAL(33, 476, 25), // "_q_emitCurrentItemChanged"
QT_MOC_LITERAL(34, 502, 7), // "_q_sort"
QT_MOC_LITERAL(35, 510, 14), // "_q_dataChanged"
QT_MOC_LITERAL(36, 525, 7), // "topLeft"
QT_MOC_LITERAL(37, 533, 11), // "bottomRight"
QT_MOC_LITERAL(38, 545, 19), // "_q_selectionChanged"
QT_MOC_LITERAL(39, 565, 14), // "QItemSelection"
QT_MOC_LITERAL(40, 580, 8), // "selected"
QT_MOC_LITERAL(41, 589, 10), // "deselected"
QT_MOC_LITERAL(42, 600, 11), // "columnCount"
QT_MOC_LITERAL(43, 612, 17) // "topLevelItemCount"

    },
    "QTreeWidget\0itemPressed\0\0QTreeWidgetItem*\0"
    "item\0column\0itemClicked\0itemDoubleClicked\0"
    "itemActivated\0itemEntered\0itemChanged\0"
    "itemExpanded\0itemCollapsed\0"
    "currentItemChanged\0current\0previous\0"
    "itemSelectionChanged\0scrollToItem\0"
    "const QTreeWidgetItem*\0"
    "QAbstractItemView::ScrollHint\0hint\0"
    "expandItem\0collapseItem\0clear\0"
    "_q_emitItemPressed\0index\0_q_emitItemClicked\0"
    "_q_emitItemDoubleClicked\0_q_emitItemActivated\0"
    "_q_emitItemEntered\0_q_emitItemChanged\0"
    "_q_emitItemExpanded\0_q_emitItemCollapsed\0"
    "_q_emitCurrentItemChanged\0_q_sort\0"
    "_q_dataChanged\0topLeft\0bottomRight\0"
    "_q_selectionChanged\0QItemSelection\0"
    "selected\0deselected\0columnCount\0"
    "topLevelItemCount"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QTreeWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  149,    2, 0x06 /* Public */,
       6,    2,  154,    2, 0x06 /* Public */,
       7,    2,  159,    2, 0x06 /* Public */,
       8,    2,  164,    2, 0x06 /* Public */,
       9,    2,  169,    2, 0x06 /* Public */,
      10,    2,  174,    2, 0x06 /* Public */,
      11,    1,  179,    2, 0x06 /* Public */,
      12,    1,  182,    2, 0x06 /* Public */,
      13,    2,  185,    2, 0x06 /* Public */,
      16,    0,  190,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    2,  191,    2, 0x0a /* Public */,
      17,    1,  196,    2, 0x2a /* Public | MethodCloned */,
      21,    1,  199,    2, 0x0a /* Public */,
      22,    1,  202,    2, 0x0a /* Public */,
      23,    0,  205,    2, 0x0a /* Public */,
      24,    1,  206,    2, 0x08 /* Private */,
      26,    1,  209,    2, 0x08 /* Private */,
      27,    1,  212,    2, 0x08 /* Private */,
      28,    1,  215,    2, 0x08 /* Private */,
      29,    1,  218,    2, 0x08 /* Private */,
      30,    1,  221,    2, 0x08 /* Private */,
      31,    1,  224,    2, 0x08 /* Private */,
      32,    1,  227,    2, 0x08 /* Private */,
      33,    2,  230,    2, 0x08 /* Private */,
      34,    0,  235,    2, 0x08 /* Private */,
      35,    2,  236,    2, 0x08 /* Private */,
      38,    2,  241,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,   14,   15,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 18, 0x80000000 | 19,    4,   20,
    QMetaType::Void, 0x80000000 | 18,    4,
    QMetaType::Void, 0x80000000 | 18,    4,
    QMetaType::Void, 0x80000000 | 18,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   15,   14,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   36,   37,
    QMetaType::Void, 0x80000000 | 39, 0x80000000 | 39,   40,   41,

 // properties: name, type, flags
      42, QMetaType::Int, 0x00095103,
      43, QMetaType::Int, 0x00095001,

       0        // eod
};

void QTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QTreeWidget *_t = static_cast<QTreeWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->itemPressed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->itemClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->itemDoubleClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->itemActivated((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->itemEntered((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->itemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->itemExpanded((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 7: _t->itemCollapsed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 8: _t->currentItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
        case 9: _t->itemSelectionChanged(); break;
        case 10: _t->scrollToItem((*reinterpret_cast< const QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QAbstractItemView::ScrollHint(*)>(_a[2]))); break;
        case 11: _t->scrollToItem((*reinterpret_cast< const QTreeWidgetItem*(*)>(_a[1]))); break;
        case 12: _t->expandItem((*reinterpret_cast< const QTreeWidgetItem*(*)>(_a[1]))); break;
        case 13: _t->collapseItem((*reinterpret_cast< const QTreeWidgetItem*(*)>(_a[1]))); break;
        case 14: _t->clear(); break;
        case 15: _t->d_func()->_q_emitItemPressed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 16: _t->d_func()->_q_emitItemClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 17: _t->d_func()->_q_emitItemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 18: _t->d_func()->_q_emitItemActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 19: _t->d_func()->_q_emitItemEntered((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 20: _t->d_func()->_q_emitItemChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 21: _t->d_func()->_q_emitItemExpanded((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 22: _t->d_func()->_q_emitItemCollapsed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 23: _t->d_func()->_q_emitCurrentItemChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 24: _t->d_func()->_q_sort(); break;
        case 25: _t->d_func()->_q_dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 26: _t->d_func()->_q_selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 26:
            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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemPressed)) {
                *result = 0;
            }
        }
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemClicked)) {
                *result = 1;
            }
        }
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemDoubleClicked)) {
                *result = 2;
            }
        }
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemActivated)) {
                *result = 3;
            }
        }
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemEntered)) {
                *result = 4;
            }
        }
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemExpanded)) {
                *result = 6;
            }
        }
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemCollapsed)) {
                *result = 7;
            }
        }
        {
            typedef void (QTreeWidget::*_t)(QTreeWidgetItem * , QTreeWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::currentItemChanged)) {
                *result = 8;
            }
        }
        {
            typedef void (QTreeWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeWidget::itemSelectionChanged)) {
                *result = 9;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QTreeWidget *_t = static_cast<QTreeWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->columnCount(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->topLevelItemCount(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QTreeWidget *_t = static_cast<QTreeWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setColumnCount(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QTreeWidget::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_QTreeWidget.data,
      qt_meta_data_QTreeWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QTreeWidget::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 < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QTreeWidget::itemPressed(QTreeWidgetItem * _t1, int _t2)
{
    void *_a[] = { Q_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 QTreeWidget::itemClicked(QTreeWidgetItem * _t1, int _t2)
{
    void *_a[] = { Q_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 QTreeWidget::itemDoubleClicked(QTreeWidgetItem * _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QTreeWidget::itemActivated(QTreeWidgetItem * _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QTreeWidget::itemEntered(QTreeWidgetItem * _t1, int _t2)
{
    void *_a[] = { Q_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 QTreeWidget::itemChanged(QTreeWidgetItem * _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void QTreeWidget::itemExpanded(QTreeWidgetItem * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void QTreeWidget::itemCollapsed(QTreeWidgetItem * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void QTreeWidget::currentItemChanged(QTreeWidgetItem * _t1, QTreeWidgetItem * _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void QTreeWidget::itemSelectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
