/****************************************************************************
** Meta object code from reading C++ file 'bookmarkstoolbarbutton.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/lib/bookmarks/bookmarkstoolbarbutton.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bookmarkstoolbarbutton.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_BookmarksToolbarButton_t {
    QByteArrayData data[15];
    char stringdata0[215];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BookmarksToolbarButton_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BookmarksToolbarButton_t qt_meta_stringdata_BookmarksToolbarButton = {
    {
QT_MOC_LITERAL(0, 0, 22), // "BookmarksToolbarButton"
QT_MOC_LITERAL(1, 23, 10), // "createMenu"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 17), // "menuMiddleClicked"
QT_MOC_LITERAL(4, 53, 5), // "Menu*"
QT_MOC_LITERAL(5, 59, 4), // "menu"
QT_MOC_LITERAL(6, 64, 17), // "bookmarkActivated"
QT_MOC_LITERAL(7, 82, 13), // "BookmarkItem*"
QT_MOC_LITERAL(8, 96, 4), // "item"
QT_MOC_LITERAL(9, 101, 21), // "bookmarkCtrlActivated"
QT_MOC_LITERAL(10, 123, 22), // "bookmarkShiftActivated"
QT_MOC_LITERAL(11, 146, 10), // "openFolder"
QT_MOC_LITERAL(12, 157, 12), // "openBookmark"
QT_MOC_LITERAL(13, 170, 20), // "openBookmarkInNewTab"
QT_MOC_LITERAL(14, 191, 23) // "openBookmarkInNewWindow"

    },
    "BookmarksToolbarButton\0createMenu\0\0"
    "menuMiddleClicked\0Menu*\0menu\0"
    "bookmarkActivated\0BookmarkItem*\0item\0"
    "bookmarkCtrlActivated\0bookmarkShiftActivated\0"
    "openFolder\0openBookmark\0openBookmarkInNewTab\0"
    "openBookmarkInNewWindow"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BookmarksToolbarButton[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x08 /* Private */,
       3,    1,   75,    2, 0x08 /* Private */,
       6,    1,   78,    2, 0x08 /* Private */,
       6,    0,   81,    2, 0x28 /* Private | MethodCloned */,
       9,    1,   82,    2, 0x08 /* Private */,
       9,    0,   85,    2, 0x28 /* Private | MethodCloned */,
      10,    1,   86,    2, 0x08 /* Private */,
      10,    0,   89,    2, 0x28 /* Private | MethodCloned */,
      11,    1,   90,    2, 0x08 /* Private */,
      12,    1,   93,    2, 0x08 /* Private */,
      13,    1,   96,    2, 0x08 /* Private */,
      14,    1,   99,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,

       0        // eod
};

void BookmarksToolbarButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BookmarksToolbarButton *_t = static_cast<BookmarksToolbarButton *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->createMenu(); break;
        case 1: _t->menuMiddleClicked((*reinterpret_cast< Menu*(*)>(_a[1]))); break;
        case 2: _t->bookmarkActivated((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 3: _t->bookmarkActivated(); break;
        case 4: _t->bookmarkCtrlActivated((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 5: _t->bookmarkCtrlActivated(); break;
        case 6: _t->bookmarkShiftActivated((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 7: _t->bookmarkShiftActivated(); break;
        case 8: _t->openFolder((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 9: _t->openBookmark((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 10: _t->openBookmarkInNewTab((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 11: _t->openBookmarkInNewWindow((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject BookmarksToolbarButton::staticMetaObject = {
    { &QPushButton::staticMetaObject, qt_meta_stringdata_BookmarksToolbarButton.data,
      qt_meta_data_BookmarksToolbarButton,  qt_static_metacall, nullptr, nullptr}
};


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

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

int BookmarksToolbarButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QPushButton::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;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
