/****************************************************************************
** Meta object code from reading C++ file 'taskbar.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 "../../../SQLiteStudio3/guiSQLiteStudio/taskbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'taskbar.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_TaskBar_t {
    QByteArrayData data[15];
    char stringdata0[181];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TaskBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TaskBar_t qt_meta_stringdata_TaskBar = {
    {
QT_MOC_LITERAL(0, 0, 7), // "TaskBar"
QT_MOC_LITERAL(1, 8, 8), // "nextTask"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 8), // "prevTask"
QT_MOC_LITERAL(4, 27, 13), // "setActiveTask"
QT_MOC_LITERAL(5, 41, 8), // "QAction*"
QT_MOC_LITERAL(6, 50, 4), // "task"
QT_MOC_LITERAL(7, 55, 15), // "initContextMenu"
QT_MOC_LITERAL(8, 71, 19), // "ExtActionContainer*"
QT_MOC_LITERAL(9, 91, 7), // "mainWin"
QT_MOC_LITERAL(10, 99, 20), // "taskBarMenuRequested"
QT_MOC_LITERAL(11, 120, 1), // "p"
QT_MOC_LITERAL(12, 122, 12), // "mousePressed"
QT_MOC_LITERAL(13, 135, 22), // "taskBarMenuAboutToShow"
QT_MOC_LITERAL(14, 158, 22) // "taskBarMenuAboutToHide"

    },
    "TaskBar\0nextTask\0\0prevTask\0setActiveTask\0"
    "QAction*\0task\0initContextMenu\0"
    "ExtActionContainer*\0mainWin\0"
    "taskBarMenuRequested\0p\0mousePressed\0"
    "taskBarMenuAboutToShow\0taskBarMenuAboutToHide"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TaskBar[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x0a /* Public */,
       3,    0,   55,    2, 0x0a /* Public */,
       4,    1,   56,    2, 0x0a /* Public */,
       7,    1,   59,    2, 0x0a /* Public */,
      10,    1,   62,    2, 0x08 /* Private */,
      12,    0,   65,    2, 0x08 /* Private */,
      13,    0,   66,    2, 0x08 /* Private */,
      14,    0,   67,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, QMetaType::QPoint,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void TaskBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TaskBar *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->nextTask(); break;
        case 1: _t->prevTask(); break;
        case 2: _t->setActiveTask((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 3: _t->initContextMenu((*reinterpret_cast< ExtActionContainer*(*)>(_a[1]))); break;
        case 4: _t->taskBarMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 5: _t->mousePressed(); break;
        case 6: _t->taskBarMenuAboutToShow(); break;
        case 7: _t->taskBarMenuAboutToHide(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            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;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TaskBar::staticMetaObject = { {
    QMetaObject::SuperData::link<QToolBar::staticMetaObject>(),
    qt_meta_stringdata_TaskBar.data,
    qt_meta_data_TaskBar,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int TaskBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QToolBar::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
