/****************************************************************************
** Meta object code from reading C++ file 'kexidbimagebox.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/kexi-3.0.1/src/plugins/forms/widgets/kexidbimagebox.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexidbimagebox.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_KexiDBImageBox_t {
    QByteArrayData data[62];
    char stringdata0[853];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiDBImageBox_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiDBImageBox_t qt_meta_stringdata_KexiDBImageBox = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KexiDBImageBox"
QT_MOC_LITERAL(1, 15, 9), // "idChanged"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 2), // "id"
QT_MOC_LITERAL(4, 29, 11), // "setPixmapId"
QT_MOC_LITERAL(5, 41, 17), // "setStoredPixmapId"
QT_MOC_LITERAL(6, 59, 13), // "setDataSource"
QT_MOC_LITERAL(7, 73, 2), // "ds"
QT_MOC_LITERAL(8, 76, 21), // "setDataSourcePluginId"
QT_MOC_LITERAL(9, 98, 8), // "pluginId"
QT_MOC_LITERAL(10, 107, 11), // "setReadOnly"
QT_MOC_LITERAL(11, 119, 3), // "set"
QT_MOC_LITERAL(12, 123, 17), // "setScaledContents"
QT_MOC_LITERAL(13, 141, 23), // "setSmoothTransformation"
QT_MOC_LITERAL(14, 165, 12), // "setAlignment"
QT_MOC_LITERAL(15, 178, 13), // "Qt::Alignment"
QT_MOC_LITERAL(16, 192, 9), // "alignment"
QT_MOC_LITERAL(17, 202, 18), // "setKeepAspectRatio"
QT_MOC_LITERAL(18, 221, 24), // "setDropDownButtonVisible"
QT_MOC_LITERAL(19, 246, 14), // "insertFromFile"
QT_MOC_LITERAL(20, 261, 13), // "setFrameShape"
QT_MOC_LITERAL(21, 275, 13), // "QFrame::Shape"
QT_MOC_LITERAL(22, 289, 1), // "s"
QT_MOC_LITERAL(23, 291, 14), // "setFrameShadow"
QT_MOC_LITERAL(24, 306, 14), // "QFrame::Shadow"
QT_MOC_LITERAL(25, 321, 12), // "setLineWidth"
QT_MOC_LITERAL(26, 334, 1), // "w"
QT_MOC_LITERAL(27, 336, 15), // "setMidLineWidth"
QT_MOC_LITERAL(28, 352, 38), // "slotUpdateActionsAvailability..."
QT_MOC_LITERAL(29, 391, 5), // "bool*"
QT_MOC_LITERAL(30, 397, 11), // "valueIsNull"
QT_MOC_LITERAL(31, 409, 15), // "valueIsReadOnly"
QT_MOC_LITERAL(32, 425, 26), // "handleInsertFromFileAction"
QT_MOC_LITERAL(33, 452, 3), // "url"
QT_MOC_LITERAL(34, 456, 25), // "handleAboutToSaveAsAction"
QT_MOC_LITERAL(35, 482, 8), // "QString*"
QT_MOC_LITERAL(36, 491, 12), // "origFilename"
QT_MOC_LITERAL(37, 504, 8), // "mimeType"
QT_MOC_LITERAL(38, 513, 11), // "dataIsEmpty"
QT_MOC_LITERAL(39, 525, 18), // "handleSaveAsAction"
QT_MOC_LITERAL(40, 544, 15), // "handleCutAction"
QT_MOC_LITERAL(41, 560, 16), // "handleCopyAction"
QT_MOC_LITERAL(42, 577, 17), // "handlePasteAction"
QT_MOC_LITERAL(43, 595, 5), // "clear"
QT_MOC_LITERAL(44, 601, 26), // "handleShowPropertiesAction"
QT_MOC_LITERAL(45, 628, 10), // "dataSource"
QT_MOC_LITERAL(46, 639, 19), // "dataSourcePartClass"
QT_MOC_LITERAL(47, 659, 8), // "readOnly"
QT_MOC_LITERAL(48, 668, 8), // "pixmapId"
QT_MOC_LITERAL(49, 677, 14), // "storedPixmapId"
QT_MOC_LITERAL(50, 692, 14), // "scaledContents"
QT_MOC_LITERAL(51, 707, 20), // "smoothTransformation"
QT_MOC_LITERAL(52, 728, 15), // "keepAspectRatio"
QT_MOC_LITERAL(53, 744, 21), // "dropDownButtonVisible"
QT_MOC_LITERAL(54, 766, 11), // "focusPolicy"
QT_MOC_LITERAL(55, 778, 15), // "Qt::FocusPolicy"
QT_MOC_LITERAL(56, 794, 10), // "frameShape"
QT_MOC_LITERAL(57, 805, 5), // "Shape"
QT_MOC_LITERAL(58, 811, 11), // "frameShadow"
QT_MOC_LITERAL(59, 823, 6), // "Shadow"
QT_MOC_LITERAL(60, 830, 9), // "lineWidth"
QT_MOC_LITERAL(61, 840, 12) // "midLineWidth"

    },
    "KexiDBImageBox\0idChanged\0\0id\0setPixmapId\0"
    "setStoredPixmapId\0setDataSource\0ds\0"
    "setDataSourcePluginId\0pluginId\0"
    "setReadOnly\0set\0setScaledContents\0"
    "setSmoothTransformation\0setAlignment\0"
    "Qt::Alignment\0alignment\0setKeepAspectRatio\0"
    "setDropDownButtonVisible\0insertFromFile\0"
    "setFrameShape\0QFrame::Shape\0s\0"
    "setFrameShadow\0QFrame::Shadow\0"
    "setLineWidth\0w\0setMidLineWidth\0"
    "slotUpdateActionsAvailabilityRequested\0"
    "bool*\0valueIsNull\0valueIsReadOnly\0"
    "handleInsertFromFileAction\0url\0"
    "handleAboutToSaveAsAction\0QString*\0"
    "origFilename\0mimeType\0dataIsEmpty\0"
    "handleSaveAsAction\0handleCutAction\0"
    "handleCopyAction\0handlePasteAction\0"
    "clear\0handleShowPropertiesAction\0"
    "dataSource\0dataSourcePartClass\0readOnly\0"
    "pixmapId\0storedPixmapId\0scaledContents\0"
    "smoothTransformation\0keepAspectRatio\0"
    "dropDownButtonVisible\0focusPolicy\0"
    "Qt::FocusPolicy\0frameShape\0Shape\0"
    "frameShadow\0Shadow\0lineWidth\0midLineWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiDBImageBox[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    1,  142,    2, 0x0a /* Public */,
       5,    1,  145,    2, 0x0a /* Public */,
       6,    1,  148,    2, 0x0a /* Public */,
       8,    1,  151,    2, 0x0a /* Public */,
      10,    1,  154,    2, 0x0a /* Public */,
      12,    1,  157,    2, 0x0a /* Public */,
      13,    1,  160,    2, 0x0a /* Public */,
      14,    1,  163,    2, 0x0a /* Public */,
      17,    1,  166,    2, 0x0a /* Public */,
      18,    1,  169,    2, 0x0a /* Public */,
      19,    0,  172,    2, 0x0a /* Public */,
      20,    1,  173,    2, 0x0a /* Public */,
      23,    1,  176,    2, 0x0a /* Public */,
      25,    1,  179,    2, 0x0a /* Public */,
      27,    1,  182,    2, 0x0a /* Public */,
      28,    2,  185,    2, 0x09 /* Protected */,
      32,    1,  190,    2, 0x09 /* Protected */,
      34,    3,  193,    2, 0x09 /* Protected */,
      39,    1,  200,    2, 0x09 /* Protected */,
      40,    0,  203,    2, 0x09 /* Protected */,
      41,    0,  204,    2, 0x09 /* Protected */,
      42,    0,  205,    2, 0x09 /* Protected */,
      43,    0,  206,    2, 0x09 /* Protected */,
      44,    0,  207,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Long,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, 0x80000000 | 24,   22,
    QMetaType::Void, QMetaType::Int,   26,
    QMetaType::Void, QMetaType::Int,   26,
    QMetaType::Void, 0x80000000 | 29, 0x80000000 | 29,   30,   31,
    QMetaType::Void, QMetaType::QUrl,   33,
    QMetaType::Void, 0x80000000 | 35, 0x80000000 | 35, 0x80000000 | 29,   36,   37,   38,
    QMetaType::Bool, QMetaType::QUrl,   33,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      45, QMetaType::QString, 0x00095103,
      46, QMetaType::QString, 0x00095003,
      47, QMetaType::Bool, 0x00095103,
      48, QMetaType::Int, 0x00085103,
      49, QMetaType::Int, 0x00094103,
      50, QMetaType::Bool, 0x00095103,
      51, QMetaType::Bool, 0x00095103,
      52, QMetaType::Bool, 0x00095103,
      16, 0x80000000 | 15, 0x0009510b,
      53, QMetaType::Bool, 0x00095103,
      54, 0x80000000 | 55, 0x0009510b,
      56, 0x80000000 | 57, 0x0009510b,
      58, 0x80000000 | 59, 0x0009510b,
      60, QMetaType::Int, 0x00095103,
      61, QMetaType::Int, 0x00095103,

 // enums: name, flags, count, data

 // enum data: key, value

       0        // eod
};

void KexiDBImageBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiDBImageBox *_t = static_cast<KexiDBImageBox *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->idChanged((*reinterpret_cast< long(*)>(_a[1]))); break;
        case 1: _t->setPixmapId((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->setStoredPixmapId((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setDataSource((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setDataSourcePluginId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setReadOnly((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->setScaledContents((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->setSmoothTransformation((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setAlignment((*reinterpret_cast< Qt::Alignment(*)>(_a[1]))); break;
        case 9: _t->setKeepAspectRatio((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->setDropDownButtonVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->insertFromFile(); break;
        case 12: _t->setFrameShape((*reinterpret_cast< QFrame::Shape(*)>(_a[1]))); break;
        case 13: _t->setFrameShadow((*reinterpret_cast< QFrame::Shadow(*)>(_a[1]))); break;
        case 14: _t->setLineWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->setMidLineWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->slotUpdateActionsAvailabilityRequested((*reinterpret_cast< bool*(*)>(_a[1])),(*reinterpret_cast< bool*(*)>(_a[2]))); break;
        case 17: _t->handleInsertFromFileAction((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 18: _t->handleAboutToSaveAsAction((*reinterpret_cast< QString*(*)>(_a[1])),(*reinterpret_cast< QString*(*)>(_a[2])),(*reinterpret_cast< bool*(*)>(_a[3]))); break;
        case 19: { bool _r = _t->handleSaveAsAction((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 20: _t->handleCutAction(); break;
        case 21: _t->handleCopyAction(); break;
        case 22: _t->handlePasteAction(); break;
        case 23: _t->clear(); break;
        case 24: _t->handleShowPropertiesAction(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiDBImageBox::*_t)(long );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiDBImageBox::idChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KexiDBImageBox *_t = static_cast<KexiDBImageBox *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->dataSource(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->dataSourcePluginId(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->pixmapId(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->storedPixmapId(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->hasScaledContents(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->smoothTransformation(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->keepAspectRatio(); break;
        case 8: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->dropDownButtonVisible(); break;
        case 10: *reinterpret_cast< Qt::FocusPolicy*>(_v) = _t->focusPolicyInternal(); break;
        case 11: *reinterpret_cast< Shape*>(_v) = _t->frameShape(); break;
        case 12: *reinterpret_cast< Shadow*>(_v) = _t->frameShadow(); break;
        case 13: *reinterpret_cast< int*>(_v) = _t->lineWidth(); break;
        case 14: *reinterpret_cast< int*>(_v) = _t->midLineWidth(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KexiDBImageBox *_t = static_cast<KexiDBImageBox *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDataSource(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setDataSourcePluginId(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setPixmapId(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setStoredPixmapId(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setScaledContents(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setSmoothTransformation(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setKeepAspectRatio(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 9: _t->setDropDownButtonVisible(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setFocusPolicy(*reinterpret_cast< Qt::FocusPolicy*>(_v)); break;
        case 11: _t->setFrameShape(*reinterpret_cast< Shape*>(_v)); break;
        case 12: _t->setFrameShadow(*reinterpret_cast< Shadow*>(_v)); break;
        case 13: _t->setLineWidth(*reinterpret_cast< int*>(_v)); break;
        case 14: _t->setMidLineWidth(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KexiDBImageBox::staticMetaObject = {
    { &KexiFrame::staticMetaObject, qt_meta_stringdata_KexiDBImageBox.data,
      qt_meta_data_KexiDBImageBox,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KexiDBImageBox::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KexiDBImageBox.stringdata0))
        return static_cast<void*>(const_cast< KexiDBImageBox*>(this));
    if (!strcmp(_clname, "KexiFormDataItemInterface"))
        return static_cast< KexiFormDataItemInterface*>(const_cast< KexiDBImageBox*>(this));
    if (!strcmp(_clname, "KexiSubwidgetInterface"))
        return static_cast< KexiSubwidgetInterface*>(const_cast< KexiDBImageBox*>(this));
    return KexiFrame::qt_metacast(_clname);
}

int KexiDBImageBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KexiFrame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 25)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 25;
    }
#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 -= 15;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 15;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KexiDBImageBox::idChanged(long _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
