/****************************************************************************
** Meta object code from reading C++ file 'resultsview.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 "../resultsview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'resultsview.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_ResultsView_t {
    QByteArrayData data[22];
    char stringdata[225];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ResultsView_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ResultsView_t qt_meta_stringdata_ResultsView = {
    {
QT_MOC_LITERAL(0, 0, 11), // "ResultsView"
QT_MOC_LITERAL(1, 12, 10), // "GotResults"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 13), // "ResultsHidden"
QT_MOC_LITERAL(4, 38, 6), // "hidden"
QT_MOC_LITERAL(5, 45, 8), // "Progress"
QT_MOC_LITERAL(6, 54, 5), // "value"
QT_MOC_LITERAL(7, 60, 11), // "description"
QT_MOC_LITERAL(8, 72, 5), // "Error"
QT_MOC_LITERAL(9, 78, 9), // "ErrorItem"
QT_MOC_LITERAL(10, 88, 4), // "item"
QT_MOC_LITERAL(11, 93, 18), // "CollapseAllResults"
QT_MOC_LITERAL(12, 112, 16), // "ExpandAllResults"
QT_MOC_LITERAL(13, 129, 13), // "FilterResults"
QT_MOC_LITERAL(14, 143, 6), // "filter"
QT_MOC_LITERAL(15, 150, 17), // "ShowHiddenResults"
QT_MOC_LITERAL(16, 168, 13), // "UpdateDetails"
QT_MOC_LITERAL(17, 182, 5), // "index"
QT_MOC_LITERAL(18, 188, 5), // "Print"
QT_MOC_LITERAL(19, 194, 9), // "QPrinter*"
QT_MOC_LITERAL(20, 204, 7), // "printer"
QT_MOC_LITERAL(21, 212, 12) // "PrintPreview"

    },
    "ResultsView\0GotResults\0\0ResultsHidden\0"
    "hidden\0Progress\0value\0description\0"
    "Error\0ErrorItem\0item\0CollapseAllResults\0"
    "ExpandAllResults\0FilterResults\0filter\0"
    "ShowHiddenResults\0UpdateDetails\0index\0"
    "Print\0QPrinter*\0printer\0PrintPreview"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ResultsView[] = {

 // 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,    0,   74,    2, 0x06 /* Public */,
       3,    1,   75,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    2,   78,    2, 0x0a /* Public */,
       8,    1,   83,    2, 0x0a /* Public */,
      11,    0,   86,    2, 0x0a /* Public */,
      12,    0,   87,    2, 0x0a /* Public */,
      13,    1,   88,    2, 0x0a /* Public */,
      15,    0,   91,    2, 0x0a /* Public */,
      16,    1,   92,    2, 0x0a /* Public */,
      18,    0,   95,    2, 0x0a /* Public */,
      18,    1,   96,    2, 0x0a /* Public */,
      21,    0,   99,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    4,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    6,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   17,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void,

       0        // eod
};

void ResultsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResultsView *_t = static_cast<ResultsView *>(_o);
        switch (_id) {
        case 0: _t->GotResults(); break;
        case 1: _t->ResultsHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->Progress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->Error((*reinterpret_cast< const ErrorItem(*)>(_a[1]))); break;
        case 4: _t->CollapseAllResults(); break;
        case 5: _t->ExpandAllResults(); break;
        case 6: _t->FilterResults((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->ShowHiddenResults(); break;
        case 8: _t->UpdateDetails((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 9: _t->Print(); break;
        case 10: _t->Print((*reinterpret_cast< QPrinter*(*)>(_a[1]))); break;
        case 11: _t->PrintPreview(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ErrorItem >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ResultsView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResultsView::GotResults)) {
                *result = 0;
            }
        }
        {
            typedef void (ResultsView::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResultsView::ResultsHidden)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject ResultsView::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_ResultsView.data,
      qt_meta_data_ResultsView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int ResultsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void ResultsView::GotResults()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

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