/****************************************************************************
** Meta object code from reading C++ file 'kexicontextmenuutils.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/widget/utils/kexicontextmenuutils.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexicontextmenuutils.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_KexiImageContextMenu_t {
    QByteArrayData data[27];
    char stringdata0[371];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiImageContextMenu_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiImageContextMenu_t qt_meta_stringdata_KexiImageContextMenu = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KexiImageContextMenu"
QT_MOC_LITERAL(1, 21, 34), // "updateActionsAvailabilityRequ..."
QT_MOC_LITERAL(2, 56, 0), // ""
QT_MOC_LITERAL(3, 57, 5), // "bool*"
QT_MOC_LITERAL(4, 63, 11), // "valueIsNull"
QT_MOC_LITERAL(5, 75, 15), // "valueIsReadOnly"
QT_MOC_LITERAL(6, 91, 23), // "insertFromFileRequested"
QT_MOC_LITERAL(7, 115, 3), // "url"
QT_MOC_LITERAL(8, 119, 22), // "aboutToSaveAsRequested"
QT_MOC_LITERAL(9, 142, 8), // "QString*"
QT_MOC_LITERAL(10, 151, 12), // "origFilename"
QT_MOC_LITERAL(11, 164, 13), // "fileExtension"
QT_MOC_LITERAL(12, 178, 11), // "dataIsEmpty"
QT_MOC_LITERAL(13, 190, 15), // "saveAsRequested"
QT_MOC_LITERAL(14, 206, 12), // "cutRequested"
QT_MOC_LITERAL(15, 219, 13), // "copyRequested"
QT_MOC_LITERAL(16, 233, 14), // "pasteRequested"
QT_MOC_LITERAL(17, 248, 14), // "clearRequested"
QT_MOC_LITERAL(18, 263, 23), // "showPropertiesRequested"
QT_MOC_LITERAL(19, 287, 25), // "updateActionsAvailability"
QT_MOC_LITERAL(20, 313, 14), // "insertFromFile"
QT_MOC_LITERAL(21, 328, 6), // "saveAs"
QT_MOC_LITERAL(22, 335, 3), // "cut"
QT_MOC_LITERAL(23, 339, 4), // "copy"
QT_MOC_LITERAL(24, 344, 5), // "paste"
QT_MOC_LITERAL(25, 350, 5), // "clear"
QT_MOC_LITERAL(26, 356, 14) // "showProperties"

    },
    "KexiImageContextMenu\0"
    "updateActionsAvailabilityRequested\0\0"
    "bool*\0valueIsNull\0valueIsReadOnly\0"
    "insertFromFileRequested\0url\0"
    "aboutToSaveAsRequested\0QString*\0"
    "origFilename\0fileExtension\0dataIsEmpty\0"
    "saveAsRequested\0cutRequested\0copyRequested\0"
    "pasteRequested\0clearRequested\0"
    "showPropertiesRequested\0"
    "updateActionsAvailability\0insertFromFile\0"
    "saveAs\0cut\0copy\0paste\0clear\0showProperties"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiImageContextMenu[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   99,    2, 0x06 /* Public */,
       6,    1,  104,    2, 0x06 /* Public */,
       8,    3,  107,    2, 0x06 /* Public */,
      13,    1,  114,    2, 0x06 /* Public */,
      14,    0,  117,    2, 0x06 /* Public */,
      15,    0,  118,    2, 0x06 /* Public */,
      16,    0,  119,    2, 0x06 /* Public */,
      17,    0,  120,    2, 0x06 /* Public */,
      18,    0,  121,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    0,  122,    2, 0x0a /* Public */,
      20,    0,  123,    2, 0x0a /* Public */,
      21,    0,  124,    2, 0x0a /* Public */,
      22,    0,  125,    2, 0x0a /* Public */,
      23,    0,  126,    2, 0x0a /* Public */,
      24,    0,  127,    2, 0x0a /* Public */,
      25,    0,  128,    2, 0x0a /* Public */,
      26,    0,  129,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    4,    5,
    QMetaType::Void, QMetaType::QUrl,    7,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 9, 0x80000000 | 3,   10,   11,   12,
    QMetaType::Void, QMetaType::QUrl,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

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

       0        // eod
};

void KexiImageContextMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiImageContextMenu *_t = static_cast<KexiImageContextMenu *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->updateActionsAvailabilityRequested((*reinterpret_cast< bool*(*)>(_a[1])),(*reinterpret_cast< bool*(*)>(_a[2]))); break;
        case 1: _t->insertFromFileRequested((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->aboutToSaveAsRequested((*reinterpret_cast< QString*(*)>(_a[1])),(*reinterpret_cast< QString*(*)>(_a[2])),(*reinterpret_cast< bool*(*)>(_a[3]))); break;
        case 3: _t->saveAsRequested((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: _t->cutRequested(); break;
        case 5: _t->copyRequested(); break;
        case 6: _t->pasteRequested(); break;
        case 7: _t->clearRequested(); break;
        case 8: _t->showPropertiesRequested(); break;
        case 9: _t->updateActionsAvailability(); break;
        case 10: _t->insertFromFile(); break;
        case 11: _t->saveAs(); break;
        case 12: _t->cut(); break;
        case 13: _t->copy(); break;
        case 14: _t->paste(); break;
        case 15: _t->clear(); break;
        case 16: _t->showProperties(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiImageContextMenu::*_t)(bool * , bool * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::updateActionsAvailabilityRequested)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiImageContextMenu::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::insertFromFileRequested)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiImageContextMenu::*_t)(QString * , QString * , bool * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::aboutToSaveAsRequested)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KexiImageContextMenu::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::saveAsRequested)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KexiImageContextMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::cutRequested)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KexiImageContextMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::copyRequested)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KexiImageContextMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::pasteRequested)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (KexiImageContextMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::clearRequested)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (KexiImageContextMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiImageContextMenu::showPropertiesRequested)) {
                *result = 8;
                return;
            }
        }
    }
}

const QMetaObject KexiImageContextMenu::staticMetaObject = {
    { &QMenu::staticMetaObject, qt_meta_stringdata_KexiImageContextMenu.data,
      qt_meta_data_KexiImageContextMenu,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KexiImageContextMenu::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KexiImageContextMenu.stringdata0))
        return static_cast<void*>(const_cast< KexiImageContextMenu*>(this));
    return QMenu::qt_metacast(_clname);
}

int KexiImageContextMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMenu::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void KexiImageContextMenu::updateActionsAvailabilityRequested(bool * _t1, bool * _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KexiImageContextMenu::insertFromFileRequested(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KexiImageContextMenu::aboutToSaveAsRequested(QString * _t1, QString * _t2, bool * _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KexiImageContextMenu::saveAsRequested(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KexiImageContextMenu::cutRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void KexiImageContextMenu::copyRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void KexiImageContextMenu::pasteRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void KexiImageContextMenu::clearRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void KexiImageContextMenu::showPropertiesRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
