LCOV - code coverage report
Current view: top level - build/lang/qt/src - encryptjob.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 12 37 32.4 %
Date: 2016-11-29 15:07:43 Functions: 2 5 40.0 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'encryptjob.h'
       3             : **
       4             : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.0)
       5             : **
       6             : ** WARNING! All changes made in this file will be lost!
       7             : *****************************************************************************/
       8             : 
       9             : #include "../../../../lang/qt/src/encryptjob.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'encryptjob.h' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.6.0. 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__EncryptJob_t {
      22             :     QByteArrayData data[8];
      23             :     char stringdata0[104];
      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__EncryptJob_t, stringdata0) + ofs \
      28             :         - idx * sizeof(QByteArrayData)) \
      29             :     )
      30             : static const qt_meta_stringdata_QGpgME__EncryptJob_t qt_meta_stringdata_QGpgME__EncryptJob = {
      31             :     {
      32             : QT_MOC_LITERAL(0, 0, 18), // "QGpgME::EncryptJob"
      33             : QT_MOC_LITERAL(1, 19, 6), // "result"
      34             : QT_MOC_LITERAL(2, 26, 0), // ""
      35             : QT_MOC_LITERAL(3, 27, 23), // "GpgME::EncryptionResult"
      36             : QT_MOC_LITERAL(4, 51, 10), // "cipherText"
      37             : QT_MOC_LITERAL(5, 62, 14), // "auditLogAsHtml"
      38             : QT_MOC_LITERAL(6, 77, 12), // "GpgME::Error"
      39             : QT_MOC_LITERAL(7, 90, 13) // "auditLogError"
      40             : 
      41             :     },
      42             :     "QGpgME::EncryptJob\0result\0\0"
      43             :     "GpgME::EncryptionResult\0cipherText\0"
      44             :     "auditLogAsHtml\0GpgME::Error\0auditLogError"
      45             : };
      46             : #undef QT_MOC_LITERAL
      47             : 
      48             : static const uint qt_meta_data_QGpgME__EncryptJob[] = {
      49             : 
      50             :  // content:
      51             :        7,       // revision
      52             :        0,       // classname
      53             :        0,    0, // classinfo
      54             :        3,   14, // methods
      55             :        0,    0, // properties
      56             :        0,    0, // enums/sets
      57             :        0,    0, // constructors
      58             :        0,       // flags
      59             :        3,       // signalCount
      60             : 
      61             :  // signals: name, argc, parameters, tag, flags
      62             :        1,    4,   29,    2, 0x06 /* Public */,
      63             :        1,    3,   38,    2, 0x26 /* Public | MethodCloned */,
      64             :        1,    2,   45,    2, 0x26 /* Public | MethodCloned */,
      65             : 
      66             :  // signals: parameters
      67             :     QMetaType::Void, 0x80000000 | 3, QMetaType::QByteArray, QMetaType::QString, 0x80000000 | 6,    1,    4,    5,    7,
      68             :     QMetaType::Void, 0x80000000 | 3, QMetaType::QByteArray, QMetaType::QString,    1,    4,    5,
      69             :     QMetaType::Void, 0x80000000 | 3, QMetaType::QByteArray,    1,    4,
      70             : 
      71             :        0        // eod
      72             : };
      73             : 
      74           1 : void QGpgME::EncryptJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      75             : {
      76           1 :     if (_c == QMetaObject::InvokeMetaMethod) {
      77           0 :         EncryptJob *_t = static_cast<EncryptJob *>(_o);
      78             :         Q_UNUSED(_t)
      79           0 :         switch (_id) {
      80           0 :         case 0: _t->result((*reinterpret_cast< const GpgME::EncryptionResult(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const GpgME::Error(*)>(_a[4]))); break;
      81           0 :         case 1: _t->result((*reinterpret_cast< const GpgME::EncryptionResult(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
      82           0 :         case 2: _t->result((*reinterpret_cast< const GpgME::EncryptionResult(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break;
      83             :         default: ;
      84             :         }
      85           1 :     } else if (_c == QMetaObject::IndexOfMethod) {
      86           1 :         int *result = reinterpret_cast<int *>(_a[0]);
      87           1 :         void **func = reinterpret_cast<void **>(_a[1]);
      88             :         {
      89             :             typedef void (EncryptJob::*_t)(const GpgME::EncryptionResult & , const QByteArray & , const QString & , const GpgME::Error & );
      90           1 :             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EncryptJob::result)) {
      91           1 :                 *result = 0;
      92           1 :                 return;
      93             :             }
      94             :         }
      95             :     }
      96             : }
      97             : 
      98             : const QMetaObject QGpgME::EncryptJob::staticMetaObject = {
      99             :     { &Job::staticMetaObject, qt_meta_stringdata_QGpgME__EncryptJob.data,
     100             :       qt_meta_data_QGpgME__EncryptJob,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
     101             : };
     102             : 
     103             : 
     104           0 : const QMetaObject *QGpgME::EncryptJob::metaObject() const
     105             : {
     106           0 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     107             : }
     108             : 
     109           0 : void *QGpgME::EncryptJob::qt_metacast(const char *_clname)
     110             : {
     111           0 :     if (!_clname) return Q_NULLPTR;
     112           0 :     if (!strcmp(_clname, qt_meta_stringdata_QGpgME__EncryptJob.stringdata0))
     113           0 :         return static_cast<void*>(const_cast< EncryptJob*>(this));
     114           0 :     return Job::qt_metacast(_clname);
     115             : }
     116             : 
     117           0 : int QGpgME::EncryptJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     118             : {
     119           0 :     _id = Job::qt_metacall(_c, _id, _a);
     120           0 :     if (_id < 0)
     121           0 :         return _id;
     122           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     123           0 :         if (_id < 3)
     124           0 :             qt_static_metacall(this, _c, _id, _a);
     125           0 :         _id -= 3;
     126           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     127           0 :         if (_id < 3)
     128           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     129           0 :         _id -= 3;
     130             :     }
     131           0 :     return _id;
     132             : }
     133             : 
     134             : // SIGNAL 0
     135           1 : void QGpgME::EncryptJob::result(const GpgME::EncryptionResult & _t1, const QByteArray & _t2, const QString & _t3, const GpgME::Error & _t4)
     136             : {
     137           1 :     void *_a[] = { Q_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)) };
     138           1 :     QMetaObject::activate(this, &staticMetaObject, 0, _a);
     139           1 : }
     140             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.11