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

#include "../../src/zbar-0.23.93/include/zbar/QZBar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'QZBar.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_zbar__QZBar_t {
    QByteArrayData data[54];
    char stringdata0[505];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_zbar__QZBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_zbar__QZBar_t qt_meta_stringdata_zbar__QZBar = {
    {
QT_MOC_LITERAL(0, 0, 11), // "zbar::QZBar"
QT_MOC_LITERAL(1, 12, 11), // "videoOpened"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 7), // "decoded"
QT_MOC_LITERAL(4, 33, 4), // "type"
QT_MOC_LITERAL(5, 38, 4), // "data"
QT_MOC_LITERAL(6, 43, 11), // "decodedText"
QT_MOC_LITERAL(7, 55, 4), // "text"
QT_MOC_LITERAL(8, 60, 14), // "setVideoDevice"
QT_MOC_LITERAL(9, 75, 11), // "videoDevice"
QT_MOC_LITERAL(10, 87, 15), // "setVideoEnabled"
QT_MOC_LITERAL(11, 103, 12), // "videoEnabled"
QT_MOC_LITERAL(12, 116, 9), // "scanImage"
QT_MOC_LITERAL(13, 126, 5), // "image"
QT_MOC_LITERAL(14, 132, 12), // "get_controls"
QT_MOC_LITERAL(15, 145, 5), // "index"
QT_MOC_LITERAL(16, 151, 6), // "char**"
QT_MOC_LITERAL(17, 158, 4), // "name"
QT_MOC_LITERAL(18, 163, 5), // "group"
QT_MOC_LITERAL(19, 169, 12), // "ControlType*"
QT_MOC_LITERAL(20, 182, 4), // "int*"
QT_MOC_LITERAL(21, 187, 3), // "min"
QT_MOC_LITERAL(22, 191, 3), // "max"
QT_MOC_LITERAL(23, 195, 3), // "def"
QT_MOC_LITERAL(24, 199, 4), // "step"
QT_MOC_LITERAL(25, 204, 8), // "get_menu"
QT_MOC_LITERAL(26, 213, 28), // "QVector<QPair<int,QString> >"
QT_MOC_LITERAL(27, 242, 11), // "set_control"
QT_MOC_LITERAL(28, 254, 5), // "char*"
QT_MOC_LITERAL(29, 260, 5), // "value"
QT_MOC_LITERAL(30, 266, 11), // "get_control"
QT_MOC_LITERAL(31, 278, 5), // "bool*"
QT_MOC_LITERAL(32, 284, 10), // "set_config"
QT_MOC_LITERAL(33, 295, 11), // "std::string"
QT_MOC_LITERAL(34, 307, 6), // "cfgstr"
QT_MOC_LITERAL(35, 314, 18), // "zbar_symbol_type_t"
QT_MOC_LITERAL(36, 333, 9), // "symbology"
QT_MOC_LITERAL(37, 343, 13), // "zbar_config_t"
QT_MOC_LITERAL(38, 357, 6), // "config"
QT_MOC_LITERAL(39, 364, 10), // "get_config"
QT_MOC_LITERAL(40, 375, 4), // "int&"
QT_MOC_LITERAL(41, 380, 12), // "request_size"
QT_MOC_LITERAL(42, 393, 5), // "width"
QT_MOC_LITERAL(43, 399, 6), // "height"
QT_MOC_LITERAL(44, 406, 7), // "trigger"
QT_MOC_LITERAL(45, 414, 14), // "get_resolution"
QT_MOC_LITERAL(46, 429, 5), // "uint&"
QT_MOC_LITERAL(47, 435, 6), // "float&"
QT_MOC_LITERAL(48, 442, 7), // "max_fps"
QT_MOC_LITERAL(49, 450, 10), // "videoWidth"
QT_MOC_LITERAL(50, 461, 11), // "videoHeight"
QT_MOC_LITERAL(51, 473, 12), // "request_dbus"
QT_MOC_LITERAL(52, 486, 7), // "enabled"
QT_MOC_LITERAL(53, 494, 10) // "sizeChange"

    },
    "zbar::QZBar\0videoOpened\0\0decoded\0type\0"
    "data\0decodedText\0text\0setVideoDevice\0"
    "videoDevice\0setVideoEnabled\0videoEnabled\0"
    "scanImage\0image\0get_controls\0index\0"
    "char**\0name\0group\0ControlType*\0int*\0"
    "min\0max\0def\0step\0get_menu\0"
    "QVector<QPair<int,QString> >\0set_control\0"
    "char*\0value\0get_control\0bool*\0set_config\0"
    "std::string\0cfgstr\0zbar_symbol_type_t\0"
    "symbology\0zbar_config_t\0config\0"
    "get_config\0int&\0request_size\0width\0"
    "height\0trigger\0get_resolution\0uint&\0"
    "float&\0max_fps\0videoWidth\0videoHeight\0"
    "request_dbus\0enabled\0sizeChange"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_zbar__QZBar[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  164,    2, 0x06 /* Public */,
       3,    2,  167,    2, 0x06 /* Public */,
       6,    1,  172,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,  175,    2, 0x0a /* Public */,
      10,    1,  178,    2, 0x0a /* Public */,
      10,    0,  181,    2, 0x2a /* Public | MethodCloned */,
      12,    1,  182,    2, 0x0a /* Public */,
      14,    8,  185,    2, 0x0a /* Public */,
      14,    7,  202,    2, 0x2a /* Public | MethodCloned */,
      14,    6,  217,    2, 0x2a /* Public | MethodCloned */,
      14,    5,  230,    2, 0x2a /* Public | MethodCloned */,
      14,    4,  241,    2, 0x2a /* Public | MethodCloned */,
      14,    3,  250,    2, 0x2a /* Public | MethodCloned */,
      14,    2,  257,    2, 0x2a /* Public | MethodCloned */,
      14,    1,  262,    2, 0x2a /* Public | MethodCloned */,
      25,    1,  265,    2, 0x0a /* Public */,
      27,    2,  268,    2, 0x0a /* Public */,
      27,    2,  273,    2, 0x0a /* Public */,
      30,    2,  278,    2, 0x0a /* Public */,
      30,    2,  283,    2, 0x0a /* Public */,
      32,    1,  288,    2, 0x0a /* Public */,
      32,    3,  291,    2, 0x0a /* Public */,
      39,    3,  298,    2, 0x0a /* Public */,
      41,    3,  305,    2, 0x0a /* Public */,
      41,    2,  312,    2, 0x2a /* Public | MethodCloned */,
      45,    4,  317,    2, 0x0a /* Public */,
      49,    0,  326,    2, 0x0a /* Public */,
      50,    0,  327,    2, 0x0a /* Public */,
      51,    1,  328,    2, 0x0a /* Public */,
      53,    0,  331,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    1,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    4,    5,
    QMetaType::Void, QMetaType::QString,    7,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QImage,   13,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 16, 0x80000000 | 16, 0x80000000 | 19, 0x80000000 | 20, 0x80000000 | 20, 0x80000000 | 20, 0x80000000 | 20,   15,   17,   18,    4,   21,   22,   23,   24,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 16, 0x80000000 | 16, 0x80000000 | 19, 0x80000000 | 20, 0x80000000 | 20, 0x80000000 | 20,   15,   17,   18,    4,   21,   22,   23,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 16, 0x80000000 | 16, 0x80000000 | 19, 0x80000000 | 20, 0x80000000 | 20,   15,   17,   18,    4,   21,   22,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 16, 0x80000000 | 16, 0x80000000 | 19, 0x80000000 | 20,   15,   17,   18,    4,   21,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 16, 0x80000000 | 16, 0x80000000 | 19,   15,   17,   18,    4,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 16, 0x80000000 | 16,   15,   17,   18,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 16,   15,   17,
    QMetaType::Int, QMetaType::Int,   15,
    0x80000000 | 26, QMetaType::Int,   15,
    QMetaType::Int, 0x80000000 | 28, QMetaType::Bool,   17,   29,
    QMetaType::Int, 0x80000000 | 28, QMetaType::Int,   17,   29,
    QMetaType::Int, 0x80000000 | 28, 0x80000000 | 31,   17,   29,
    QMetaType::Int, 0x80000000 | 28, 0x80000000 | 20,   17,   29,
    QMetaType::Int, 0x80000000 | 33,   34,
    QMetaType::Int, 0x80000000 | 35, 0x80000000 | 37, QMetaType::Int,   36,   38,   29,
    QMetaType::Int, 0x80000000 | 35, 0x80000000 | 37, 0x80000000 | 40,   36,   38,   29,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt, QMetaType::Bool,   42,   43,   44,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt,   42,   43,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 46, 0x80000000 | 46, 0x80000000 | 47,   15,   42,   43,   48,
    QMetaType::UInt,
    QMetaType::UInt,
    QMetaType::Int, QMetaType::Bool,   52,
    QMetaType::Void,

 // properties: name, type, flags
       9, QMetaType::QString, 0x00094103,
      11, QMetaType::Bool, 0x00094103,
       1, QMetaType::Bool, 0x00094001,

       0        // eod
};

void zbar::QZBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QZBar *_t = static_cast<QZBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->videoOpened((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->decoded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->decodedText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->setVideoDevice((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setVideoEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setVideoEnabled(); break;
        case 6: _t->scanImage((*reinterpret_cast< const QImage(*)>(_a[1]))); break;
        case 7: { int _r = _t->get_controls((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< char**(*)>(_a[2])),(*reinterpret_cast< char**(*)>(_a[3])),(*reinterpret_cast< ControlType*(*)>(_a[4])),(*reinterpret_cast< int*(*)>(_a[5])),(*reinterpret_cast< int*(*)>(_a[6])),(*reinterpret_cast< int*(*)>(_a[7])),(*reinterpret_cast< int*(*)>(_a[8])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 8: { int _r = _t->get_controls((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< char**(*)>(_a[2])),(*reinterpret_cast< char**(*)>(_a[3])),(*reinterpret_cast< ControlType*(*)>(_a[4])),(*reinterpret_cast< int*(*)>(_a[5])),(*reinterpret_cast< int*(*)>(_a[6])),(*reinterpret_cast< int*(*)>(_a[7])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 9: { int _r = _t->get_controls((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< char**(*)>(_a[2])),(*reinterpret_cast< char**(*)>(_a[3])),(*reinterpret_cast< ControlType*(*)>(_a[4])),(*reinterpret_cast< int*(*)>(_a[5])),(*reinterpret_cast< int*(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 10: { int _r = _t->get_controls((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< char**(*)>(_a[2])),(*reinterpret_cast< char**(*)>(_a[3])),(*reinterpret_cast< ControlType*(*)>(_a[4])),(*reinterpret_cast< int*(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 11: { int _r = _t->get_controls((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< char**(*)>(_a[2])),(*reinterpret_cast< char**(*)>(_a[3])),(*reinterpret_cast< ControlType*(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 12: { int _r = _t->get_controls((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< char**(*)>(_a[2])),(*reinterpret_cast< char**(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 13: { int _r = _t->get_controls((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< char**(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 14: { int _r = _t->get_controls((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 15: { QVector<QPair<int,QString> > _r = _t->get_menu((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVector<QPair<int,QString> >*>(_a[0]) = std::move(_r); }  break;
        case 16: { int _r = _t->set_control((*reinterpret_cast< char*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 17: { int _r = _t->set_control((*reinterpret_cast< char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 18: { int _r = _t->get_control((*reinterpret_cast< char*(*)>(_a[1])),(*reinterpret_cast< bool*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 19: { int _r = _t->get_control((*reinterpret_cast< char*(*)>(_a[1])),(*reinterpret_cast< int*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 20: { int _r = _t->set_config((*reinterpret_cast< std::string(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 21: { int _r = _t->set_config((*reinterpret_cast< zbar_symbol_type_t(*)>(_a[1])),(*reinterpret_cast< zbar_config_t(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 22: { int _r = _t->get_config((*reinterpret_cast< zbar_symbol_type_t(*)>(_a[1])),(*reinterpret_cast< zbar_config_t(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 23: _t->request_size((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 24: _t->request_size((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 25: { int _r = _t->get_resolution((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< float(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 26: { uint _r = _t->videoWidth();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = std::move(_r); }  break;
        case 27: { uint _r = _t->videoHeight();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = std::move(_r); }  break;
        case 28: { int _r = _t->request_dbus((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 29: _t->sizeChange(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QZBar::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QZBar::videoOpened)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QZBar::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QZBar::decoded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QZBar::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QZBar::decodedText)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QZBar *_t = static_cast<QZBar *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->videoDevice(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isVideoEnabled(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isVideoOpened(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QZBar *_t = static_cast<QZBar *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setVideoDevice(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setVideoEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject zbar::QZBar::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_zbar__QZBar.data,
      qt_meta_data_zbar__QZBar,  qt_static_metacall, nullptr, nullptr}
};


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

void *zbar::QZBar::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_zbar__QZBar.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int zbar::QZBar::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 < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 30)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 30;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void zbar::QZBar::videoOpened(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void zbar::QZBar::decoded(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void zbar::QZBar::decodedText(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
