LCOV - code coverage report
Current view: top level - build/lang/qt/src - keylistjob.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 16 45 35.6 %
Date: 2018-11-14 16:53:58 Functions: 3 6 50.0 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'keylistjob.h'
       3             : **
       4             : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.1)
       5             : **
       6             : ** WARNING! All changes made in this file will be lost!
       7             : *****************************************************************************/
       8             : 
       9             : #include "../../../../lang/qt/src/keylistjob.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'keylistjob.h' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.10.1. It"
      16             : #error "cannot be used with the include files from this version of Qt."
      17             : #error "(The moc has changed too much.)"
      18             : #endif
      19             : 
      20             : QT_BEGIN_MOC_NAMESPACE
      21             : QT_WARNING_PUSH
      22             : QT_WARNING_DISABLE_DEPRECATED
      23             : struct qt_meta_stringdata_QGpgME__KeyListJob_t {
      24             :     QByteArrayData data[12];
      25             :     char stringdata0[142];
      26             : };
      27             : #define QT_MOC_LITERAL(idx, ofs, len) \
      28             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      29             :     qptrdiff(offsetof(qt_meta_stringdata_QGpgME__KeyListJob_t, stringdata0) + ofs \
      30             :         - idx * sizeof(QByteArrayData)) \
      31             :     )
      32             : static const qt_meta_stringdata_QGpgME__KeyListJob_t qt_meta_stringdata_QGpgME__KeyListJob = {
      33             :     {
      34             : QT_MOC_LITERAL(0, 0, 18), // "QGpgME::KeyListJob"
      35             : QT_MOC_LITERAL(1, 19, 7), // "nextKey"
      36             : QT_MOC_LITERAL(2, 27, 0), // ""
      37             : QT_MOC_LITERAL(3, 28, 10), // "GpgME::Key"
      38             : QT_MOC_LITERAL(4, 39, 3), // "key"
      39             : QT_MOC_LITERAL(5, 43, 6), // "result"
      40             : QT_MOC_LITERAL(6, 50, 20), // "GpgME::KeyListResult"
      41             : QT_MOC_LITERAL(7, 71, 23), // "std::vector<GpgME::Key>"
      42             : QT_MOC_LITERAL(8, 95, 4), // "keys"
      43             : QT_MOC_LITERAL(9, 100, 14), // "auditLogAsHtml"
      44             : QT_MOC_LITERAL(10, 115, 12), // "GpgME::Error"
      45             : QT_MOC_LITERAL(11, 128, 13) // "auditLogError"
      46             : 
      47             :     },
      48             :     "QGpgME::KeyListJob\0nextKey\0\0GpgME::Key\0"
      49             :     "key\0result\0GpgME::KeyListResult\0"
      50             :     "std::vector<GpgME::Key>\0keys\0"
      51             :     "auditLogAsHtml\0GpgME::Error\0auditLogError"
      52             : };
      53             : #undef QT_MOC_LITERAL
      54             : 
      55             : static const uint qt_meta_data_QGpgME__KeyListJob[] = {
      56             : 
      57             :  // content:
      58             :        7,       // revision
      59             :        0,       // classname
      60             :        0,    0, // classinfo
      61             :        5,   14, // methods
      62             :        0,    0, // properties
      63             :        0,    0, // enums/sets
      64             :        0,    0, // constructors
      65             :        0,       // flags
      66             :        5,       // signalCount
      67             : 
      68             :  // signals: name, argc, parameters, tag, flags
      69             :        1,    1,   39,    2, 0x06 /* Public */,
      70             :        5,    4,   42,    2, 0x06 /* Public */,
      71             :        5,    3,   51,    2, 0x26 /* Public | MethodCloned */,
      72             :        5,    2,   58,    2, 0x26 /* Public | MethodCloned */,
      73             :        5,    1,   63,    2, 0x26 /* Public | MethodCloned */,
      74             : 
      75             :  // signals: parameters
      76             :     QMetaType::Void, 0x80000000 | 3,    4,
      77             :     QMetaType::Void, 0x80000000 | 6, 0x80000000 | 7, QMetaType::QString, 0x80000000 | 10,    5,    8,    9,   11,
      78             :     QMetaType::Void, 0x80000000 | 6, 0x80000000 | 7, QMetaType::QString,    5,    8,    9,
      79             :     QMetaType::Void, 0x80000000 | 6, 0x80000000 | 7,    5,    8,
      80             :     QMetaType::Void, 0x80000000 | 6,    5,
      81             : 
      82             :        0        // eod
      83             : };
      84             : 
      85           2 : void QGpgME::KeyListJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      86             : {
      87           2 :     if (_c == QMetaObject::InvokeMetaMethod) {
      88           0 :         KeyListJob *_t = static_cast<KeyListJob *>(_o);
      89             :         Q_UNUSED(_t)
      90           0 :         switch (_id) {
      91           0 :         case 0: _t->nextKey((*reinterpret_cast< const GpgME::Key(*)>(_a[1]))); break;
      92           0 :         case 1: _t->result((*reinterpret_cast< const GpgME::KeyListResult(*)>(_a[1])),(*reinterpret_cast< const std::vector<GpgME::Key>(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const GpgME::Error(*)>(_a[4]))); break;
      93           0 :         case 2: _t->result((*reinterpret_cast< const GpgME::KeyListResult(*)>(_a[1])),(*reinterpret_cast< const std::vector<GpgME::Key>(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
      94           0 :         case 3: _t->result((*reinterpret_cast< const GpgME::KeyListResult(*)>(_a[1])),(*reinterpret_cast< const std::vector<GpgME::Key>(*)>(_a[2]))); break;
      95           0 :         case 4: _t->result((*reinterpret_cast< const GpgME::KeyListResult(*)>(_a[1]))); break;
      96             :         default: ;
      97             :         }
      98           2 :     } else if (_c == QMetaObject::IndexOfMethod) {
      99           2 :         int *result = reinterpret_cast<int *>(_a[0]);
     100             :         {
     101             :             typedef void (KeyListJob::*_t)(const GpgME::Key & );
     102           2 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyListJob::nextKey)) {
     103           0 :                 *result = 0;
     104           0 :                 return;
     105             :             }
     106             :         }
     107             :         {
     108             :             typedef void (KeyListJob::*_t)(const GpgME::KeyListResult & , const std::vector<GpgME::Key> & , const QString & , const GpgME::Error & );
     109           2 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyListJob::result)) {
     110           2 :                 *result = 1;
     111           2 :                 return;
     112             :             }
     113             :         }
     114             :     }
     115             : }
     116             : 
     117             : QT_INIT_METAOBJECT const QMetaObject QGpgME::KeyListJob::staticMetaObject = {
     118             :     { &Job::staticMetaObject, qt_meta_stringdata_QGpgME__KeyListJob.data,
     119             :       qt_meta_data_QGpgME__KeyListJob,  qt_static_metacall, nullptr, nullptr}
     120             : };
     121             : 
     122             : 
     123           0 : const QMetaObject *QGpgME::KeyListJob::metaObject() const
     124             : {
     125           0 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     126             : }
     127             : 
     128           0 : void *QGpgME::KeyListJob::qt_metacast(const char *_clname)
     129             : {
     130           0 :     if (!_clname) return nullptr;
     131           0 :     if (!strcmp(_clname, qt_meta_stringdata_QGpgME__KeyListJob.stringdata0))
     132           0 :         return static_cast<void*>(this);
     133           0 :     return Job::qt_metacast(_clname);
     134             : }
     135             : 
     136           0 : int QGpgME::KeyListJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     137             : {
     138           0 :     _id = Job::qt_metacall(_c, _id, _a);
     139           0 :     if (_id < 0)
     140           0 :         return _id;
     141           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     142           0 :         if (_id < 5)
     143           0 :             qt_static_metacall(this, _c, _id, _a);
     144           0 :         _id -= 5;
     145           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     146           0 :         if (_id < 5)
     147           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     148           0 :         _id -= 5;
     149             :     }
     150           0 :     return _id;
     151             : }
     152             : 
     153             : // SIGNAL 0
     154          17 : void QGpgME::KeyListJob::nextKey(const GpgME::Key & _t1)
     155             : {
     156          17 :     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
     157          17 :     QMetaObject::activate(this, &staticMetaObject, 0, _a);
     158          17 : }
     159             : 
     160             : // SIGNAL 1
     161           2 : void QGpgME::KeyListJob::result(const GpgME::KeyListResult & _t1, const std::vector<GpgME::Key> & _t2, const QString & _t3, const GpgME::Error & _t4)
     162             : {
     163           2 :     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
     164           2 :     QMetaObject::activate(this, &staticMetaObject, 1, _a);
     165           2 : }
     166             : QT_WARNING_POP
     167             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13