LCOV - code coverage report
Current view: top level - build/lang/qt/src - keylistjob.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 17 45 37.8 %
Date: 2016-12-01 18:45:36 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.3.2)
       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.3.2. 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             : struct qt_meta_stringdata_QGpgME__KeyListJob_t {
      22             :     QByteArrayData data[12];
      23             :     char stringdata[142];
      24             : };
      25             : #define QT_MOC_LITERAL(idx, ofs, len) \
      26             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      27             :     qptrdiff(offsetof(qt_meta_stringdata_QGpgME__KeyListJob_t, stringdata) + ofs \
      28             :         - idx * sizeof(QByteArrayData)) \
      29             :     )
      30             : static const qt_meta_stringdata_QGpgME__KeyListJob_t qt_meta_stringdata_QGpgME__KeyListJob = {
      31             :     {
      32             : QT_MOC_LITERAL(0, 0, 18),
      33             : QT_MOC_LITERAL(1, 19, 7),
      34             : QT_MOC_LITERAL(2, 27, 0),
      35             : QT_MOC_LITERAL(3, 28, 10),
      36             : QT_MOC_LITERAL(4, 39, 3),
      37             : QT_MOC_LITERAL(5, 43, 6),
      38             : QT_MOC_LITERAL(6, 50, 20),
      39             : QT_MOC_LITERAL(7, 71, 23),
      40             : QT_MOC_LITERAL(8, 95, 4),
      41             : QT_MOC_LITERAL(9, 100, 14),
      42             : QT_MOC_LITERAL(10, 115, 12),
      43             : QT_MOC_LITERAL(11, 128, 13)
      44             :     },
      45             :     "QGpgME::KeyListJob\0nextKey\0\0GpgME::Key\0"
      46             :     "key\0result\0GpgME::KeyListResult\0"
      47             :     "std::vector<GpgME::Key>\0keys\0"
      48             :     "auditLogAsHtml\0GpgME::Error\0auditLogError"
      49             : };
      50             : #undef QT_MOC_LITERAL
      51             : 
      52             : static const uint qt_meta_data_QGpgME__KeyListJob[] = {
      53             : 
      54             :  // content:
      55             :        7,       // revision
      56             :        0,       // classname
      57             :        0,    0, // classinfo
      58             :        5,   14, // methods
      59             :        0,    0, // properties
      60             :        0,    0, // enums/sets
      61             :        0,    0, // constructors
      62             :        0,       // flags
      63             :        5,       // signalCount
      64             : 
      65             :  // signals: name, argc, parameters, tag, flags
      66             :        1,    1,   39,    2, 0x06 /* Public */,
      67             :        5,    4,   42,    2, 0x06 /* Public */,
      68             :        5,    3,   51,    2, 0x26 /* Public | MethodCloned */,
      69             :        5,    2,   58,    2, 0x26 /* Public | MethodCloned */,
      70             :        5,    1,   63,    2, 0x26 /* Public | MethodCloned */,
      71             : 
      72             :  // signals: parameters
      73             :     QMetaType::Void, 0x80000000 | 3,    4,
      74             :     QMetaType::Void, 0x80000000 | 6, 0x80000000 | 7, QMetaType::QString, 0x80000000 | 10,    5,    8,    9,   11,
      75             :     QMetaType::Void, 0x80000000 | 6, 0x80000000 | 7, QMetaType::QString,    5,    8,    9,
      76             :     QMetaType::Void, 0x80000000 | 6, 0x80000000 | 7,    5,    8,
      77             :     QMetaType::Void, 0x80000000 | 6,    5,
      78             : 
      79             :        0        // eod
      80             : };
      81             : 
      82           2 : void QGpgME::KeyListJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      83             : {
      84           2 :     if (_c == QMetaObject::InvokeMetaMethod) {
      85           0 :         KeyListJob *_t = static_cast<KeyListJob *>(_o);
      86           0 :         switch (_id) {
      87           0 :         case 0: _t->nextKey((*reinterpret_cast< const GpgME::Key(*)>(_a[1]))); break;
      88           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;
      89           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;
      90           0 :         case 3: _t->result((*reinterpret_cast< const GpgME::KeyListResult(*)>(_a[1])),(*reinterpret_cast< const std::vector<GpgME::Key>(*)>(_a[2]))); break;
      91           0 :         case 4: _t->result((*reinterpret_cast< const GpgME::KeyListResult(*)>(_a[1]))); break;
      92             :         default: ;
      93             :         }
      94           2 :     } else if (_c == QMetaObject::IndexOfMethod) {
      95           2 :         int *result = reinterpret_cast<int *>(_a[0]);
      96           2 :         void **func = reinterpret_cast<void **>(_a[1]);
      97             :         {
      98             :             typedef void (KeyListJob::*_t)(const GpgME::Key & );
      99           2 :             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyListJob::nextKey)) {
     100           0 :                 *result = 0;
     101             :             }
     102             :         }
     103             :         {
     104             :             typedef void (KeyListJob::*_t)(const GpgME::KeyListResult & , const std::vector<GpgME::Key> & , const QString & , const GpgME::Error & );
     105           2 :             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyListJob::result)) {
     106           2 :                 *result = 1;
     107             :             }
     108             :         }
     109             :     }
     110           2 : }
     111             : 
     112             : const QMetaObject QGpgME::KeyListJob::staticMetaObject = {
     113             :     { &Job::staticMetaObject, qt_meta_stringdata_QGpgME__KeyListJob.data,
     114             :       qt_meta_data_QGpgME__KeyListJob,  qt_static_metacall, 0, 0}
     115             : };
     116             : 
     117             : 
     118           0 : const QMetaObject *QGpgME::KeyListJob::metaObject() const
     119             : {
     120           0 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     121             : }
     122             : 
     123           0 : void *QGpgME::KeyListJob::qt_metacast(const char *_clname)
     124             : {
     125           0 :     if (!_clname) return 0;
     126           0 :     if (!strcmp(_clname, qt_meta_stringdata_QGpgME__KeyListJob.stringdata))
     127           0 :         return static_cast<void*>(const_cast< KeyListJob*>(this));
     128           0 :     return Job::qt_metacast(_clname);
     129             : }
     130             : 
     131           0 : int QGpgME::KeyListJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     132             : {
     133           0 :     _id = Job::qt_metacall(_c, _id, _a);
     134           0 :     if (_id < 0)
     135           0 :         return _id;
     136           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     137           0 :         if (_id < 5)
     138           0 :             qt_static_metacall(this, _c, _id, _a);
     139           0 :         _id -= 5;
     140           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     141           0 :         if (_id < 5)
     142           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     143           0 :         _id -= 5;
     144             :     }
     145           0 :     return _id;
     146             : }
     147             : 
     148             : // SIGNAL 0
     149          14 : void QGpgME::KeyListJob::nextKey(const GpgME::Key & _t1)
     150             : {
     151          14 :     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
     152          14 :     QMetaObject::activate(this, &staticMetaObject, 0, _a);
     153          14 : }
     154             : 
     155             : // SIGNAL 1
     156           2 : void QGpgME::KeyListJob::result(const GpgME::KeyListResult & _t1, const std::vector<GpgME::Key> & _t2, const QString & _t3, const GpgME::Error & _t4)
     157             : {
     158           2 :     void *_a[] = { 0, 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)) };
     159           2 :     QMetaObject::activate(this, &staticMetaObject, 1, _a);
     160           2 : }
     161             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.11