/****************************************************************************
** Meta object code from reading C++ file 'qtreeview.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/qtreeview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtreeview.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_QTreeView_t {
    QByteArrayData data[44];
    char stringdata0[533];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QTreeView_t qt_meta_stringdata_QTreeView = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QTreeView"
QT_MOC_LITERAL(1, 10, 8), // "expanded"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 5), // "index"
QT_MOC_LITERAL(4, 26, 9), // "collapsed"
QT_MOC_LITERAL(5, 36, 10), // "hideColumn"
QT_MOC_LITERAL(6, 47, 6), // "column"
QT_MOC_LITERAL(7, 54, 10), // "showColumn"
QT_MOC_LITERAL(8, 65, 6), // "expand"
QT_MOC_LITERAL(9, 72, 8), // "collapse"
QT_MOC_LITERAL(10, 81, 22), // "resizeColumnToContents"
QT_MOC_LITERAL(11, 104, 12), // "sortByColumn"
QT_MOC_LITERAL(12, 117, 9), // "expandAll"
QT_MOC_LITERAL(13, 127, 11), // "collapseAll"
QT_MOC_LITERAL(14, 139, 13), // "expandToDepth"
QT_MOC_LITERAL(15, 153, 5), // "depth"
QT_MOC_LITERAL(16, 159, 13), // "columnResized"
QT_MOC_LITERAL(17, 173, 7), // "oldSize"
QT_MOC_LITERAL(18, 181, 7), // "newSize"
QT_MOC_LITERAL(19, 189, 18), // "columnCountChanged"
QT_MOC_LITERAL(20, 208, 8), // "oldCount"
QT_MOC_LITERAL(21, 217, 8), // "newCount"
QT_MOC_LITERAL(22, 226, 11), // "columnMoved"
QT_MOC_LITERAL(23, 238, 8), // "reexpand"
QT_MOC_LITERAL(24, 247, 11), // "rowsRemoved"
QT_MOC_LITERAL(25, 259, 6), // "parent"
QT_MOC_LITERAL(26, 266, 5), // "first"
QT_MOC_LITERAL(27, 272, 4), // "last"
QT_MOC_LITERAL(28, 277, 23), // "_q_endAnimatedOperation"
QT_MOC_LITERAL(29, 301, 22), // "_q_modelAboutToBeReset"
QT_MOC_LITERAL(30, 324, 23), // "_q_sortIndicatorChanged"
QT_MOC_LITERAL(31, 348, 13), // "Qt::SortOrder"
QT_MOC_LITERAL(32, 362, 5), // "order"
QT_MOC_LITERAL(33, 368, 15), // "autoExpandDelay"
QT_MOC_LITERAL(34, 384, 11), // "indentation"
QT_MOC_LITERAL(35, 396, 15), // "rootIsDecorated"
QT_MOC_LITERAL(36, 412, 17), // "uniformRowHeights"
QT_MOC_LITERAL(37, 430, 15), // "itemsExpandable"
QT_MOC_LITERAL(38, 446, 14), // "sortingEnabled"
QT_MOC_LITERAL(39, 461, 8), // "animated"
QT_MOC_LITERAL(40, 470, 19), // "allColumnsShowFocus"
QT_MOC_LITERAL(41, 490, 8), // "wordWrap"
QT_MOC_LITERAL(42, 499, 12), // "headerHidden"
QT_MOC_LITERAL(43, 512, 20) // "expandsOnDoubleClick"

    },
    "QTreeView\0expanded\0\0index\0collapsed\0"
    "hideColumn\0column\0showColumn\0expand\0"
    "collapse\0resizeColumnToContents\0"
    "sortByColumn\0expandAll\0collapseAll\0"
    "expandToDepth\0depth\0columnResized\0"
    "oldSize\0newSize\0columnCountChanged\0"
    "oldCount\0newCount\0columnMoved\0reexpand\0"
    "rowsRemoved\0parent\0first\0last\0"
    "_q_endAnimatedOperation\0_q_modelAboutToBeReset\0"
    "_q_sortIndicatorChanged\0Qt::SortOrder\0"
    "order\0autoExpandDelay\0indentation\0"
    "rootIsDecorated\0uniformRowHeights\0"
    "itemsExpandable\0sortingEnabled\0animated\0"
    "allColumnsShowFocus\0wordWrap\0headerHidden\0"
    "expandsOnDoubleClick"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  109,    2, 0x06 /* Public */,
       4,    1,  112,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,  115,    2, 0x0a /* Public */,
       7,    1,  118,    2, 0x0a /* Public */,
       8,    1,  121,    2, 0x0a /* Public */,
       9,    1,  124,    2, 0x0a /* Public */,
      10,    1,  127,    2, 0x0a /* Public */,
      11,    1,  130,    2, 0x0a /* Public */,
      12,    0,  133,    2, 0x0a /* Public */,
      13,    0,  134,    2, 0x0a /* Public */,
      14,    1,  135,    2, 0x0a /* Public */,
      16,    3,  138,    2, 0x09 /* Protected */,
      19,    2,  145,    2, 0x09 /* Protected */,
      22,    0,  150,    2, 0x09 /* Protected */,
      23,    0,  151,    2, 0x09 /* Protected */,
      24,    3,  152,    2, 0x09 /* Protected */,
      28,    0,  159,    2, 0x08 /* Private */,
      29,    0,  160,    2, 0x08 /* Private */,
      30,    2,  161,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    6,   17,   18,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   20,   21,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   25,   26,   27,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 31,    6,   32,

 // properties: name, type, flags
      33, QMetaType::Int, 0x00095103,
      34, QMetaType::Int, 0x00095107,
      35, QMetaType::Bool, 0x00095103,
      36, QMetaType::Bool, 0x00095103,
      37, QMetaType::Bool, 0x00095103,
      38, QMetaType::Bool, 0x00095103,
      39, QMetaType::Bool, 0x00095103,
      40, QMetaType::Bool, 0x00095103,
      41, QMetaType::Bool, 0x00095103,
      42, QMetaType::Bool, 0x00095103,
      43, QMetaType::Bool, 0x00095103,

       0        // eod
};

void QTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QTreeView *_t = static_cast<QTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->expanded((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 1: _t->collapsed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->hideColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->showColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->expand((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 5: _t->collapse((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 6: _t->resizeColumnToContents((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->sortByColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->expandAll(); break;
        case 9: _t->collapseAll(); break;
        case 10: _t->expandToDepth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->columnResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 12: _t->columnCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 13: _t->columnMoved(); break;
        case 14: _t->reexpand(); break;
        case 15: _t->rowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 16: _t->d_func()->_q_endAnimatedOperation(); break;
        case 17: _t->d_func()->_q_modelAboutToBeReset(); break;
        case 18: _t->d_func()->_q_sortIndicatorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QTreeView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeView::expanded)) {
                *result = 0;
            }
        }
        {
            typedef void (QTreeView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTreeView::collapsed)) {
                *result = 1;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QTreeView *_t = static_cast<QTreeView *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->autoExpandDelay(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->indentation(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->rootIsDecorated(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->uniformRowHeights(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->itemsExpandable(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isSortingEnabled(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isAnimated(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->allColumnsShowFocus(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->wordWrap(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->isHeaderHidden(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->expandsOnDoubleClick(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QTreeView *_t = static_cast<QTreeView *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAutoExpandDelay(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setIndentation(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setRootIsDecorated(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setUniformRowHeights(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setItemsExpandable(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setSortingEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setAnimated(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setAllColumnsShowFocus(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setWordWrap(*reinterpret_cast< bool*>(_v)); break;
        case 9: _t->setHeaderHidden(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setExpandsOnDoubleClick(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QTreeView *_t = static_cast<QTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 1: _t->resetIndentation(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QTreeView::staticMetaObject = {
    { &QAbstractItemView::staticMetaObject, qt_meta_stringdata_QTreeView.data,
      qt_meta_data_QTreeView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QTreeView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemView::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
#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 -= 11;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 11;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QTreeView::expanded(const QModelIndex & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QTreeView::collapsed(const QModelIndex & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
