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

#include "../../../../src/kactionselector.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kactionselector.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.1. 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_KActionSelector_t {
    QByteArrayData data[28];
    char stringdata0[361];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KActionSelector_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KActionSelector_t qt_meta_stringdata_KActionSelector = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KActionSelector"
QT_MOC_LITERAL(1, 16, 5), // "added"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(4, 40, 4), // "item"
QT_MOC_LITERAL(5, 45, 7), // "removed"
QT_MOC_LITERAL(6, 53, 7), // "movedUp"
QT_MOC_LITERAL(7, 61, 9), // "movedDown"
QT_MOC_LITERAL(8, 71, 17), // "setButtonsEnabled"
QT_MOC_LITERAL(9, 89, 17), // "itemDoubleClicked"
QT_MOC_LITERAL(10, 107, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(11, 126, 17), // "moveOnDoubleClick"
QT_MOC_LITERAL(12, 144, 15), // "keyboardEnabled"
QT_MOC_LITERAL(13, 160, 14), // "availableLabel"
QT_MOC_LITERAL(14, 175, 13), // "selectedLabel"
QT_MOC_LITERAL(15, 189, 24), // "availableInsertionPolicy"
QT_MOC_LITERAL(16, 214, 15), // "InsertionPolicy"
QT_MOC_LITERAL(17, 230, 23), // "selectedInsertionPolicy"
QT_MOC_LITERAL(18, 254, 17), // "showUpDownButtons"
QT_MOC_LITERAL(19, 272, 10), // "MoveButton"
QT_MOC_LITERAL(20, 283, 9), // "ButtonAdd"
QT_MOC_LITERAL(21, 293, 12), // "ButtonRemove"
QT_MOC_LITERAL(22, 306, 8), // "ButtonUp"
QT_MOC_LITERAL(23, 315, 10), // "ButtonDown"
QT_MOC_LITERAL(24, 326, 12), // "BelowCurrent"
QT_MOC_LITERAL(25, 339, 6), // "Sorted"
QT_MOC_LITERAL(26, 346, 5), // "AtTop"
QT_MOC_LITERAL(27, 352, 8) // "AtBottom"

    },
    "KActionSelector\0added\0\0QListWidgetItem*\0"
    "item\0removed\0movedUp\0movedDown\0"
    "setButtonsEnabled\0itemDoubleClicked\0"
    "slotCurrentChanged\0moveOnDoubleClick\0"
    "keyboardEnabled\0availableLabel\0"
    "selectedLabel\0availableInsertionPolicy\0"
    "InsertionPolicy\0selectedInsertionPolicy\0"
    "showUpDownButtons\0MoveButton\0ButtonAdd\0"
    "ButtonRemove\0ButtonUp\0ButtonDown\0"
    "BelowCurrent\0Sorted\0AtTop\0AtBottom"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KActionSelector[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,
       5,    1,   52,    2, 0x06 /* Public */,
       6,    1,   55,    2, 0x06 /* Public */,
       7,    1,   58,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   61,    2, 0x0a /* Public */,
       9,    1,   62,    2, 0x08 /* Private */,
      10,    1,   65,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    2,

 // properties: name, type, flags
      11, QMetaType::Bool, 0x00095103,
      12, QMetaType::Bool, 0x00095103,
      13, QMetaType::QString, 0x00095103,
      14, QMetaType::QString, 0x00095103,
      15, 0x80000000 | 16, 0x0009510b,
      17, 0x80000000 | 16, 0x0009510b,
      18, QMetaType::Bool, 0x00095103,

 // enums: name, flags, count, data
      19, 0x0,    4,   97,
      16, 0x0,    4,  105,

 // enum data: key, value
      20, uint(KActionSelector::ButtonAdd),
      21, uint(KActionSelector::ButtonRemove),
      22, uint(KActionSelector::ButtonUp),
      23, uint(KActionSelector::ButtonDown),
      24, uint(KActionSelector::BelowCurrent),
      25, uint(KActionSelector::Sorted),
      26, uint(KActionSelector::AtTop),
      27, uint(KActionSelector::AtBottom),

       0        // eod
};

void KActionSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KActionSelector *_t = static_cast<KActionSelector *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->added((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 1: _t->removed((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 2: _t->movedUp((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 3: _t->movedDown((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 4: _t->setButtonsEnabled(); break;
        case 5: _t->d->itemDoubleClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 6: _t->d->slotCurrentChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KActionSelector::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionSelector::added)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KActionSelector::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionSelector::removed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KActionSelector::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionSelector::movedUp)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KActionSelector::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionSelector::movedDown)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KActionSelector *_t = static_cast<KActionSelector *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->moveOnDoubleClick(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->keyboardEnabled(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->availableLabel(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->selectedLabel(); break;
        case 4: *reinterpret_cast< InsertionPolicy*>(_v) = _t->availableInsertionPolicy(); break;
        case 5: *reinterpret_cast< InsertionPolicy*>(_v) = _t->selectedInsertionPolicy(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->showUpDownButtons(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KActionSelector *_t = static_cast<KActionSelector *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMoveOnDoubleClick(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setKeyboardEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setAvailableLabel(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setSelectedLabel(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setAvailableInsertionPolicy(*reinterpret_cast< InsertionPolicy*>(_v)); break;
        case 5: _t->setSelectedInsertionPolicy(*reinterpret_cast< InsertionPolicy*>(_v)); break;
        case 6: _t->setShowUpDownButtons(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KActionSelector::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KActionSelector.data,
      qt_meta_data_KActionSelector,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KActionSelector::removed(QListWidgetItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KActionSelector::movedUp(QListWidgetItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KActionSelector::movedDown(QListWidgetItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
