/****************************************************************************
** Meta object code from reading C++ file 'imagewidget.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/gui/imagewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'imagewidget.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__GUI__ImageWidget_t {
    QByteArrayData data[20];
    char stringdata0[204];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tellico__GUI__ImageWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tellico__GUI__ImageWidget_t qt_meta_stringdata_Tellico__GUI__ImageWidget = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Tellico::GUI::ImageWidget"
QT_MOC_LITERAL(1, 26, 14), // "signalModified"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 9), // "slotClear"
QT_MOC_LITERAL(4, 52, 12), // "slotGetImage"
QT_MOC_LITERAL(5, 65, 19), // "slotLinkOnlyClicked"
QT_MOC_LITERAL(6, 85, 13), // "slotScanImage"
QT_MOC_LITERAL(7, 99, 10), // "imageReady"
QT_MOC_LITERAL(8, 110, 11), // "QByteArray&"
QT_MOC_LITERAL(9, 122, 4), // "data"
QT_MOC_LITERAL(10, 127, 1), // "w"
QT_MOC_LITERAL(11, 129, 1), // "h"
QT_MOC_LITERAL(12, 131, 3), // "bpl"
QT_MOC_LITERAL(13, 135, 1), // "f"
QT_MOC_LITERAL(14, 137, 13), // "slotEditImage"
QT_MOC_LITERAL(15, 151, 12), // "slotEditMenu"
QT_MOC_LITERAL(16, 164, 8), // "QAction*"
QT_MOC_LITERAL(17, 173, 6), // "action"
QT_MOC_LITERAL(18, 180, 12), // "slotFinished"
QT_MOC_LITERAL(19, 193, 10) // "cancelScan"

    },
    "Tellico::GUI::ImageWidget\0signalModified\0"
    "\0slotClear\0slotGetImage\0slotLinkOnlyClicked\0"
    "slotScanImage\0imageReady\0QByteArray&\0"
    "data\0w\0h\0bpl\0f\0slotEditImage\0slotEditMenu\0"
    "QAction*\0action\0slotFinished\0cancelScan"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tellico__GUI__ImageWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   65,    2, 0x0a /* Public */,
       4,    0,   66,    2, 0x08 /* Private */,
       5,    0,   67,    2, 0x08 /* Private */,
       6,    0,   68,    2, 0x08 /* Private */,
       7,    5,   69,    2, 0x08 /* Private */,
      14,    0,   80,    2, 0x08 /* Private */,
      15,    1,   81,    2, 0x08 /* Private */,
      18,    0,   84,    2, 0x08 /* Private */,
      19,    0,   85,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,    9,   10,   11,   12,   13,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Tellico::GUI::ImageWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ImageWidget *_t = static_cast<ImageWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalModified(); break;
        case 1: _t->slotClear(); break;
        case 2: _t->slotGetImage(); break;
        case 3: _t->slotLinkOnlyClicked(); break;
        case 4: _t->slotScanImage(); break;
        case 5: _t->imageReady((*reinterpret_cast< QByteArray(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 6: _t->slotEditImage(); break;
        case 7: _t->slotEditMenu((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 8: _t->slotFinished(); break;
        case 9: _t->cancelScan(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ImageWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ImageWidget::signalModified)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Tellico::GUI::ImageWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Tellico__GUI__ImageWidget.data,
      qt_meta_data_Tellico__GUI__ImageWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tellico::GUI::ImageWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tellico__GUI__ImageWidget.stringdata0))
        return static_cast<void*>(const_cast< ImageWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void Tellico::GUI::ImageWidget::signalModified()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
