/****************************************************************************
** Meta object code from reading C++ file 'resultstree.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 "../resultstree.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'resultstree.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_ResultsTree_t {
    QByteArrayData data[19];
    char stringdata[231];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ResultsTree_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ResultsTree_t qt_meta_stringdata_ResultsTree = {
    {
QT_MOC_LITERAL(0, 0, 11), // "ResultsTree"
QT_MOC_LITERAL(1, 12, 13), // "ResultsHidden"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 6), // "hidden"
QT_MOC_LITERAL(4, 34, 16), // "SelectionChanged"
QT_MOC_LITERAL(5, 51, 7), // "current"
QT_MOC_LITERAL(6, 59, 21), // "QuickStartApplication"
QT_MOC_LITERAL(7, 81, 5), // "index"
QT_MOC_LITERAL(8, 87, 7), // "Context"
QT_MOC_LITERAL(9, 95, 11), // "application"
QT_MOC_LITERAL(10, 107, 12), // "CopyFilename"
QT_MOC_LITERAL(11, 120, 12), // "CopyFullPath"
QT_MOC_LITERAL(12, 133, 11), // "CopyMessage"
QT_MOC_LITERAL(13, 145, 13), // "CopyMessageId"
QT_MOC_LITERAL(14, 159, 10), // "HideResult"
QT_MOC_LITERAL(15, 170, 15), // "HideAllIdResult"
QT_MOC_LITERAL(16, 186, 20), // "OpenContainingFolder"
QT_MOC_LITERAL(17, 207, 14), // "currentChanged"
QT_MOC_LITERAL(18, 222, 8) // "previous"

    },
    "ResultsTree\0ResultsHidden\0\0hidden\0"
    "SelectionChanged\0current\0QuickStartApplication\0"
    "index\0Context\0application\0CopyFilename\0"
    "CopyFullPath\0CopyMessage\0CopyMessageId\0"
    "HideResult\0HideAllIdResult\0"
    "OpenContainingFolder\0currentChanged\0"
    "previous"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ResultsTree[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       6,    1,   80,    2, 0x09 /* Protected */,
       8,    1,   83,    2, 0x09 /* Protected */,
      10,    0,   86,    2, 0x09 /* Protected */,
      11,    0,   87,    2, 0x09 /* Protected */,
      12,    0,   88,    2, 0x09 /* Protected */,
      13,    0,   89,    2, 0x09 /* Protected */,
      14,    0,   90,    2, 0x09 /* Protected */,
      15,    0,   91,    2, 0x09 /* Protected */,
      16,    0,   92,    2, 0x09 /* Protected */,
      17,    2,   93,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex,    7,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    5,   18,

       0        // eod
};

void ResultsTree::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResultsTree *_t = static_cast<ResultsTree *>(_o);
        switch (_id) {
        case 0: _t->ResultsHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->SelectionChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->QuickStartApplication((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 3: _t->Context((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->CopyFilename(); break;
        case 5: _t->CopyFullPath(); break;
        case 6: _t->CopyMessage(); break;
        case 7: _t->CopyMessageId(); break;
        case 8: _t->HideResult(); break;
        case 9: _t->HideAllIdResult(); break;
        case 10: _t->OpenContainingFolder(); break;
        case 11: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_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 (ResultsTree::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResultsTree::ResultsHidden)) {
                *result = 0;
            }
        }
        {
            typedef void (ResultsTree::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResultsTree::SelectionChanged)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject ResultsTree::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_ResultsTree.data,
      qt_meta_data_ResultsTree,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int ResultsTree::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}

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

// SIGNAL 1
void ResultsTree::SelectionChanged(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
