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

#include <memory>
#include "../../Source/dooble_favorites_popup.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dooble_favorites_popup.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.3. 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_dooble_favorites_popup_t {
    QByteArrayData data[20];
    char stringdata0[305];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dooble_favorites_popup_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dooble_favorites_popup_t qt_meta_stringdata_dooble_favorites_popup = {
    {
QT_MOC_LITERAL(0, 0, 22), // "dooble_favorites_popup"
QT_MOC_LITERAL(1, 23, 16), // "favorite_changed"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 3), // "url"
QT_MOC_LITERAL(4, 45, 5), // "state"
QT_MOC_LITERAL(5, 51, 16), // "favorites_sorted"
QT_MOC_LITERAL(6, 68, 9), // "open_link"
QT_MOC_LITERAL(7, 78, 20), // "open_link_in_new_tab"
QT_MOC_LITERAL(8, 99, 4), // "show"
QT_MOC_LITERAL(9, 104, 20), // "slot_delete_selected"
QT_MOC_LITERAL(10, 125, 19), // "slot_double_clicked"
QT_MOC_LITERAL(11, 145, 11), // "QModelIndex"
QT_MOC_LITERAL(12, 157, 5), // "index"
QT_MOC_LITERAL(13, 163, 26), // "slot_entries_timer_timeout"
QT_MOC_LITERAL(14, 190, 21), // "slot_favorites_sorted"
QT_MOC_LITERAL(15, 212, 9), // "slot_find"
QT_MOC_LITERAL(16, 222, 25), // "slot_search_timer_timeout"
QT_MOC_LITERAL(17, 248, 24), // "slot_set_favorites_model"
QT_MOC_LITERAL(18, 273, 21), // "slot_settings_applied"
QT_MOC_LITERAL(19, 295, 9) // "slot_sort"

    },
    "dooble_favorites_popup\0favorite_changed\0"
    "\0url\0state\0favorites_sorted\0open_link\0"
    "open_link_in_new_tab\0show\0"
    "slot_delete_selected\0slot_double_clicked\0"
    "QModelIndex\0index\0slot_entries_timer_timeout\0"
    "slot_favorites_sorted\0slot_find\0"
    "slot_search_timer_timeout\0"
    "slot_set_favorites_model\0slot_settings_applied\0"
    "slot_sort"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dooble_favorites_popup[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       5,    0,   94,    2, 0x06 /* Public */,
       6,    1,   95,    2, 0x06 /* Public */,
       7,    1,   98,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  101,    2, 0x0a /* Public */,
       9,    0,  102,    2, 0x08 /* Private */,
      10,    1,  103,    2, 0x08 /* Private */,
      13,    0,  106,    2, 0x08 /* Private */,
      14,    0,  107,    2, 0x08 /* Private */,
      15,    0,  108,    2, 0x08 /* Private */,
      16,    0,  109,    2, 0x08 /* Private */,
      17,    0,  110,    2, 0x08 /* Private */,
      18,    0,  111,    2, 0x08 /* Private */,
      19,    1,  112,    2, 0x08 /* Private */,
      19,    0,  115,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl, QMetaType::Bool,    3,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Void, QMetaType::QUrl,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void,

       0        // eod
};

void dooble_favorites_popup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<dooble_favorites_popup *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->favorite_changed((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->favorites_sorted(); break;
        case 2: _t->open_link((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->open_link_in_new_tab((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: _t->show(); break;
        case 5: _t->slot_delete_selected(); break;
        case 6: _t->slot_double_clicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 7: _t->slot_entries_timer_timeout(); break;
        case 8: _t->slot_favorites_sorted(); break;
        case 9: _t->slot_find(); break;
        case 10: _t->slot_search_timer_timeout(); break;
        case 11: _t->slot_set_favorites_model(); break;
        case 12: _t->slot_settings_applied(); break;
        case 13: _t->slot_sort((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->slot_sort(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (dooble_favorites_popup::*)(const QUrl & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_favorites_popup::favorite_changed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (dooble_favorites_popup::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_favorites_popup::favorites_sorted)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (dooble_favorites_popup::*)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_favorites_popup::open_link)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (dooble_favorites_popup::*)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_favorites_popup::open_link_in_new_tab)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dooble_favorites_popup::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_dooble_favorites_popup.data,
    qt_meta_data_dooble_favorites_popup,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void dooble_favorites_popup::favorite_changed(const QUrl & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void dooble_favorites_popup::favorites_sorted()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void dooble_favorites_popup::open_link(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void dooble_favorites_popup::open_link_in_new_tab(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
