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

#include "../../../../src/qtbase-opensource-src-5.4.2/src/widgets/itemviews/qheaderview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qheaderview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_QHeaderView_t {
    QByteArrayData data[53];
    char stringdata[791];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QHeaderView_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QHeaderView_t qt_meta_stringdata_QHeaderView = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QHeaderView"
QT_MOC_LITERAL(1, 12, 12), // "sectionMoved"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 12), // "logicalIndex"
QT_MOC_LITERAL(4, 39, 14), // "oldVisualIndex"
QT_MOC_LITERAL(5, 54, 14), // "newVisualIndex"
QT_MOC_LITERAL(6, 69, 14), // "sectionResized"
QT_MOC_LITERAL(7, 84, 7), // "oldSize"
QT_MOC_LITERAL(8, 92, 7), // "newSize"
QT_MOC_LITERAL(9, 100, 14), // "sectionPressed"
QT_MOC_LITERAL(10, 115, 14), // "sectionClicked"
QT_MOC_LITERAL(11, 130, 14), // "sectionEntered"
QT_MOC_LITERAL(12, 145, 20), // "sectionDoubleClicked"
QT_MOC_LITERAL(13, 166, 19), // "sectionCountChanged"
QT_MOC_LITERAL(14, 186, 8), // "oldCount"
QT_MOC_LITERAL(15, 195, 8), // "newCount"
QT_MOC_LITERAL(16, 204, 26), // "sectionHandleDoubleClicked"
QT_MOC_LITERAL(17, 231, 17), // "geometriesChanged"
QT_MOC_LITERAL(18, 249, 20), // "sortIndicatorChanged"
QT_MOC_LITERAL(19, 270, 13), // "Qt::SortOrder"
QT_MOC_LITERAL(20, 284, 5), // "order"
QT_MOC_LITERAL(21, 290, 9), // "setOffset"
QT_MOC_LITERAL(22, 300, 6), // "offset"
QT_MOC_LITERAL(23, 307, 26), // "setOffsetToSectionPosition"
QT_MOC_LITERAL(24, 334, 11), // "visualIndex"
QT_MOC_LITERAL(25, 346, 22), // "setOffsetToLastSection"
QT_MOC_LITERAL(26, 369, 17), // "headerDataChanged"
QT_MOC_LITERAL(27, 387, 15), // "Qt::Orientation"
QT_MOC_LITERAL(28, 403, 11), // "orientation"
QT_MOC_LITERAL(29, 415, 12), // "logicalFirst"
QT_MOC_LITERAL(30, 428, 11), // "logicalLast"
QT_MOC_LITERAL(31, 440, 13), // "updateSection"
QT_MOC_LITERAL(32, 454, 14), // "resizeSections"
QT_MOC_LITERAL(33, 469, 16), // "sectionsInserted"
QT_MOC_LITERAL(34, 486, 6), // "parent"
QT_MOC_LITERAL(35, 493, 24), // "sectionsAboutToBeRemoved"
QT_MOC_LITERAL(36, 518, 18), // "_q_sectionsRemoved"
QT_MOC_LITERAL(37, 537, 25), // "_q_layoutAboutToBeChanged"
QT_MOC_LITERAL(38, 563, 17), // "showSortIndicator"
QT_MOC_LITERAL(39, 581, 17), // "highlightSections"
QT_MOC_LITERAL(40, 599, 18), // "stretchLastSection"
QT_MOC_LITERAL(41, 618, 23), // "cascadingSectionResizes"
QT_MOC_LITERAL(42, 642, 18), // "defaultSectionSize"
QT_MOC_LITERAL(43, 661, 18), // "minimumSectionSize"
QT_MOC_LITERAL(44, 680, 18), // "maximumSectionSize"
QT_MOC_LITERAL(45, 699, 16), // "defaultAlignment"
QT_MOC_LITERAL(46, 716, 13), // "Qt::Alignment"
QT_MOC_LITERAL(47, 730, 10), // "ResizeMode"
QT_MOC_LITERAL(48, 741, 11), // "Interactive"
QT_MOC_LITERAL(49, 753, 7), // "Stretch"
QT_MOC_LITERAL(50, 761, 5), // "Fixed"
QT_MOC_LITERAL(51, 767, 16), // "ResizeToContents"
QT_MOC_LITERAL(52, 784, 6) // "Custom"

    },
    "QHeaderView\0sectionMoved\0\0logicalIndex\0"
    "oldVisualIndex\0newVisualIndex\0"
    "sectionResized\0oldSize\0newSize\0"
    "sectionPressed\0sectionClicked\0"
    "sectionEntered\0sectionDoubleClicked\0"
    "sectionCountChanged\0oldCount\0newCount\0"
    "sectionHandleDoubleClicked\0geometriesChanged\0"
    "sortIndicatorChanged\0Qt::SortOrder\0"
    "order\0setOffset\0offset\0"
    "setOffsetToSectionPosition\0visualIndex\0"
    "setOffsetToLastSection\0headerDataChanged\0"
    "Qt::Orientation\0orientation\0logicalFirst\0"
    "logicalLast\0updateSection\0resizeSections\0"
    "sectionsInserted\0parent\0"
    "sectionsAboutToBeRemoved\0_q_sectionsRemoved\0"
    "_q_layoutAboutToBeChanged\0showSortIndicator\0"
    "highlightSections\0stretchLastSection\0"
    "cascadingSectionResizes\0defaultSectionSize\0"
    "minimumSectionSize\0maximumSectionSize\0"
    "defaultAlignment\0Qt::Alignment\0"
    "ResizeMode\0Interactive\0Stretch\0Fixed\0"
    "ResizeToContents\0Custom"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QHeaderView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,  114,    2, 0x06 /* Public */,
       6,    3,  121,    2, 0x06 /* Public */,
       9,    1,  128,    2, 0x06 /* Public */,
      10,    1,  131,    2, 0x06 /* Public */,
      11,    1,  134,    2, 0x06 /* Public */,
      12,    1,  137,    2, 0x06 /* Public */,
      13,    2,  140,    2, 0x06 /* Public */,
      16,    1,  145,    2, 0x06 /* Public */,
      17,    0,  148,    2, 0x06 /* Public */,
      18,    2,  149,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      21,    1,  154,    2, 0x0a /* Public */,
      23,    1,  157,    2, 0x0a /* Public */,
      25,    0,  160,    2, 0x0a /* Public */,
      26,    3,  161,    2, 0x0a /* Public */,
      31,    1,  168,    2, 0x09 /* Protected */,
      32,    0,  171,    2, 0x09 /* Protected */,
      33,    3,  172,    2, 0x09 /* Protected */,
      35,    3,  179,    2, 0x09 /* Protected */,
      36,    3,  186,    2, 0x08 /* Private */,
      37,    0,  193,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   22,
    QMetaType::Void, QMetaType::Int,   24,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 27, QMetaType::Int, QMetaType::Int,   28,   29,   30,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   34,   29,   30,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   34,   29,   30,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   34,   29,   30,
    QMetaType::Void,

 // properties: name, type, flags
      38, QMetaType::Bool, 0x00095003,
      39, QMetaType::Bool, 0x00095103,
      40, QMetaType::Bool, 0x00095103,
      41, QMetaType::Bool, 0x00095103,
      42, QMetaType::Int, 0x00095103,
      43, QMetaType::Int, 0x00095103,
      44, QMetaType::Int, 0x00095103,
      45, 0x80000000 | 46, 0x0009510b,

 // enums: name, flags, count, data
      47, 0x0,    5,  222,

 // enum data: key, value
      48, uint(QHeaderView::Interactive),
      49, uint(QHeaderView::Stretch),
      50, uint(QHeaderView::Fixed),
      51, uint(QHeaderView::ResizeToContents),
      52, uint(QHeaderView::Custom),

       0        // eod
};

void QHeaderView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QHeaderView *_t = static_cast<QHeaderView *>(_o);
        switch (_id) {
        case 0: _t->sectionMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: _t->sectionResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 2: _t->sectionPressed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->sectionClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->sectionEntered((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->sectionDoubleClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->sectionCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->sectionHandleDoubleClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->geometriesChanged(); break;
        case 9: _t->sortIndicatorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
        case 10: _t->setOffset((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setOffsetToSectionPosition((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->setOffsetToLastSection(); break;
        case 13: _t->headerDataChanged((*reinterpret_cast< Qt::Orientation(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 14: _t->updateSection((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->resizeSections(); break;
        case 16: _t->sectionsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 17: _t->sectionsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 18: _t->d_func()->_q_sectionsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 19: _t->d_func()->_q_layoutAboutToBeChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QHeaderView::*_t)(int , int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sectionMoved)) {
                *result = 0;
            }
        }
        {
            typedef void (QHeaderView::*_t)(int , int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sectionResized)) {
                *result = 1;
            }
        }
        {
            typedef void (QHeaderView::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sectionPressed)) {
                *result = 2;
            }
        }
        {
            typedef void (QHeaderView::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sectionClicked)) {
                *result = 3;
            }
        }
        {
            typedef void (QHeaderView::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sectionEntered)) {
                *result = 4;
            }
        }
        {
            typedef void (QHeaderView::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sectionDoubleClicked)) {
                *result = 5;
            }
        }
        {
            typedef void (QHeaderView::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sectionCountChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (QHeaderView::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sectionHandleDoubleClicked)) {
                *result = 7;
            }
        }
        {
            typedef void (QHeaderView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::geometriesChanged)) {
                *result = 8;
            }
        }
        {
            typedef void (QHeaderView::*_t)(int , Qt::SortOrder );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QHeaderView::sortIndicatorChanged)) {
                *result = 9;
            }
        }
    }
}

const QMetaObject QHeaderView::staticMetaObject = {
    { &QAbstractItemView::staticMetaObject, qt_meta_stringdata_QHeaderView.data,
      qt_meta_data_QHeaderView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QHeaderView::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 < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 20;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = isSortIndicatorShown(); break;
        case 1: *reinterpret_cast< bool*>(_v) = highlightSections(); break;
        case 2: *reinterpret_cast< bool*>(_v) = stretchLastSection(); break;
        case 3: *reinterpret_cast< bool*>(_v) = cascadingSectionResizes(); break;
        case 4: *reinterpret_cast< int*>(_v) = defaultSectionSize(); break;
        case 5: *reinterpret_cast< int*>(_v) = minimumSectionSize(); break;
        case 6: *reinterpret_cast< int*>(_v) = maximumSectionSize(); break;
        case 7: *reinterpret_cast< Qt::Alignment*>(_v) = defaultAlignment(); break;
        default: break;
        }
        _id -= 8;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setSortIndicatorShown(*reinterpret_cast< bool*>(_v)); break;
        case 1: setHighlightSections(*reinterpret_cast< bool*>(_v)); break;
        case 2: setStretchLastSection(*reinterpret_cast< bool*>(_v)); break;
        case 3: setCascadingSectionResizes(*reinterpret_cast< bool*>(_v)); break;
        case 4: setDefaultSectionSize(*reinterpret_cast< int*>(_v)); break;
        case 5: setMinimumSectionSize(*reinterpret_cast< int*>(_v)); break;
        case 6: setMaximumSectionSize(*reinterpret_cast< int*>(_v)); break;
        case 7: setDefaultAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        default: break;
        }
        _id -= 8;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QHeaderView::sectionMoved(int _t1, int _t2, int _t3)
{
    void *_a[] = { Q_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 QHeaderView::sectionResized(int _t1, int _t2, int _t3)
{
    void *_a[] = { Q_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, 1, _a);
}

// SIGNAL 2
void QHeaderView::sectionPressed(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void QHeaderView::sectionEntered(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void QHeaderView::sectionDoubleClicked(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void QHeaderView::sectionCountChanged(int _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, 6, _a);
}

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

// SIGNAL 8
void QHeaderView::geometriesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void QHeaderView::sortIndicatorChanged(int _t1, Qt::SortOrder _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, 9, _a);
}
QT_END_MOC_NAMESPACE
