LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-tofuinfo.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 17 41 41.5 %
Date: 2018-11-14 16:53:58 Functions: 5 7 71.4 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 't-tofuinfo.cpp'
       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 <QtCore/qbytearray.h>
      10             : #include <QtCore/qmetatype.h>
      11             : #if !defined(Q_MOC_OUTPUT_REVISION)
      12             : #error "The header file 't-tofuinfo.cpp' doesn't include <QObject>."
      13             : #elif Q_MOC_OUTPUT_REVISION != 67
      14             : #error "This file was generated using the moc from 5.10.1. It"
      15             : #error "cannot be used with the include files from this version of Qt."
      16             : #error "(The moc has changed too much.)"
      17             : #endif
      18             : 
      19             : QT_BEGIN_MOC_NAMESPACE
      20             : QT_WARNING_PUSH
      21             : QT_WARNING_DISABLE_DEPRECATED
      22             : struct qt_meta_stringdata_TofuInfoTest_t {
      23             :     QByteArrayData data[10];
      24             :     char stringdata0[129];
      25             : };
      26             : #define QT_MOC_LITERAL(idx, ofs, len) \
      27             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      28             :     qptrdiff(offsetof(qt_meta_stringdata_TofuInfoTest_t, stringdata0) + ofs \
      29             :         - idx * sizeof(QByteArrayData)) \
      30             :     )
      31             : static const qt_meta_stringdata_TofuInfoTest_t qt_meta_stringdata_TofuInfoTest = {
      32             :     {
      33             : QT_MOC_LITERAL(0, 0, 12), // "TofuInfoTest"
      34             : QT_MOC_LITERAL(1, 13, 9), // "asyncDone"
      35             : QT_MOC_LITERAL(2, 23, 0), // ""
      36             : QT_MOC_LITERAL(3, 24, 12), // "testTofuNull"
      37             : QT_MOC_LITERAL(4, 37, 12), // "testTofuInfo"
      38             : QT_MOC_LITERAL(5, 50, 17), // "testTofuSignCount"
      39             : QT_MOC_LITERAL(6, 68, 15), // "testTofuKeyList"
      40             : QT_MOC_LITERAL(7, 84, 14), // "testTofuPolicy"
      41             : QT_MOC_LITERAL(8, 99, 16), // "testTofuConflict"
      42             : QT_MOC_LITERAL(9, 116, 12) // "initTestCase"
      43             : 
      44             :     },
      45             :     "TofuInfoTest\0asyncDone\0\0testTofuNull\0"
      46             :     "testTofuInfo\0testTofuSignCount\0"
      47             :     "testTofuKeyList\0testTofuPolicy\0"
      48             :     "testTofuConflict\0initTestCase"
      49             : };
      50             : #undef QT_MOC_LITERAL
      51             : 
      52             : static const uint qt_meta_data_TofuInfoTest[] = {
      53             : 
      54             :  // content:
      55             :        7,       // revision
      56             :        0,       // classname
      57             :        0,    0, // classinfo
      58             :        8,   14, // methods
      59             :        0,    0, // properties
      60             :        0,    0, // enums/sets
      61             :        0,    0, // constructors
      62             :        0,       // flags
      63             :        1,       // signalCount
      64             : 
      65             :  // signals: name, argc, parameters, tag, flags
      66             :        1,    0,   54,    2, 0x06 /* Public */,
      67             : 
      68             :  // slots: name, argc, parameters, tag, flags
      69             :        3,    0,   55,    2, 0x08 /* Private */,
      70             :        4,    0,   56,    2, 0x08 /* Private */,
      71             :        5,    0,   57,    2, 0x08 /* Private */,
      72             :        6,    0,   58,    2, 0x08 /* Private */,
      73             :        7,    0,   59,    2, 0x08 /* Private */,
      74             :        8,    0,   60,    2, 0x08 /* Private */,
      75             :        9,    0,   61,    2, 0x08 /* Private */,
      76             : 
      77             :  // signals: parameters
      78             :     QMetaType::Void,
      79             : 
      80             :  // slots: parameters
      81             :     QMetaType::Void,
      82             :     QMetaType::Void,
      83             :     QMetaType::Void,
      84             :     QMetaType::Void,
      85             :     QMetaType::Void,
      86             :     QMetaType::Void,
      87             :     QMetaType::Void,
      88             : 
      89             :        0        // eod
      90             : };
      91             : 
      92           7 : void TofuInfoTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      93             : {
      94           7 :     if (_c == QMetaObject::InvokeMetaMethod) {
      95           7 :         TofuInfoTest *_t = static_cast<TofuInfoTest *>(_o);
      96             :         Q_UNUSED(_t)
      97           7 :         switch (_id) {
      98           0 :         case 0: _t->asyncDone(); break;
      99           1 :         case 1: _t->testTofuNull(); break;
     100           1 :         case 2: _t->testTofuInfo(); break;
     101           1 :         case 3: _t->testTofuSignCount(); break;
     102           1 :         case 4: _t->testTofuKeyList(); break;
     103           1 :         case 5: _t->testTofuPolicy(); break;
     104           1 :         case 6: _t->testTofuConflict(); break;
     105           1 :         case 7: _t->initTestCase(); break;
     106             :         default: ;
     107             :         }
     108           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
     109           0 :         int *result = reinterpret_cast<int *>(_a[0]);
     110             :         {
     111             :             typedef void (TofuInfoTest::*_t)();
     112           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TofuInfoTest::asyncDone)) {
     113           0 :                 *result = 0;
     114           0 :                 return;
     115             :             }
     116             :         }
     117             :     }
     118             :     Q_UNUSED(_a);
     119             : }
     120             : 
     121             : QT_INIT_METAOBJECT const QMetaObject TofuInfoTest::staticMetaObject = {
     122             :     { &QGpgMETest::staticMetaObject, qt_meta_stringdata_TofuInfoTest.data,
     123             :       qt_meta_data_TofuInfoTest,  qt_static_metacall, nullptr, nullptr}
     124             : };
     125             : 
     126             : 
     127          20 : const QMetaObject *TofuInfoTest::metaObject() const
     128             : {
     129          20 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     130             : }
     131             : 
     132           0 : void *TofuInfoTest::qt_metacast(const char *_clname)
     133             : {
     134           0 :     if (!_clname) return nullptr;
     135           0 :     if (!strcmp(_clname, qt_meta_stringdata_TofuInfoTest.stringdata0))
     136           0 :         return static_cast<void*>(this);
     137           0 :     return QGpgMETest::qt_metacast(_clname);
     138             : }
     139             : 
     140           0 : int TofuInfoTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     141             : {
     142           0 :     _id = QGpgMETest::qt_metacall(_c, _id, _a);
     143           0 :     if (_id < 0)
     144           0 :         return _id;
     145           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     146           0 :         if (_id < 8)
     147           0 :             qt_static_metacall(this, _c, _id, _a);
     148           0 :         _id -= 8;
     149           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     150           0 :         if (_id < 8)
     151           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     152           0 :         _id -= 8;
     153             :     }
     154           0 :     return _id;
     155             : }
     156             : 
     157             : // SIGNAL 0
     158           2 : void TofuInfoTest::asyncDone()
     159             : {
     160           2 :     QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
     161           2 : }
     162           3 : QT_WARNING_POP
     163             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13