/****************************************************************************
** Meta object code from reading C++ file 'bookmarkstools.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/bookmarkstools.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bookmarkstools.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_BookmarksFoldersMenu_t {
    QByteArrayData data[6];
    char stringdata0[72];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BookmarksFoldersMenu_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BookmarksFoldersMenu_t qt_meta_stringdata_BookmarksFoldersMenu = {
    {
QT_MOC_LITERAL(0, 0, 20), // "BookmarksFoldersMenu"
QT_MOC_LITERAL(1, 21, 14), // "folderSelected"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 13), // "BookmarkItem*"
QT_MOC_LITERAL(4, 51, 6), // "folder"
QT_MOC_LITERAL(5, 58, 13) // "folderChoosed"

    },
    "BookmarksFoldersMenu\0folderSelected\0"
    "\0BookmarkItem*\0folder\0folderChoosed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BookmarksFoldersMenu[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    0,   27,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void BookmarksFoldersMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BookmarksFoldersMenu *_t = static_cast<BookmarksFoldersMenu *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->folderSelected((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 1: _t->folderChoosed(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (BookmarksFoldersMenu::*_t)(BookmarkItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BookmarksFoldersMenu::folderSelected)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject BookmarksFoldersMenu::staticMetaObject = {
    { &QMenu::staticMetaObject, qt_meta_stringdata_BookmarksFoldersMenu.data,
      qt_meta_data_BookmarksFoldersMenu,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void BookmarksFoldersMenu::folderSelected(BookmarkItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_BookmarksFoldersButton_t {
    QByteArrayData data[6];
    char stringdata0[85];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BookmarksFoldersButton_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BookmarksFoldersButton_t qt_meta_stringdata_BookmarksFoldersButton = {
    {
QT_MOC_LITERAL(0, 0, 22), // "BookmarksFoldersButton"
QT_MOC_LITERAL(1, 23, 21), // "selectedFolderChanged"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 13), // "BookmarkItem*"
QT_MOC_LITERAL(4, 60, 6), // "folder"
QT_MOC_LITERAL(5, 67, 17) // "setSelectedFolder"

    },
    "BookmarksFoldersButton\0selectedFolderChanged\0"
    "\0BookmarkItem*\0folder\0setSelectedFolder"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BookmarksFoldersButton[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    1,   27,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

       0        // eod
};

void BookmarksFoldersButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BookmarksFoldersButton *_t = static_cast<BookmarksFoldersButton *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->selectedFolderChanged((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 1: _t->setSelectedFolder((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (BookmarksFoldersButton::*_t)(BookmarkItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BookmarksFoldersButton::selectedFolderChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject BookmarksFoldersButton::staticMetaObject = {
    { &QPushButton::staticMetaObject, qt_meta_stringdata_BookmarksFoldersButton.data,
      qt_meta_data_BookmarksFoldersButton,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void BookmarksFoldersButton::selectedFolderChanged(BookmarkItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
