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

#include "../../src/libkleo-17.12.3/src/ui/keylistview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'keylistview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_Kleo__KeyListView_t {
    QByteArrayData data[18];
    char stringdata0[268];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kleo__KeyListView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kleo__KeyListView_t qt_meta_stringdata_Kleo__KeyListView = {
    {
QT_MOC_LITERAL(0, 0, 17), // "Kleo::KeyListView"
QT_MOC_LITERAL(1, 18, 13), // "doubleClicked"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 22), // "Kleo::KeyListViewItem*"
QT_MOC_LITERAL(4, 56, 13), // "returnPressed"
QT_MOC_LITERAL(5, 70, 16), // "selectionChanged"
QT_MOC_LITERAL(6, 87, 11), // "contextMenu"
QT_MOC_LITERAL(7, 99, 10), // "slotAddKey"
QT_MOC_LITERAL(8, 110, 10), // "GpgME::Key"
QT_MOC_LITERAL(9, 121, 3), // "key"
QT_MOC_LITERAL(10, 125, 14), // "slotRefreshKey"
QT_MOC_LITERAL(11, 140, 21), // "slotEmitDoubleClicked"
QT_MOC_LITERAL(12, 162, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(13, 179, 21), // "slotEmitReturnPressed"
QT_MOC_LITERAL(14, 201, 24), // "slotEmitSelectionChanged"
QT_MOC_LITERAL(15, 226, 19), // "slotEmitContextMenu"
QT_MOC_LITERAL(16, 246, 3), // "pos"
QT_MOC_LITERAL(17, 250, 17) // "slotUpdateTimeout"

    },
    "Kleo::KeyListView\0doubleClicked\0\0"
    "Kleo::KeyListViewItem*\0returnPressed\0"
    "selectionChanged\0contextMenu\0slotAddKey\0"
    "GpgME::Key\0key\0slotRefreshKey\0"
    "slotEmitDoubleClicked\0QTreeWidgetItem*\0"
    "slotEmitReturnPressed\0slotEmitSelectionChanged\0"
    "slotEmitContextMenu\0pos\0slotUpdateTimeout"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kleo__KeyListView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   69,    2, 0x06 /* Public */,
       4,    1,   74,    2, 0x06 /* Public */,
       5,    1,   77,    2, 0x06 /* Public */,
       6,    2,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   85,    2, 0x0a /* Public */,
      10,    1,   88,    2, 0x0a /* Public */,
      11,    2,   91,    2, 0x08 /* Private */,
      13,    1,   96,    2, 0x08 /* Private */,
      14,    0,   99,    2, 0x08 /* Private */,
      15,    1,  100,    2, 0x08 /* Private */,
      17,    0,  103,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    2,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QPoint,    2,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 12, QMetaType::Int,    2,    2,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   16,
    QMetaType::Void,

       0        // eod
};

void Kleo::KeyListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KeyListView *_t = static_cast<KeyListView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->doubleClicked((*reinterpret_cast< Kleo::KeyListViewItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->returnPressed((*reinterpret_cast< Kleo::KeyListViewItem*(*)>(_a[1]))); break;
        case 2: _t->selectionChanged((*reinterpret_cast< Kleo::KeyListViewItem*(*)>(_a[1]))); break;
        case 3: _t->contextMenu((*reinterpret_cast< Kleo::KeyListViewItem*(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 4: _t->slotAddKey((*reinterpret_cast< const GpgME::Key(*)>(_a[1]))); break;
        case 5: _t->slotRefreshKey((*reinterpret_cast< const GpgME::Key(*)>(_a[1]))); break;
        case 6: _t->slotEmitDoubleClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->slotEmitReturnPressed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 8: _t->slotEmitSelectionChanged(); break;
        case 9: _t->slotEmitContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 10: _t->slotUpdateTimeout(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KeyListView::*_t)(Kleo::KeyListViewItem * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyListView::doubleClicked)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KeyListView::*_t)(Kleo::KeyListViewItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyListView::returnPressed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KeyListView::*_t)(Kleo::KeyListViewItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyListView::selectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KeyListView::*_t)(Kleo::KeyListViewItem * , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyListView::contextMenu)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Kleo::KeyListView::staticMetaObject = {
    { &QTreeWidget::staticMetaObject, qt_meta_stringdata_Kleo__KeyListView.data,
      qt_meta_data_Kleo__KeyListView,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kleo::KeyListView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kleo__KeyListView.stringdata0))
        return static_cast<void*>(this);
    return QTreeWidget::qt_metacast(_clname);
}

int Kleo::KeyListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeWidget::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;
    }
    return _id;
}

// SIGNAL 0
void Kleo::KeyListView::doubleClicked(Kleo::KeyListViewItem * _t1, int _t2)
{
    void *_a[] = { 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 Kleo::KeyListView::returnPressed(Kleo::KeyListViewItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void Kleo::KeyListView::contextMenu(Kleo::KeyListViewItem * _t1, const QPoint & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
