/****************************************************************************
** Meta object code from reading C++ file 'skgtreeview.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/skrooge-2.12.0/skgbasegui/skgtreeview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'skgtreeview.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_SKGTreeView_t {
    QByteArrayData data[51];
    char stringdata0[714];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SKGTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SKGTreeView_t qt_meta_stringdata_SKGTreeView = {
    {
QT_MOC_LITERAL(0, 0, 11), // "SKGTreeView"
QT_MOC_LITERAL(1, 12, 14), // "clickEmptyArea"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 23), // "selectionChangedDelayed"
QT_MOC_LITERAL(4, 52, 11), // "zoomChanged"
QT_MOC_LITERAL(5, 64, 13), // "iZoomPosition"
QT_MOC_LITERAL(6, 78, 16), // "setTextResizable"
QT_MOC_LITERAL(7, 95, 9), // "resizable"
QT_MOC_LITERAL(8, 105, 15), // "setZoomPosition"
QT_MOC_LITERAL(9, 121, 12), // "zoomPosition"
QT_MOC_LITERAL(10, 134, 13), // "saveSelection"
QT_MOC_LITERAL(11, 148, 14), // "resetSelection"
QT_MOC_LITERAL(12, 163, 17), // "scroolOnSelection"
QT_MOC_LITERAL(13, 181, 12), // "selectObject"
QT_MOC_LITERAL(14, 194, 9), // "iUniqueID"
QT_MOC_LITERAL(15, 204, 13), // "selectObjects"
QT_MOC_LITERAL(16, 218, 10), // "iUniqueIDs"
QT_MOC_LITERAL(17, 229, 16), // "iFocusOnFirstOne"
QT_MOC_LITERAL(18, 246, 23), // "setAlternatingRowColors"
QT_MOC_LITERAL(19, 270, 6), // "enable"
QT_MOC_LITERAL(20, 277, 17), // "resetColumnsOrder"
QT_MOC_LITERAL(21, 295, 23), // "resizeColumnsToContents"
QT_MOC_LITERAL(22, 319, 30), // "resizeColumnsToContentsDelayed"
QT_MOC_LITERAL(23, 350, 18), // "onSelectionChanged"
QT_MOC_LITERAL(24, 369, 9), // "expandAll"
QT_MOC_LITERAL(25, 379, 4), // "copy"
QT_MOC_LITERAL(26, 384, 16), // "switchAutoResize"
QT_MOC_LITERAL(27, 401, 8), // "onExport"
QT_MOC_LITERAL(28, 410, 15), // "setupHeaderMenu"
QT_MOC_LITERAL(29, 426, 14), // "showHeaderMenu"
QT_MOC_LITERAL(30, 441, 4), // "iPos"
QT_MOC_LITERAL(31, 446, 14), // "showHideColumn"
QT_MOC_LITERAL(32, 461, 18), // "respanFirstColumns"
QT_MOC_LITERAL(33, 480, 21), // "refreshExpandCollapse"
QT_MOC_LITERAL(34, 502, 12), // "changeSchema"
QT_MOC_LITERAL(35, 515, 18), // "saveDefaultClicked"
QT_MOC_LITERAL(36, 534, 14), // "groupByChanged"
QT_MOC_LITERAL(37, 549, 8), // "QAction*"
QT_MOC_LITERAL(38, 558, 13), // "onSortChanged"
QT_MOC_LITERAL(39, 572, 13), // "Qt::SortOrder"
QT_MOC_LITERAL(40, 586, 8), // "onExpand"
QT_MOC_LITERAL(41, 595, 5), // "index"
QT_MOC_LITERAL(42, 601, 10), // "onCollapse"
QT_MOC_LITERAL(43, 612, 7), // "onClick"
QT_MOC_LITERAL(44, 620, 17), // "onActionTriggered"
QT_MOC_LITERAL(45, 638, 6), // "action"
QT_MOC_LITERAL(46, 645, 14), // "onRangeChanged"
QT_MOC_LITERAL(47, 660, 21), // "rebuildContextualMenu"
QT_MOC_LITERAL(48, 682, 5), // "state"
QT_MOC_LITERAL(49, 688, 13), // "textResizable"
QT_MOC_LITERAL(50, 702, 11) // "autoResized"

    },
    "SKGTreeView\0clickEmptyArea\0\0"
    "selectionChangedDelayed\0zoomChanged\0"
    "iZoomPosition\0setTextResizable\0resizable\0"
    "setZoomPosition\0zoomPosition\0saveSelection\0"
    "resetSelection\0scroolOnSelection\0"
    "selectObject\0iUniqueID\0selectObjects\0"
    "iUniqueIDs\0iFocusOnFirstOne\0"
    "setAlternatingRowColors\0enable\0"
    "resetColumnsOrder\0resizeColumnsToContents\0"
    "resizeColumnsToContentsDelayed\0"
    "onSelectionChanged\0expandAll\0copy\0"
    "switchAutoResize\0onExport\0setupHeaderMenu\0"
    "showHeaderMenu\0iPos\0showHideColumn\0"
    "respanFirstColumns\0refreshExpandCollapse\0"
    "changeSchema\0saveDefaultClicked\0"
    "groupByChanged\0QAction*\0onSortChanged\0"
    "Qt::SortOrder\0onExpand\0index\0onCollapse\0"
    "onClick\0onActionTriggered\0action\0"
    "onRangeChanged\0rebuildContextualMenu\0"
    "state\0textResizable\0autoResized"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SKGTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  199,    2, 0x06 /* Public */,
       3,    0,  200,    2, 0x06 /* Public */,
       4,    1,  201,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  204,    2, 0x0a /* Public */,
       8,    1,  207,    2, 0x0a /* Public */,
       9,    0,  210,    2, 0x0a /* Public */,
      10,    0,  211,    2, 0x0a /* Public */,
      11,    0,  212,    2, 0x0a /* Public */,
      12,    0,  213,    2, 0x0a /* Public */,
      13,    1,  214,    2, 0x0a /* Public */,
      15,    2,  217,    2, 0x0a /* Public */,
      15,    1,  222,    2, 0x2a /* Public | MethodCloned */,
      18,    1,  225,    2, 0x0a /* Public */,
      20,    0,  228,    2, 0x0a /* Public */,
      21,    0,  229,    2, 0x0a /* Public */,
      22,    0,  230,    2, 0x0a /* Public */,
      23,    0,  231,    2, 0x0a /* Public */,
      24,    0,  232,    2, 0x0a /* Public */,
      25,    0,  233,    2, 0x0a /* Public */,
      26,    0,  234,    2, 0x0a /* Public */,
      27,    0,  235,    2, 0x08 /* Private */,
      28,    0,  236,    2, 0x08 /* Private */,
      29,    0,  237,    2, 0x08 /* Private */,
      29,    1,  238,    2, 0x08 /* Private */,
      31,    0,  241,    2, 0x08 /* Private */,
      32,    0,  242,    2, 0x08 /* Private */,
      33,    0,  243,    2, 0x08 /* Private */,
      34,    0,  244,    2, 0x08 /* Private */,
      35,    0,  245,    2, 0x08 /* Private */,
      36,    1,  246,    2, 0x08 /* Private */,
      38,    2,  249,    2, 0x08 /* Private */,
      40,    1,  254,    2, 0x08 /* Private */,
      42,    1,  257,    2, 0x08 /* Private */,
      43,    1,  260,    2, 0x08 /* Private */,
      44,    1,  263,    2, 0x08 /* Private */,
      46,    0,  266,    2, 0x08 /* Private */,
      47,    0,  267,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Int,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QStringList, QMetaType::Bool,   16,   17,
    QMetaType::Void, QMetaType::QStringList,   16,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 37,    2,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 39,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex,   41,
    QMetaType::Void, QMetaType::QModelIndex,   41,
    QMetaType::Void, QMetaType::QModelIndex,   41,
    QMetaType::Void, QMetaType::Int,   45,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      48, QMetaType::QString, 0x00195103,
      49, QMetaType::Bool, 0x00095103,
      50, QMetaType::Bool, 0x00095001,

       0        // eod
};

void SKGTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SKGTreeView *_t = static_cast<SKGTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->clickEmptyArea(); break;
        case 1: _t->selectionChangedDelayed(); break;
        case 2: _t->zoomChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setTextResizable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->setZoomPosition((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: { int _r = _t->zoomPosition();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->saveSelection(); break;
        case 7: _t->resetSelection(); break;
        case 8: _t->scroolOnSelection(); break;
        case 9: _t->selectObject((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->selectObjects((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 11: _t->selectObjects((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 12: _t->setAlternatingRowColors((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->resetColumnsOrder(); break;
        case 14: _t->resizeColumnsToContents(); break;
        case 15: _t->resizeColumnsToContentsDelayed(); break;
        case 16: _t->onSelectionChanged(); break;
        case 17: _t->expandAll(); break;
        case 18: _t->copy(); break;
        case 19: _t->switchAutoResize(); break;
        case 20: _t->onExport(); break;
        case 21: _t->setupHeaderMenu(); break;
        case 22: _t->showHeaderMenu(); break;
        case 23: _t->showHeaderMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 24: _t->showHideColumn(); break;
        case 25: _t->respanFirstColumns(); break;
        case 26: _t->refreshExpandCollapse(); break;
        case 27: _t->changeSchema(); break;
        case 28: _t->saveDefaultClicked(); break;
        case 29: _t->groupByChanged((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 30: _t->onSortChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
        case 31: _t->onExpand((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 32: _t->onCollapse((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 33: _t->onClick((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 34: _t->onActionTriggered((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 35: _t->onRangeChanged(); break;
        case 36: _t->rebuildContextualMenu(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 29:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SKGTreeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SKGTreeView::clickEmptyArea)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SKGTreeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SKGTreeView::selectionChangedDelayed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SKGTreeView::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SKGTreeView::zoomChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SKGTreeView *_t = static_cast<SKGTreeView *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->getState(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isTextResizable(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isAutoResized(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SKGTreeView *_t = static_cast<SKGTreeView *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setState(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setTextResizable(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject SKGTreeView::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_SKGTreeView.data,
      qt_meta_data_SKGTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int SKGTreeView::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 < 37)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 37;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 37)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 37;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void SKGTreeView::clickEmptyArea()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void SKGTreeView::selectionChangedDelayed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void SKGTreeView::zoomChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
