LCOV - code coverage report
Current view: top level - src - moc_executor.cpp (source / functions) Hit Total Coverage
Test: .lcov.total Lines: 9 55 16.4 %
Date: 2018-06-12 11:27:04 Functions: 1 7 14.3 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'executor.h'
       3             : **
       4             : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0)
       5             : **
       6             : ** WARNING! All changes made in this file will be lost!
       7             : *****************************************************************************/
       8             : 
       9             : #include "executor.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'executor.h' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.11.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             : QT_WARNING_PUSH
      22             : QT_WARNING_DISABLE_DEPRECATED
      23             : struct qt_meta_stringdata_Executor_t {
      24             :     QByteArrayData data[11];
      25             :     char stringdata0[92];
      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_Executor_t, stringdata0) + ofs \
      30             :         - idx * sizeof(QByteArrayData)) \
      31             :     )
      32             : static const qt_meta_stringdata_Executor_t qt_meta_stringdata_Executor = {
      33             :     {
      34             : QT_MOC_LITERAL(0, 0, 8), // "Executor"
      35             : QT_MOC_LITERAL(1, 9, 8), // "finished"
      36             : QT_MOC_LITERAL(2, 18, 0), // ""
      37             : QT_MOC_LITERAL(3, 19, 2), // "id"
      38             : QT_MOC_LITERAL(4, 22, 8), // "exitCode"
      39             : QT_MOC_LITERAL(5, 31, 6), // "output"
      40             : QT_MOC_LITERAL(6, 38, 6), // "errout"
      41             : QT_MOC_LITERAL(7, 45, 8), // "starting"
      42             : QT_MOC_LITERAL(8, 54, 5), // "error"
      43             : QT_MOC_LITERAL(9, 60, 20), // "QProcess::ExitStatus"
      44             : QT_MOC_LITERAL(10, 81, 10) // "exitStatus"
      45             : 
      46             :     },
      47             :     "Executor\0finished\0\0id\0exitCode\0output\0"
      48             :     "errout\0starting\0error\0QProcess::ExitStatus\0"
      49             :     "exitStatus"
      50             : };
      51             : #undef QT_MOC_LITERAL
      52             : 
      53             : static const uint qt_meta_data_Executor[] = {
      54             : 
      55             :  // content:
      56             :        7,       // revision
      57             :        0,       // classname
      58             :        0,    0, // classinfo
      59             :        4,   14, // methods
      60             :        0,    0, // properties
      61             :        0,    0, // enums/sets
      62             :        0,    0, // constructors
      63             :        0,       // flags
      64             :        3,       // signalCount
      65             : 
      66             :  // signals: name, argc, parameters, tag, flags
      67             :        1,    4,   34,    2, 0x06 /* Public */,
      68             :        7,    0,   43,    2, 0x06 /* Public */,
      69             :        8,    4,   44,    2, 0x06 /* Public */,
      70             : 
      71             :  // slots: name, argc, parameters, tag, flags
      72             :        1,    2,   53,    2, 0x08 /* Private */,
      73             : 
      74             :  // signals: parameters
      75             :     QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString, QMetaType::QString,    3,    4,    5,    6,
      76             :     QMetaType::Void,
      77             :     QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString, QMetaType::QString,    3,    4,    5,    6,
      78             : 
      79             :  // slots: parameters
      80             :     QMetaType::Void, QMetaType::Int, 0x80000000 | 9,    4,   10,
      81             : 
      82             :        0        // eod
      83             : };
      84             : 
      85           0 : void Executor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      86             : {
      87          16 :     if (_c == QMetaObject::InvokeMetaMethod) {
      88           0 :         Executor *_t = static_cast<Executor *>(_o);
      89             :         Q_UNUSED(_t)
      90           0 :         switch (_id) {
      91           0 :         case 0: _t->finished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
      92           0 :         case 1: _t->starting(); break;
      93           0 :         case 2: _t->error((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
      94           0 :         case 3: _t->finished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break;
      95             :         default: ;
      96             :         }
      97           8 :     } else if (_c == QMetaObject::IndexOfMethod) {
      98           8 :         int *result = reinterpret_cast<int *>(_a[0]);
      99             :         {
     100             :             using _t = void (Executor::*)(int , int , const QString & , const QString & );
     101           8 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Executor::finished)) {
     102           4 :                 *result = 0;
     103           4 :                 return;
     104             :             }
     105             :         }
     106             :         {
     107             :             using _t = void (Executor::*)();
     108           4 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Executor::starting)) {
     109           4 :                 *result = 1;
     110           4 :                 return;
     111             :             }
     112             :         }
     113             :         {
     114             :             using _t = void (Executor::*)(int , int , const QString & , const QString & );
     115           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Executor::error)) {
     116           0 :                 *result = 2;
     117           0 :                 return;
     118             :             }
     119             :         }
     120           0 :     }
     121           0 : }
     122             : 
     123             : QT_INIT_METAOBJECT const QMetaObject Executor::staticMetaObject = {
     124             :     { &QObject::staticMetaObject, qt_meta_stringdata_Executor.data,
     125             :       qt_meta_data_Executor,  qt_static_metacall, nullptr, nullptr}
     126             : };
     127             : 
     128             : 
     129           0 : const QMetaObject *Executor::metaObject() const
     130             : {
     131           0 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     132             : }
     133             : 
     134           0 : void *Executor::qt_metacast(const char *_clname)
     135             : {
     136           0 :     if (!_clname) return nullptr;
     137           0 :     if (!strcmp(_clname, qt_meta_stringdata_Executor.stringdata0))
     138           0 :         return static_cast<void*>(this);
     139           0 :     return QObject::qt_metacast(_clname);
     140           0 : }
     141             : 
     142           0 : int Executor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     143             : {
     144           0 :     _id = QObject::qt_metacall(_c, _id, _a);
     145           0 :     if (_id < 0)
     146           0 :         return _id;
     147           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     148           0 :         if (_id < 4)
     149           0 :             qt_static_metacall(this, _c, _id, _a);
     150           0 :         _id -= 4;
     151           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     152           0 :         if (_id < 4)
     153           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     154           0 :         _id -= 4;
     155           0 :     }
     156           0 :     return _id;
     157           0 : }
     158             : 
     159             : // SIGNAL 0
     160           0 : void Executor::finished(int _t1, int _t2, const QString & _t3, const QString & _t4)
     161             : {
     162           0 :     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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
     163           0 :     QMetaObject::activate(this, &staticMetaObject, 0, _a);
     164           0 : }
     165             : 
     166             : // SIGNAL 1
     167           0 : void Executor::starting()
     168             : {
     169           0 :     QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
     170           0 : }
     171             : 
     172             : // SIGNAL 2
     173           0 : void Executor::error(int _t1, int _t2, const QString & _t3, const QString & _t4)
     174             : {
     175           0 :     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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
     176           0 :     QMetaObject::activate(this, &staticMetaObject, 2, _a);
     177           0 : }
     178             : QT_WARNING_POP
     179             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13