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

#include "../../src/skrooge-2.10.5/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.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_SKGTreeView_t {
    QByteArrayData data[52];
    char stringdata0[732];
};
#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), // "isTextResizable"
QT_MOC_LITERAL(9, 121, 15), // "setZoomPosition"
QT_MOC_LITERAL(10, 137, 12), // "zoomPosition"
QT_MOC_LITERAL(11, 150, 13), // "saveSelection"
QT_MOC_LITERAL(12, 164, 14), // "resetSelection"
QT_MOC_LITERAL(13, 179, 17), // "scroolOnSelection"
QT_MOC_LITERAL(14, 197, 12), // "selectObject"
QT_MOC_LITERAL(15, 210, 9), // "iUniqueID"
QT_MOC_LITERAL(16, 220, 13), // "selectObjects"
QT_MOC_LITERAL(17, 234, 10), // "iUniqueIDs"
QT_MOC_LITERAL(18, 245, 16), // "iFocusOnFirstOne"
QT_MOC_LITERAL(19, 262, 23), // "setAlternatingRowColors"
QT_MOC_LITERAL(20, 286, 6), // "enable"
QT_MOC_LITERAL(21, 293, 17), // "resetColumnsOrder"
QT_MOC_LITERAL(22, 311, 23), // "resizeColumnsToContents"
QT_MOC_LITERAL(23, 335, 30), // "resizeColumnsToContentsDelayed"
QT_MOC_LITERAL(24, 366, 18), // "onSelectionChanged"
QT_MOC_LITERAL(25, 385, 9), // "expandAll"
QT_MOC_LITERAL(26, 395, 4), // "copy"
QT_MOC_LITERAL(27, 400, 16), // "switchAutoResize"
QT_MOC_LITERAL(28, 417, 8), // "onExport"
QT_MOC_LITERAL(29, 426, 15), // "setupHeaderMenu"
QT_MOC_LITERAL(30, 442, 14), // "showHeaderMenu"
QT_MOC_LITERAL(31, 457, 4), // "iPos"
QT_MOC_LITERAL(32, 462, 14), // "showHideColumn"
QT_MOC_LITERAL(33, 477, 18), // "respanFirstColumns"
QT_MOC_LITERAL(34, 496, 21), // "refreshExpandCollapse"
QT_MOC_LITERAL(35, 518, 12), // "changeSchema"
QT_MOC_LITERAL(36, 531, 18), // "saveDefaultClicked"
QT_MOC_LITERAL(37, 550, 14), // "groupByChanged"
QT_MOC_LITERAL(38, 565, 8), // "QAction*"
QT_MOC_LITERAL(39, 574, 13), // "onSortChanged"
QT_MOC_LITERAL(40, 588, 13), // "Qt::SortOrder"
QT_MOC_LITERAL(41, 602, 8), // "onExpand"
QT_MOC_LITERAL(42, 611, 5), // "index"
QT_MOC_LITERAL(43, 617, 10), // "onCollapse"
QT_MOC_LITERAL(44, 628, 7), // "onClick"
QT_MOC_LITERAL(45, 636, 17), // "onActionTriggered"
QT_MOC_LITERAL(46, 654, 6), // "action"
QT_MOC_LITERAL(47, 661, 14), // "onRangeChanged"
QT_MOC_LITERAL(48, 676, 21), // "rebuildContextualMenu"
QT_MOC_LITERAL(49, 698, 5), // "state"
QT_MOC_LITERAL(50, 704, 15), // "m_textResizable"
QT_MOC_LITERAL(51, 720, 11) // "autoResized"

    },
    "SKGTreeView\0clickEmptyArea\0\0"
    "selectionChangedDelayed\0zoomChanged\0"
    "iZoomPosition\0setTextResizable\0resizable\0"
    "isTextResizable\0setZoomPosition\0"
    "zoomPosition\0saveSelection\0resetSelection\0"
    "scroolOnSelection\0selectObject\0iUniqueID\0"
    "selectObjects\0iUniqueIDs\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\0m_textResizable\0autoResized"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SKGTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  204,    2, 0x06 /* Public */,
       3,    0,  205,    2, 0x06 /* Public */,
       4,    1,  206,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  209,    2, 0x0a /* Public */,
       8,    0,  212,    2, 0x0a /* Public */,
       9,    1,  213,    2, 0x0a /* Public */,
      10,    0,  216,    2, 0x0a /* Public */,
      11,    0,  217,    2, 0x0a /* Public */,
      12,    0,  218,    2, 0x0a /* Public */,
      13,    0,  219,    2, 0x0a /* Public */,
      14,    1,  220,    2, 0x0a /* Public */,
      16,    2,  223,    2, 0x0a /* Public */,
      16,    1,  228,    2, 0x2a /* Public | MethodCloned */,
      19,    1,  231,    2, 0x0a /* Public */,
      21,    0,  234,    2, 0x0a /* Public */,
      22,    0,  235,    2, 0x0a /* Public */,
      23,    0,  236,    2, 0x0a /* Public */,
      24,    0,  237,    2, 0x0a /* Public */,
      25,    0,  238,    2, 0x0a /* Public */,
      26,    0,  239,    2, 0x0a /* Public */,
      27,    0,  240,    2, 0x0a /* Public */,
      28,    0,  241,    2, 0x08 /* Private */,
      29,    0,  242,    2, 0x08 /* Private */,
      30,    0,  243,    2, 0x08 /* Private */,
      30,    1,  244,    2, 0x08 /* Private */,
      32,    0,  247,    2, 0x08 /* Private */,
      33,    0,  248,    2, 0x08 /* Private */,
      34,    0,  249,    2, 0x08 /* Private */,
      35,    0,  250,    2, 0x08 /* Private */,
      36,    0,  251,    2, 0x08 /* Private */,
      37,    1,  252,    2, 0x08 /* Private */,
      39,    2,  255,    2, 0x08 /* Private */,
      41,    1,  260,    2, 0x08 /* Private */,
      43,    1,  263,    2, 0x08 /* Private */,
      44,    1,  266,    2, 0x08 /* Private */,
      45,    1,  269,    2, 0x08 /* Private */,
      47,    0,  272,    2, 0x08 /* Private */,
      48,    0,  273,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Int,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, QMetaType::QStringList, QMetaType::Bool,   17,   18,
    QMetaType::Void, QMetaType::QStringList,   17,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   31,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 38,    2,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 40,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex,   42,
    QMetaType::Void, QMetaType::QModelIndex,   42,
    QMetaType::Void, QMetaType::QModelIndex,   42,
    QMetaType::Void, QMetaType::Int,   46,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      49, QMetaType::QString, 0x00195103,
      50, QMetaType::Bool, 0x00095003,
      51, 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: { bool _r = _t->isTextResizable();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->setZoomPosition((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: { int _r = _t->zoomPosition();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->saveSelection(); break;
        case 8: _t->resetSelection(); break;
        case 9: _t->scroolOnSelection(); break;
        case 10: _t->selectObject((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->selectObjects((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 12: _t->selectObjects((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 13: _t->setAlternatingRowColors((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->resetColumnsOrder(); break;
        case 15: _t->resizeColumnsToContents(); break;
        case 16: _t->resizeColumnsToContentsDelayed(); break;
        case 17: _t->onSelectionChanged(); break;
        case 18: _t->expandAll(); break;
        case 19: _t->copy(); break;
        case 20: _t->switchAutoResize(); break;
        case 21: _t->onExport(); break;
        case 22: _t->setupHeaderMenu(); break;
        case 23: _t->showHeaderMenu(); break;
        case 24: _t->showHeaderMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 25: _t->showHideColumn(); break;
        case 26: _t->respanFirstColumns(); break;
        case 27: _t->refreshExpandCollapse(); break;
        case 28: _t->changeSchema(); break;
        case 29: _t->saveDefaultClicked(); break;
        case 30: _t->groupByChanged((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 31: _t->onSortChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
        case 32: _t->onExpand((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 33: _t->onCollapse((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 34: _t->onClick((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 35: _t->onActionTriggered((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 36: _t->onRangeChanged(); break;
        case 37: _t->rebuildContextualMenu(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 30:
            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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SKGTreeView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SKGTreeView::clickEmptyArea)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SKGTreeView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SKGTreeView::selectionChangedDelayed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SKGTreeView::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == 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 < 38)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 38;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 38)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 38;
    }
#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
