LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-tofuinfo.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 13 31 41.9 %
Date: 2016-09-12 13:07:23 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[7];
      22             :     char stringdata0[87];
      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, 12) // "initTestCase"
      38             : 
      39             :     },
      40             :     "TofuInfoTest\0testTofuNull\0\0testTofuInfo\0"
      41             :     "testTofuSignCount\0testTofuKeyList\0"
      42             :     "initTestCase"
      43             : };
      44             : #undef QT_MOC_LITERAL
      45             : 
      46             : static const uint qt_meta_data_TofuInfoTest[] = {
      47             : 
      48             :  // content:
      49             :        7,       // revision
      50             :        0,       // classname
      51             :        0,    0, // classinfo
      52             :        5,   14, // methods
      53             :        0,    0, // properties
      54             :        0,    0, // enums/sets
      55             :        0,    0, // constructors
      56             :        0,       // flags
      57             :        0,       // signalCount
      58             : 
      59             :  // slots: name, argc, parameters, tag, flags
      60             :        1,    0,   39,    2, 0x08 /* Private */,
      61             :        3,    0,   40,    2, 0x08 /* Private */,
      62             :        4,    0,   41,    2, 0x08 /* Private */,
      63             :        5,    0,   42,    2, 0x08 /* Private */,
      64             :        6,    0,   43,    2, 0x08 /* Private */,
      65             : 
      66             :  // slots: parameters
      67             :     QMetaType::Void,
      68             :     QMetaType::Void,
      69             :     QMetaType::Void,
      70             :     QMetaType::Void,
      71             :     QMetaType::Void,
      72             : 
      73             :        0        // eod
      74             : };
      75             : 
      76           5 : void TofuInfoTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      77             : {
      78           5 :     if (_c == QMetaObject::InvokeMetaMethod) {
      79           5 :         TofuInfoTest *_t = static_cast<TofuInfoTest *>(_o);
      80             :         Q_UNUSED(_t)
      81           5 :         switch (_id) {
      82           1 :         case 0: _t->testTofuNull(); break;
      83           1 :         case 1: _t->testTofuInfo(); break;
      84           1 :         case 2: _t->testTofuSignCount(); break;
      85           1 :         case 3: _t->testTofuKeyList(); break;
      86           1 :         case 4: _t->initTestCase(); break;
      87             :         default: ;
      88             :         }
      89             :     }
      90             :     Q_UNUSED(_a);
      91           5 : }
      92             : 
      93             : const QMetaObject TofuInfoTest::staticMetaObject = {
      94             :     { &QGpgMETest::staticMetaObject, qt_meta_stringdata_TofuInfoTest.data,
      95             :       qt_meta_data_TofuInfoTest,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
      96             : };
      97             : 
      98             : 
      99          21 : const QMetaObject *TofuInfoTest::metaObject() const
     100             : {
     101          21 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     102             : }
     103             : 
     104           0 : void *TofuInfoTest::qt_metacast(const char *_clname)
     105             : {
     106           0 :     if (!_clname) return Q_NULLPTR;
     107           0 :     if (!strcmp(_clname, qt_meta_stringdata_TofuInfoTest.stringdata0))
     108           0 :         return static_cast<void*>(const_cast< TofuInfoTest*>(this));
     109           0 :     return QGpgMETest::qt_metacast(_clname);
     110             : }
     111             : 
     112           0 : int TofuInfoTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     113             : {
     114           0 :     _id = QGpgMETest::qt_metacall(_c, _id, _a);
     115           0 :     if (_id < 0)
     116           0 :         return _id;
     117           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     118           0 :         if (_id < 5)
     119           0 :             qt_static_metacall(this, _c, _id, _a);
     120           0 :         _id -= 5;
     121           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     122           0 :         if (_id < 5)
     123           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     124           0 :         _id -= 5;
     125             :     }
     126           0 :     return _id;
     127           3 : }
     128             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.11