LCOV - code coverage report
Current view: top level - build/lang/qt/src - job.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 17 42 40.5 %
Date: 2018-11-15 08:49:49 Functions: 3 6 50.0 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'job.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/job.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'job.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__Job_t {
      24             :     QByteArrayData data[8];
      25             :     char stringdata0[57];
      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__Job_t, stringdata0) + ofs \
      30             :         - idx * sizeof(QByteArrayData)) \
      31             :     )
      32             : static const qt_meta_stringdata_QGpgME__Job_t qt_meta_stringdata_QGpgME__Job = {
      33             :     {
      34             : QT_MOC_LITERAL(0, 0, 11), // "QGpgME::Job"
      35             : QT_MOC_LITERAL(1, 12, 8), // "progress"
      36             : QT_MOC_LITERAL(2, 21, 0), // ""
      37             : QT_MOC_LITERAL(3, 22, 4), // "what"
      38             : QT_MOC_LITERAL(4, 27, 7), // "current"
      39             : QT_MOC_LITERAL(5, 35, 5), // "total"
      40             : QT_MOC_LITERAL(6, 41, 4), // "done"
      41             : QT_MOC_LITERAL(7, 46, 10) // "slotCancel"
      42             : 
      43             :     },
      44             :     "QGpgME::Job\0progress\0\0what\0current\0"
      45             :     "total\0done\0slotCancel"
      46             : };
      47             : #undef QT_MOC_LITERAL
      48             : 
      49             : static const uint qt_meta_data_QGpgME__Job[] = {
      50             : 
      51             :  // content:
      52             :        7,       // revision
      53             :        0,       // classname
      54             :        0,    0, // classinfo
      55             :        3,   14, // methods
      56             :        0,    0, // properties
      57             :        0,    0, // enums/sets
      58             :        0,    0, // constructors
      59             :        0,       // flags
      60             :        2,       // signalCount
      61             : 
      62             :  // signals: name, argc, parameters, tag, flags
      63             :        1,    3,   29,    2, 0x06 /* Public */,
      64             :        6,    0,   36,    2, 0x06 /* Public */,
      65             : 
      66             :  // slots: name, argc, parameters, tag, flags
      67             :        7,    0,   37,    2, 0x0a /* Public */,
      68             : 
      69             :  // signals: parameters
      70             :     QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Int,    3,    4,    5,
      71             :     QMetaType::Void,
      72             : 
      73             :  // slots: parameters
      74             :     QMetaType::Void,
      75             : 
      76             :        0        // eod
      77             : };
      78             : 
      79           3 : void QGpgME::Job::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      80             : {
      81           3 :     if (_c == QMetaObject::InvokeMetaMethod) {
      82           2 :         Job *_t = static_cast<Job *>(_o);
      83             :         Q_UNUSED(_t)
      84           2 :         switch (_id) {
      85           2 :         case 0: _t->progress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
      86           0 :         case 1: _t->done(); break;
      87           0 :         case 2: _t->slotCancel(); break;
      88             :         default: ;
      89             :         }
      90           1 :     } else if (_c == QMetaObject::IndexOfMethod) {
      91           1 :         int *result = reinterpret_cast<int *>(_a[0]);
      92             :         {
      93             :             typedef void (Job::*_t)(const QString & , int , int );
      94           1 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Job::progress)) {
      95           1 :                 *result = 0;
      96           1 :                 return;
      97             :             }
      98             :         }
      99             :         {
     100             :             typedef void (Job::*_t)();
     101           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Job::done)) {
     102           0 :                 *result = 1;
     103           0 :                 return;
     104             :             }
     105             :         }
     106             :     }
     107             : }
     108             : 
     109             : QT_INIT_METAOBJECT const QMetaObject QGpgME::Job::staticMetaObject = {
     110             :     { &QObject::staticMetaObject, qt_meta_stringdata_QGpgME__Job.data,
     111             :       qt_meta_data_QGpgME__Job,  qt_static_metacall, nullptr, nullptr}
     112             : };
     113             : 
     114             : 
     115           0 : const QMetaObject *QGpgME::Job::metaObject() const
     116             : {
     117           0 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     118             : }
     119             : 
     120           0 : void *QGpgME::Job::qt_metacast(const char *_clname)
     121             : {
     122           0 :     if (!_clname) return nullptr;
     123           0 :     if (!strcmp(_clname, qt_meta_stringdata_QGpgME__Job.stringdata0))
     124           0 :         return static_cast<void*>(this);
     125           0 :     return QObject::qt_metacast(_clname);
     126             : }
     127             : 
     128           0 : int QGpgME::Job::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     129             : {
     130           0 :     _id = QObject::qt_metacall(_c, _id, _a);
     131           0 :     if (_id < 0)
     132           0 :         return _id;
     133           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     134           0 :         if (_id < 3)
     135           0 :             qt_static_metacall(this, _c, _id, _a);
     136           0 :         _id -= 3;
     137           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     138           0 :         if (_id < 3)
     139           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     140           0 :         _id -= 3;
     141             :     }
     142           0 :     return _id;
     143             : }
     144             : 
     145             : // SIGNAL 0
     146           2 : void QGpgME::Job::progress(const QString & _t1, int _t2, int _t3)
     147             : {
     148           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)) };
     149           2 :     QMetaObject::activate(this, &staticMetaObject, 0, _a);
     150           2 : }
     151             : 
     152             : // SIGNAL 1
     153           7 : void QGpgME::Job::done()
     154             : {
     155           7 :     QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
     156           7 : }
     157             : QT_WARNING_POP
     158             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13