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

#include "../../src/kwidgetsaddons-5.12.0/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.4.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_KActionSelector_t {
    QByteArrayData data[32];
    char stringdata[432];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KActionSelector_t, stringdata) + 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, 16), // "buttonAddClicked"
QT_MOC_LITERAL(10, 106, 19), // "buttonRemoveClicked"
QT_MOC_LITERAL(11, 126, 15), // "buttonUpClicked"
QT_MOC_LITERAL(12, 142, 17), // "buttonDownClicked"
QT_MOC_LITERAL(13, 160, 17), // "itemDoubleClicked"
QT_MOC_LITERAL(14, 178, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(15, 197, 17), // "moveOnDoubleClick"
QT_MOC_LITERAL(16, 215, 15), // "keyboardEnabled"
QT_MOC_LITERAL(17, 231, 14), // "availableLabel"
QT_MOC_LITERAL(18, 246, 13), // "selectedLabel"
QT_MOC_LITERAL(19, 260, 24), // "availableInsertionPolicy"
QT_MOC_LITERAL(20, 285, 15), // "InsertionPolicy"
QT_MOC_LITERAL(21, 301, 23), // "selectedInsertionPolicy"
QT_MOC_LITERAL(22, 325, 17), // "showUpDownButtons"
QT_MOC_LITERAL(23, 343, 10), // "MoveButton"
QT_MOC_LITERAL(24, 354, 9), // "ButtonAdd"
QT_MOC_LITERAL(25, 364, 12), // "ButtonRemove"
QT_MOC_LITERAL(26, 377, 8), // "ButtonUp"
QT_MOC_LITERAL(27, 386, 10), // "ButtonDown"
QT_MOC_LITERAL(28, 397, 12), // "BelowCurrent"
QT_MOC_LITERAL(29, 410, 6), // "Sorted"
QT_MOC_LITERAL(30, 417, 5), // "AtTop"
QT_MOC_LITERAL(31, 423, 8) // "AtBottom"

    },
    "KActionSelector\0added\0\0QListWidgetItem*\0"
    "item\0removed\0movedUp\0movedDown\0"
    "setButtonsEnabled\0buttonAddClicked\0"
    "buttonRemoveClicked\0buttonUpClicked\0"
    "buttonDownClicked\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
      11,   14, // methods
       7,   92, // properties
       2,  113, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       5,    1,   72,    2, 0x06 /* Public */,
       6,    1,   75,    2, 0x06 /* Public */,
       7,    1,   78,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   81,    2, 0x0a /* Public */,
       9,    0,   82,    2, 0x08 /* Private */,
      10,    0,   83,    2, 0x08 /* Private */,
      11,    0,   84,    2, 0x08 /* Private */,
      12,    0,   85,    2, 0x08 /* Private */,
      13,    1,   86,    2, 0x08 /* Private */,
      14,    1,   89,    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,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    2,

 // properties: name, type, flags
      15, QMetaType::Bool, 0x00095103,
      16, QMetaType::Bool, 0x00095103,
      17, QMetaType::QString, 0x00095103,
      18, QMetaType::QString, 0x00095103,
      19, 0x80000000 | 20, 0x0009510b,
      21, 0x80000000 | 20, 0x0009510b,
      22, QMetaType::Bool, 0x00095103,

 // enums: name, flags, count, data
      23, 0x0,    4,  121,
      20, 0x0,    4,  129,

 // enum data: key, value
      24, uint(KActionSelector::ButtonAdd),
      25, uint(KActionSelector::ButtonRemove),
      26, uint(KActionSelector::ButtonUp),
      27, uint(KActionSelector::ButtonDown),
      28, uint(KActionSelector::BelowCurrent),
      29, uint(KActionSelector::Sorted),
      30, uint(KActionSelector::AtTop),
      31, 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);
        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->buttonAddClicked(); break;
        case 6: _t->d->buttonRemoveClicked(); break;
        case 7: _t->d->buttonUpClicked(); break;
        case 8: _t->d->buttonDownClicked(); break;
        case 9: _t->d->itemDoubleClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 10: _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;
            }
        }
        {
            typedef void (KActionSelector::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionSelector::removed)) {
                *result = 1;
            }
        }
        {
            typedef void (KActionSelector::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionSelector::movedUp)) {
                *result = 2;
            }
        }
        {
            typedef void (KActionSelector::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionSelector::movedDown)) {
                *result = 3;
            }
        }
    }
}

const QMetaObject KActionSelector::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KActionSelector.data,
      qt_meta_data_KActionSelector,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KActionSelector.stringdata))
        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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = moveOnDoubleClick(); break;
        case 1: *reinterpret_cast< bool*>(_v) = keyboardEnabled(); break;
        case 2: *reinterpret_cast< QString*>(_v) = availableLabel(); break;
        case 3: *reinterpret_cast< QString*>(_v) = selectedLabel(); break;
        case 4: *reinterpret_cast< InsertionPolicy*>(_v) = availableInsertionPolicy(); break;
        case 5: *reinterpret_cast< InsertionPolicy*>(_v) = selectedInsertionPolicy(); break;
        case 6: *reinterpret_cast< bool*>(_v) = showUpDownButtons(); break;
        default: break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setMoveOnDoubleClick(*reinterpret_cast< bool*>(_v)); break;
        case 1: setKeyboardEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 2: setAvailableLabel(*reinterpret_cast< QString*>(_v)); break;
        case 3: setSelectedLabel(*reinterpret_cast< QString*>(_v)); break;
        case 4: setAvailableInsertionPolicy(*reinterpret_cast< InsertionPolicy*>(_v)); break;
        case 5: setSelectedInsertionPolicy(*reinterpret_cast< InsertionPolicy*>(_v)); break;
        case 6: setShowUpDownButtons(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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