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

#include "../src/lib/adblock/adblockdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'adblockdialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_AdBlockDialog_t {
    QByteArrayData data[16];
    char stringdata0[185];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AdBlockDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AdBlockDialog_t qt_meta_stringdata_AdBlockDialog = {
    {
QT_MOC_LITERAL(0, 0, 13), // "AdBlockDialog"
QT_MOC_LITERAL(1, 14, 7), // "addRule"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 10), // "removeRule"
QT_MOC_LITERAL(4, 34, 15), // "addSubscription"
QT_MOC_LITERAL(5, 50, 18), // "removeSubscription"
QT_MOC_LITERAL(6, 69, 14), // "currentChanged"
QT_MOC_LITERAL(7, 84, 5), // "index"
QT_MOC_LITERAL(8, 90, 12), // "filterString"
QT_MOC_LITERAL(9, 103, 6), // "string"
QT_MOC_LITERAL(10, 110, 13), // "enableAdBlock"
QT_MOC_LITERAL(11, 124, 5), // "state"
QT_MOC_LITERAL(12, 130, 15), // "aboutToShowMenu"
QT_MOC_LITERAL(13, 146, 15), // "learnAboutRules"
QT_MOC_LITERAL(14, 162, 17), // "loadSubscriptions"
QT_MOC_LITERAL(15, 180, 4) // "load"

    },
    "AdBlockDialog\0addRule\0\0removeRule\0"
    "addSubscription\0removeSubscription\0"
    "currentChanged\0index\0filterString\0"
    "string\0enableAdBlock\0state\0aboutToShowMenu\0"
    "learnAboutRules\0loadSubscriptions\0"
    "load"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AdBlockDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x08 /* Private */,
       3,    0,   70,    2, 0x08 /* Private */,
       4,    0,   71,    2, 0x08 /* Private */,
       5,    0,   72,    2, 0x08 /* Private */,
       6,    1,   73,    2, 0x08 /* Private */,
       8,    1,   76,    2, 0x08 /* Private */,
      10,    1,   79,    2, 0x08 /* Private */,
      12,    0,   82,    2, 0x08 /* Private */,
      13,    0,   83,    2, 0x08 /* Private */,
      14,    0,   84,    2, 0x08 /* Private */,
      15,    0,   85,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void AdBlockDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AdBlockDialog *_t = static_cast<AdBlockDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addRule(); break;
        case 1: _t->removeRule(); break;
        case 2: _t->addSubscription(); break;
        case 3: _t->removeSubscription(); break;
        case 4: _t->currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->filterString((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->enableAdBlock((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->aboutToShowMenu(); break;
        case 8: _t->learnAboutRules(); break;
        case 9: _t->loadSubscriptions(); break;
        case 10: _t->load(); break;
        default: ;
        }
    }
}

const QMetaObject AdBlockDialog::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_AdBlockDialog.data,
      qt_meta_data_AdBlockDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *AdBlockDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_AdBlockDialog.stringdata0))
        return static_cast<void*>(const_cast< AdBlockDialog*>(this));
    if (!strcmp(_clname, "Ui_AdBlockDialog"))
        return static_cast< Ui_AdBlockDialog*>(const_cast< AdBlockDialog*>(this));
    return QWidget::qt_metacast(_clname);
}

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