LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-tofuinfo.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 14 32 43.8 %
Date: 2016-11-29 15:07:43 Functions: 4 6 66.7 %

          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.6.0)
       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.6.0. 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             : struct qt_meta_stringdata_TofuInfoTest_t {
      21             :     QByteArrayData data[8];
      22             :     char stringdata0[102];
      23             : };
      24             : #define QT_MOC_LITERAL(idx, ofs, len) \
      25             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      26             :     qptrdiff(offsetof(qt_meta_stringdata_TofuInfoTest_t, stringdata0) + ofs \
      27             :         - idx * sizeof(QByteArrayData)) \
      28             :     )
      29             : static const qt_meta_stringdata_TofuInfoTest_t qt_meta_stringdata_TofuInfoTest = {
      30             :     {
      31             : QT_MOC_LITERAL(0, 0, 12), // "TofuInfoTest"
      32             : QT_MOC_LITERAL(1, 13, 12), // "testTofuNull"
      33             : QT_MOC_LITERAL(2, 26, 0), // ""
      34             : QT_MOC_LITERAL(3, 27, 12), // "testTofuInfo"
      35             : QT_MOC_LITERAL(4, 40, 17), // "testTofuSignCount"
      36             : QT_MOC_LITERAL(5, 58, 15), // "testTofuKeyList"
      37             : QT_MOC_LITERAL(6, 74, 14), // "testTofuPolicy"
      38             : QT_MOC_LITERAL(7, 89, 12) // "initTestCase"
      39             : 
      40             :     },
      41             :     "TofuInfoTest\0testTofuNull\0\0testTofuInfo\0"
      42             :     "testTofuSignCount\0testTofuKeyList\0"
      43             :     "testTofuPolicy\0initTestCase"
      44             : };
      45             : #undef QT_MOC_LITERAL
      46             : 
      47             : static const uint qt_meta_data_TofuInfoTest[] = {
      48             : 
      49             :  // content:
      50             :        7,       // revision
      51             :        0,       // classname
      52             :        0,    0, // classinfo
      53             :        6,   14, // methods
      54             :        0,    0, // properties
      55             :        0,    0, // enums/sets
      56             :        0,    0, // constructors
      57             :        0,       // flags
      58             :        0,       // signalCount
      59             : 
      60             :  // slots: name, argc, parameters, tag, flags
      61             :        1,    0,   44,    2, 0x08 /* Private */,
      62             :        3,    0,   45,    2, 0x08 /* Private */,
      63             :        4,    0,   46,    2, 0x08 /* Private */,
      64             :        5,    0,   47,    2, 0x08 /* Private */,
      65             :        6,    0,   48,    2, 0x08 /* Private */,
      66             :        7,    0,   49,    2, 0x08 /* Private */,
      67             : 
      68             :  // slots: parameters
      69             :     QMetaType::Void,
      70             :     QMetaType::Void,
      71             :     QMetaType::Void,
      72             :     QMetaType::Void,
      73             :     QMetaType::Void,
      74             :     QMetaType::Void,
      75             : 
      76             :        0        // eod
      77             : };
      78             : 
      79           6 : void TofuInfoTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      80             : {
      81           6 :     if (_c == QMetaObject::InvokeMetaMethod) {
      82           6 :         TofuInfoTest *_t = static_cast<TofuInfoTest *>(_o);
      83             :         Q_UNUSED(_t)
      84           6 :         switch (_id) {
      85           1 :         case 0: _t->testTofuNull(); break;
      86           1 :         case 1: _t->testTofuInfo(); break;
      87           1 :         case 2: _t->testTofuSignCount(); break;
      88           1 :         case 3: _t->testTofuKeyList(); break;
      89           1 :         case 4: _t->testTofuPolicy(); break;
      90           1 :         case 5: _t->initTestCase(); break;
      91             :         default: ;
      92             :         }
      93             :     }
      94             :     Q_UNUSED(_a);
      95           6 : }
      96             : 
      97             : const QMetaObject TofuInfoTest::staticMetaObject = {
      98             :     { &QGpgMETest::staticMetaObject, qt_meta_stringdata_TofuInfoTest.data,
      99             :       qt_meta_data_TofuInfoTest,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
     100             : };
     101             : 
     102             : 
     103          25 : const QMetaObject *TofuInfoTest::metaObject() const
     104             : {
     105          25 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     106             : }
     107             : 
     108           0 : void *TofuInfoTest::qt_metacast(const char *_clname)
     109             : {
     110           0 :     if (!_clname) return Q_NULLPTR;
     111           0 :     if (!strcmp(_clname, qt_meta_stringdata_TofuInfoTest.stringdata0))
     112           0 :         return static_cast<void*>(const_cast< TofuInfoTest*>(this));
     113           0 :     return QGpgMETest::qt_metacast(_clname);
     114             : }
     115             : 
     116           0 : int TofuInfoTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     117             : {
     118           0 :     _id = QGpgMETest::qt_metacall(_c, _id, _a);
     119           0 :     if (_id < 0)
     120           0 :         return _id;
     121           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     122           0 :         if (_id < 6)
     123           0 :             qt_static_metacall(this, _c, _id, _a);
     124           0 :         _id -= 6;
     125           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     126           0 :         if (_id < 6)
     127           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     128           0 :         _id -= 6;
     129             :     }
     130           0 :     return _id;
     131           3 : }
     132             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.11