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

#include <memory>
#include "../../../../../kbibtex-0.10.0/src/program/docklets/zoterobrowser.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSharedPointer>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'zoterobrowser.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_ZoteroBrowser_t {
    QByteArrayData data[23];
    char stringdata0[354];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ZoteroBrowser_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ZoteroBrowser_t qt_meta_stringdata_ZoteroBrowser = {
    {
QT_MOC_LITERAL(0, 0, 13), // "ZoteroBrowser"
QT_MOC_LITERAL(1, 14, 10), // "itemToShow"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 16), // "visibiltyChanged"
QT_MOC_LITERAL(4, 43, 10), // "modelReset"
QT_MOC_LITERAL(5, 54, 23), // "collectionDoubleClicked"
QT_MOC_LITERAL(6, 78, 11), // "QModelIndex"
QT_MOC_LITERAL(7, 90, 5), // "index"
QT_MOC_LITERAL(8, 96, 16), // "tagDoubleClicked"
QT_MOC_LITERAL(9, 113, 8), // "showItem"
QT_MOC_LITERAL(10, 122, 23), // "QSharedPointer<Element>"
QT_MOC_LITERAL(11, 146, 14), // "reenableWidget"
QT_MOC_LITERAL(12, 161, 13), // "updateButtons"
QT_MOC_LITERAL(13, 175, 16), // "applyCredentials"
QT_MOC_LITERAL(14, 192, 19), // "radioButtonsToggled"
QT_MOC_LITERAL(15, 212, 16), // "groupListChanged"
QT_MOC_LITERAL(16, 229, 17), // "retrieveGroupList"
QT_MOC_LITERAL(17, 247, 19), // "invalidateGroupList"
QT_MOC_LITERAL(18, 267, 12), // "gotGroupList"
QT_MOC_LITERAL(19, 280, 19), // "getOAuthCredentials"
QT_MOC_LITERAL(20, 300, 20), // "readOAuthCredentials"
QT_MOC_LITERAL(21, 321, 21), // "writeOAuthCredentials"
QT_MOC_LITERAL(22, 343, 10) // "tabChanged"

    },
    "ZoteroBrowser\0itemToShow\0\0visibiltyChanged\0"
    "modelReset\0collectionDoubleClicked\0"
    "QModelIndex\0index\0tagDoubleClicked\0"
    "showItem\0QSharedPointer<Element>\0"
    "reenableWidget\0updateButtons\0"
    "applyCredentials\0radioButtonsToggled\0"
    "groupListChanged\0retrieveGroupList\0"
    "invalidateGroupList\0gotGroupList\0"
    "getOAuthCredentials\0readOAuthCredentials\0"
    "writeOAuthCredentials\0tabChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ZoteroBrowser[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    1,  105,    2, 0x0a /* Public */,
       4,    0,  108,    2, 0x08 /* Private */,
       5,    1,  109,    2, 0x08 /* Private */,
       8,    1,  112,    2, 0x08 /* Private */,
       9,    1,  115,    2, 0x08 /* Private */,
      11,    0,  118,    2, 0x08 /* Private */,
      12,    0,  119,    2, 0x08 /* Private */,
      13,    0,  120,    2, 0x08 /* Private */,
      14,    0,  121,    2, 0x08 /* Private */,
      15,    0,  122,    2, 0x08 /* Private */,
      16,    0,  123,    2, 0x08 /* Private */,
      17,    0,  124,    2, 0x08 /* Private */,
      18,    0,  125,    2, 0x08 /* Private */,
      19,    0,  126,    2, 0x08 /* Private */,
      20,    1,  127,    2, 0x08 /* Private */,
      21,    1,  130,    2, 0x08 /* Private */,
      22,    1,  133,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 10,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Int,    2,

       0        // eod
};

void ZoteroBrowser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ZoteroBrowser *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->itemToShow(); break;
        case 1: _t->visibiltyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->modelReset(); break;
        case 3: _t->collectionDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 4: _t->tagDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 5: _t->showItem((*reinterpret_cast< QSharedPointer<Element>(*)>(_a[1]))); break;
        case 6: _t->reenableWidget(); break;
        case 7: _t->updateButtons(); break;
        case 8: { bool _r = _t->applyCredentials();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->radioButtonsToggled(); break;
        case 10: _t->groupListChanged(); break;
        case 11: _t->retrieveGroupList(); break;
        case 12: _t->invalidateGroupList(); break;
        case 13: _t->gotGroupList(); break;
        case 14: _t->getOAuthCredentials(); break;
        case 15: _t->readOAuthCredentials((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->writeOAuthCredentials((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->tabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ZoteroBrowser::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ZoteroBrowser::itemToShow)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ZoteroBrowser::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_ZoteroBrowser.data,
    qt_meta_data_ZoteroBrowser,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void ZoteroBrowser::itemToShow()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
