/****************************************************************************
** Meta object code from reading C++ file 'filterdialog.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/tellico-3.0.2/src/filterdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'filterdialog.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_Tellico__FilterDialog_t {
    QByteArrayData data[12];
    char stringdata0[166];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tellico__FilterDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tellico__FilterDialog_t qt_meta_stringdata_Tellico__FilterDialog = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Tellico::FilterDialog"
QT_MOC_LITERAL(1, 22, 18), // "signalUpdateFilter"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 18), // "Tellico::FilterPtr"
QT_MOC_LITERAL(4, 61, 24), // "signalCollectionModified"
QT_MOC_LITERAL(5, 86, 9), // "slotClear"
QT_MOC_LITERAL(6, 96, 6), // "slotOk"
QT_MOC_LITERAL(7, 103, 9), // "slotApply"
QT_MOC_LITERAL(8, 113, 8), // "slotHelp"
QT_MOC_LITERAL(9, 122, 10), // "slotShrink"
QT_MOC_LITERAL(10, 133, 17), // "slotFilterChanged"
QT_MOC_LITERAL(11, 151, 14) // "slotSaveFilter"

    },
    "Tellico::FilterDialog\0signalUpdateFilter\0"
    "\0Tellico::FilterPtr\0signalCollectionModified\0"
    "slotClear\0slotOk\0slotApply\0slotHelp\0"
    "slotShrink\0slotFilterChanged\0"
    "slotSaveFilter"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tellico__FilterDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    0,   62,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   63,    2, 0x0a /* Public */,
       6,    0,   64,    2, 0x09 /* Protected */,
       7,    0,   65,    2, 0x09 /* Protected */,
       8,    0,   66,    2, 0x09 /* Protected */,
       9,    0,   67,    2, 0x09 /* Protected */,
      10,    0,   68,    2, 0x09 /* Protected */,
      11,    0,   69,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Tellico::FilterDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FilterDialog *_t = static_cast<FilterDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalUpdateFilter((*reinterpret_cast< Tellico::FilterPtr(*)>(_a[1]))); break;
        case 1: _t->signalCollectionModified(); break;
        case 2: _t->slotClear(); break;
        case 3: _t->slotOk(); break;
        case 4: _t->slotApply(); break;
        case 5: _t->slotHelp(); break;
        case 6: _t->slotShrink(); break;
        case 7: _t->slotFilterChanged(); break;
        case 8: _t->slotSaveFilter(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FilterDialog::*_t)(Tellico::FilterPtr );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FilterDialog::signalUpdateFilter)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FilterDialog::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FilterDialog::signalCollectionModified)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Tellico::FilterDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Tellico__FilterDialog.data,
      qt_meta_data_Tellico__FilterDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tellico::FilterDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tellico__FilterDialog.stringdata0))
        return static_cast<void*>(const_cast< FilterDialog*>(this));
    return QDialog::qt_metacast(_clname);
}

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

// SIGNAL 0
void Tellico::FilterDialog::signalUpdateFilter(Tellico::FilterPtr _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Tellico::FilterDialog::signalCollectionModified()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
