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

Generated by: LCOV version 1.11