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

Generated by: LCOV version 1.11