/****************************************************************************
** Meta object code from reading C++ file 'tabmanagerwidgetcontroller.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/qupzilla-1.8.9/src/plugins/TabManager/tabmanagerwidgetcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tabmanagerwidgetcontroller.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_TabManagerWidgetController_t {
    QByteArrayData data[17];
    char stringdata0[220];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TabManagerWidgetController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TabManagerWidgetController_t qt_meta_stringdata_TabManagerWidgetController = {
    {
QT_MOC_LITERAL(0, 0, 26), // "TabManagerWidgetController"
QT_MOC_LITERAL(1, 27, 18), // "requestRefreshTree"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 8), // "WebPage*"
QT_MOC_LITERAL(4, 56, 1), // "p"
QT_MOC_LITERAL(5, 58, 15), // "pinStateChanged"
QT_MOC_LITERAL(6, 74, 5), // "index"
QT_MOC_LITERAL(7, 80, 6), // "pinned"
QT_MOC_LITERAL(8, 87, 12), // "setGroupType"
QT_MOC_LITERAL(9, 100, 27), // "TabManagerWidget::GroupType"
QT_MOC_LITERAL(10, 128, 4), // "type"
QT_MOC_LITERAL(11, 133, 17), // "mainWindowDeleted"
QT_MOC_LITERAL(12, 151, 14), // "BrowserWindow*"
QT_MOC_LITERAL(13, 166, 6), // "window"
QT_MOC_LITERAL(14, 173, 15), // "raiseTabManager"
QT_MOC_LITERAL(15, 189, 14), // "showSideBySide"
QT_MOC_LITERAL(16, 204, 15) // "emitRefreshTree"

    },
    "TabManagerWidgetController\0"
    "requestRefreshTree\0\0WebPage*\0p\0"
    "pinStateChanged\0index\0pinned\0setGroupType\0"
    "TabManagerWidget::GroupType\0type\0"
    "mainWindowDeleted\0BrowserWindow*\0"
    "window\0raiseTabManager\0showSideBySide\0"
    "emitRefreshTree"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TabManagerWidgetController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       1,    0,   57,    2, 0x26 /* Public | MethodCloned */,
       5,    2,   58,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   63,    2, 0x0a /* Public */,
      11,    1,   66,    2, 0x0a /* Public */,
      14,    0,   69,    2, 0x0a /* Public */,
      15,    0,   70,    2, 0x0a /* Public */,
      16,    0,   71,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    6,    7,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void TabManagerWidgetController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TabManagerWidgetController *_t = static_cast<TabManagerWidgetController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->requestRefreshTree((*reinterpret_cast< WebPage*(*)>(_a[1]))); break;
        case 1: _t->requestRefreshTree(); break;
        case 2: _t->pinStateChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->setGroupType((*reinterpret_cast< TabManagerWidget::GroupType(*)>(_a[1]))); break;
        case 4: _t->mainWindowDeleted((*reinterpret_cast< BrowserWindow*(*)>(_a[1]))); break;
        case 5: _t->raiseTabManager(); break;
        case 6: _t->showSideBySide(); break;
        case 7: _t->emitRefreshTree(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TabManagerWidgetController::*_t)(WebPage * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabManagerWidgetController::requestRefreshTree)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TabManagerWidgetController::*_t)(int , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabManagerWidgetController::pinStateChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject TabManagerWidgetController::staticMetaObject = {
    { &SideBarInterface::staticMetaObject, qt_meta_stringdata_TabManagerWidgetController.data,
      qt_meta_data_TabManagerWidgetController,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TabManagerWidgetController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = SideBarInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void TabManagerWidgetController::requestRefreshTree(WebPage * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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