/****************************************************************************
** Meta object code from reading C++ file 'qlistwidget.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/qtbase-opensource-src-5.4.2/src/widgets/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.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_QListWidget_t {
    QByteArrayData data[37];
    char stringdata[527];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QListWidget_t, stringdata) + 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, 5), // "index"
QT_MOC_LITERAL(25, 334, 18), // "_q_emitItemClicked"
QT_MOC_LITERAL(26, 353, 24), // "_q_emitItemDoubleClicked"
QT_MOC_LITERAL(27, 378, 20), // "_q_emitItemActivated"
QT_MOC_LITERAL(28, 399, 18), // "_q_emitItemEntered"
QT_MOC_LITERAL(29, 418, 18), // "_q_emitItemChanged"
QT_MOC_LITERAL(30, 437, 25), // "_q_emitCurrentItemChanged"
QT_MOC_LITERAL(31, 463, 7), // "_q_sort"
QT_MOC_LITERAL(32, 471, 14), // "_q_dataChanged"
QT_MOC_LITERAL(33, 486, 7), // "topLeft"
QT_MOC_LITERAL(34, 494, 11), // "bottomRight"
QT_MOC_LITERAL(35, 506, 5), // "count"
QT_MOC_LITERAL(36, 512, 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\0index\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\0"
    "bottomRight\0count\0sortingEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QListWidget[] = {

 // content:
       7,       // 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 */,
      25,    1,  166,    2, 0x08 /* Private */,
      26,    1,  169,    2, 0x08 /* Private */,
      27,    1,  172,    2, 0x08 /* Private */,
      28,    1,  175,    2, 0x08 /* Private */,
      29,    1,  178,    2, 0x08 /* Private */,
      30,    2,  181,    2, 0x08 /* Private */,
      31,    0,  186,    2, 0x08 /* Private */,
      32,    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, QMetaType::QModelIndex,   24,
    QMetaType::Void, QMetaType::QModelIndex,   24,
    QMetaType::Void, QMetaType::QModelIndex,   24,
    QMetaType::Void, QMetaType::QModelIndex,   24,
    QMetaType::Void, QMetaType::QModelIndex,   24,
    QMetaType::Void, QMetaType::QModelIndex,   24,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   12,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   33,   34,

 // properties: name, type, flags
      35, QMetaType::Int, 0x00095001,
      16, QMetaType::Int, 0x00595103,
      36, 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) {
        QListWidget *_t = static_cast<QListWidget *>(_o);
        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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QListWidget::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::itemPressed)) {
                *result = 0;
            }
        }
        {
            typedef void (QListWidget::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::itemClicked)) {
                *result = 1;
            }
        }
        {
            typedef void (QListWidget::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::itemDoubleClicked)) {
                *result = 2;
            }
        }
        {
            typedef void (QListWidget::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::itemActivated)) {
                *result = 3;
            }
        }
        {
            typedef void (QListWidget::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::itemEntered)) {
                *result = 4;
            }
        }
        {
            typedef void (QListWidget::*_t)(QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::itemChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QListWidget::*_t)(QListWidgetItem * , QListWidgetItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::currentItemChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (QListWidget::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::currentTextChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (QListWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::currentRowChanged)) {
                *result = 8;
            }
        }
        {
            typedef void (QListWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QListWidget::itemSelectionChanged)) {
                *result = 9;
            }
        }
    }
}

const QMetaObject QListWidget::staticMetaObject = {
    { &QListView::staticMetaObject, qt_meta_stringdata_QListWidget.data,
      qt_meta_data_QListWidget,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QListWidget.stringdata))
        return static_cast<void*>(const_cast< QListWidget*>(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) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = count(); break;
        case 1: *reinterpret_cast< int*>(_v) = currentRow(); break;
        case 2: *reinterpret_cast< bool*>(_v) = isSortingEnabled(); break;
        default: break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: setCurrentRow(*reinterpret_cast< int*>(_v)); break;
        case 2: setSortingEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

// SIGNAL 6
void QListWidget::currentItemChanged(QListWidgetItem * _t1, QListWidgetItem * _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, 6, _a);
}

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

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

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