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

#include <memory>
#include "../itemviews/qlistwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qlistwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QListWidget_t {
    QByteArrayData data[38];
    char stringdata0[539];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QListWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QListWidget_t qt_meta_stringdata_QListWidget = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QListWidget"
QT_MOC_LITERAL(1, 12, 11), // "itemPressed"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(4, 42, 4), // "item"
QT_MOC_LITERAL(5, 47, 11), // "itemClicked"
QT_MOC_LITERAL(6, 59, 17), // "itemDoubleClicked"
QT_MOC_LITERAL(7, 77, 13), // "itemActivated"
QT_MOC_LITERAL(8, 91, 11), // "itemEntered"
QT_MOC_LITERAL(9, 103, 11), // "itemChanged"
QT_MOC_LITERAL(10, 115, 18), // "currentItemChanged"
QT_MOC_LITERAL(11, 134, 7), // "current"
QT_MOC_LITERAL(12, 142, 8), // "previous"
QT_MOC_LITERAL(13, 151, 18), // "currentTextChanged"
QT_MOC_LITERAL(14, 170, 11), // "currentText"
QT_MOC_LITERAL(15, 182, 17), // "currentRowChanged"
QT_MOC_LITERAL(16, 200, 10), // "currentRow"
QT_MOC_LITERAL(17, 211, 20), // "itemSelectionChanged"
QT_MOC_LITERAL(18, 232, 12), // "scrollToItem"
QT_MOC_LITERAL(19, 245, 22), // "const QListWidgetItem*"
QT_MOC_LITERAL(20, 268, 29), // "QAbstractItemView::ScrollHint"
QT_MOC_LITERAL(21, 298, 4), // "hint"
QT_MOC_LITERAL(22, 303, 5), // "clear"
QT_MOC_LITERAL(23, 309, 18), // "_q_emitItemPressed"
QT_MOC_LITERAL(24, 328, 11), // "QModelIndex"
QT_MOC_LITERAL(25, 340, 5), // "index"
QT_MOC_LITERAL(26, 346, 18), // "_q_emitItemClicked"
QT_MOC_LITERAL(27, 365, 24), // "_q_emitItemDoubleClicked"
QT_MOC_LITERAL(28, 390, 20), // "_q_emitItemActivated"
QT_MOC_LITERAL(29, 411, 18), // "_q_emitItemEntered"
QT_MOC_LITERAL(30, 430, 18), // "_q_emitItemChanged"
QT_MOC_LITERAL(31, 449, 25), // "_q_emitCurrentItemChanged"
QT_MOC_LITERAL(32, 475, 7), // "_q_sort"
QT_MOC_LITERAL(33, 483, 14), // "_q_dataChanged"
QT_MOC_LITERAL(34, 498, 7), // "topLeft"
QT_MOC_LITERAL(35, 506, 11), // "bottomRight"
QT_MOC_LITERAL(36, 518, 5), // "count"
QT_MOC_LITERAL(37, 524, 14) // "sortingEnabled"

    },
    "QListWidget\0itemPressed\0\0QListWidgetItem*\0"
    "item\0itemClicked\0itemDoubleClicked\0"
    "itemActivated\0itemEntered\0itemChanged\0"
    "currentItemChanged\0current\0previous\0"
    "currentTextChanged\0currentText\0"
    "currentRowChanged\0currentRow\0"
    "itemSelectionChanged\0scrollToItem\0"
    "const QListWidgetItem*\0"
    "QAbstractItemView::ScrollHint\0hint\0"
    "clear\0_q_emitItemPressed\0QModelIndex\0"
    "index\0_q_emitItemClicked\0"
    "_q_emitItemDoubleClicked\0_q_emitItemActivated\0"
    "_q_emitItemEntered\0_q_emitItemChanged\0"
    "_q_emitCurrentItemChanged\0_q_sort\0"
    "_q_dataChanged\0topLeft\0bottomRight\0"
    "count\0sortingEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QListWidget[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
       3,  192, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x06 /* Public */,
       5,    1,  127,    2, 0x06 /* Public */,
       6,    1,  130,    2, 0x06 /* Public */,
       7,    1,  133,    2, 0x06 /* Public */,
       8,    1,  136,    2, 0x06 /* Public */,
       9,    1,  139,    2, 0x06 /* Public */,
      10,    2,  142,    2, 0x06 /* Public */,
      13,    1,  147,    2, 0x06 /* Public */,
      15,    1,  150,    2, 0x06 /* Public */,
      17,    0,  153,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    2,  154,    2, 0x0a /* Public */,
      18,    1,  159,    2, 0x2a /* Public | MethodCloned */,
      22,    0,  162,    2, 0x0a /* Public */,
      23,    1,  163,    2, 0x08 /* Private */,
      26,    1,  166,    2, 0x08 /* Private */,
      27,    1,  169,    2, 0x08 /* Private */,
      28,    1,  172,    2, 0x08 /* Private */,
      29,    1,  175,    2, 0x08 /* Private */,
      30,    1,  178,    2, 0x08 /* Private */,
      31,    2,  181,    2, 0x08 /* Private */,
      32,    0,  186,    2, 0x08 /* Private */,
      33,    2,  187,    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,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,   11,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 20,    4,   21,
    QMetaType::Void, 0x80000000 | 19,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 24, 0x80000000 | 24,   12,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24, 0x80000000 | 24,   34,   35,

 // properties: name, type, flags
      36, QMetaType::Int, 0x00095001,
      16, QMetaType::Int, 0x00595103,
      37, QMetaType::Bool, 0x00095103,

 // properties: notify_signal_id
       0,
       8,
       0,

       0        // eod
};

void QListWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QListWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->itemPressed((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 1: _t->itemClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 2: _t->itemDoubleClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 3: _t->itemActivated((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 4: _t->itemEntered((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 5: _t->itemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 6: _t->currentItemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
        case 7: _t->currentTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->currentRowChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->itemSelectionChanged(); break;
        case 10: _t->scrollToItem((*reinterpret_cast< const QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QAbstractItemView::ScrollHint(*)>(_a[2]))); break;
        case 11: _t->scrollToItem((*reinterpret_cast< const QListWidgetItem*(*)>(_a[1]))); break;
        case 12: _t->clear(); break;
        case 13: _t->d_func()->_q_emitItemPressed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 14: _t->d_func()->_q_emitItemClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 15: _t->d_func()->_q_emitItemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 16: _t->d_func()->_q_emitItemActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 17: _t->d_func()->_q_emitItemEntered((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 18: _t->d_func()->_q_emitItemChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 19: _t->d_func()->_q_emitCurrentItemChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 20: _t->d_func()->_q_sort(); break;
        case 21: _t->d_func()->_q_dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QListWidget::*)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::itemPressed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::itemClicked)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::itemDoubleClicked)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::itemActivated)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::itemEntered)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::itemChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)(QListWidgetItem * , QListWidgetItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::currentItemChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::currentTextChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::currentRowChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QListWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QListWidget::itemSelectionChanged)) {
                *result = 9;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QListWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->count(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->currentRow(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isSortingEnabled(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QListWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setCurrentRow(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setSortingEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QListWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QListView::staticMetaObject>(),
    qt_meta_stringdata_QListWidget.data,
    qt_meta_data_QListWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QListWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QListWidget.stringdata0))
        return static_cast<void*>(this);
    return QListView::qt_metacast(_clname);
}

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

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

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

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

// SIGNAL 3
void QListWidget::itemActivated(QListWidgetItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QListWidget::itemEntered(QListWidgetItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void QListWidget::itemChanged(QListWidgetItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void QListWidget::currentItemChanged(QListWidgetItem * _t1, QListWidgetItem * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void QListWidget::currentTextChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void QListWidget::currentRowChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void QListWidget::itemSelectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
