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-12-01 18:45:36 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.3.2)
       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.3.2. 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 stringdata[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, stringdata) + 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),
      32             : QT_MOC_LITERAL(1, 13, 12),
      33             : QT_MOC_LITERAL(2, 26, 0),
      34             : QT_MOC_LITERAL(3, 27, 12),
      35             : QT_MOC_LITERAL(4, 40, 17),
      36             : QT_MOC_LITERAL(5, 58, 15),
      37             : QT_MOC_LITERAL(6, 74, 14),
      38             : QT_MOC_LITERAL(7, 89, 12)
      39             :     },
      40             :     "TofuInfoTest\0testTofuNull\0\0testTofuInfo\0"
      41             :     "testTofuSignCount\0testTofuKeyList\0"
      42             :     "testTofuPolicy\0initTestCase"
      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             :        6,   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,   44,    2, 0x08 /* Private */,
      61             :        3,    0,   45,    2, 0x08 /* Private */,
      62             :        4,    0,   46,    2, 0x08 /* Private */,
      63             :        5,    0,   47,    2, 0x08 /* Private */,
      64             :        6,    0,   48,    2, 0x08 /* Private */,
      65             :        7,    0,   49,    2, 0x08 /* Private */,
      66             : 
      67             :  // slots: parameters
      68             :     QMetaType::Void,
      69             :     QMetaType::Void,
      70             :     QMetaType::Void,
      71             :     QMetaType::Void,
      72             :     QMetaType::Void,
      73             :     QMetaType::Void,
      74             : 
      75             :        0        // eod
      76             : };
      77             : 
      78           6 : void TofuInfoTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      79             : {
      80           6 :     if (_c == QMetaObject::InvokeMetaMethod) {
      81           6 :         TofuInfoTest *_t = static_cast<TofuInfoTest *>(_o);
      82           6 :         switch (_id) {
      83           1 :         case 0: _t->testTofuNull(); break;
      84           1 :         case 1: _t->testTofuInfo(); break;
      85           1 :         case 2: _t->testTofuSignCount(); break;
      86           1 :         case 3: _t->testTofuKeyList(); break;
      87           1 :         case 4: _t->testTofuPolicy(); break;
      88           1 :         case 5: _t->initTestCase(); break;
      89             :         default: ;
      90             :         }
      91             :     }
      92             :     Q_UNUSED(_a);
      93           6 : }
      94             : 
      95             : const QMetaObject TofuInfoTest::staticMetaObject = {
      96             :     { &QGpgMETest::staticMetaObject, qt_meta_stringdata_TofuInfoTest.data,
      97             :       qt_meta_data_TofuInfoTest,  qt_static_metacall, 0, 0}
      98             : };
      99             : 
     100             : 
     101          25 : const QMetaObject *TofuInfoTest::metaObject() const
     102             : {
     103          25 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     104             : }
     105             : 
     106           0 : void *TofuInfoTest::qt_metacast(const char *_clname)
     107             : {
     108           0 :     if (!_clname) return 0;
     109           0 :     if (!strcmp(_clname, qt_meta_stringdata_TofuInfoTest.stringdata))
     110           0 :         return static_cast<void*>(const_cast< TofuInfoTest*>(this));
     111           0 :     return QGpgMETest::qt_metacast(_clname);
     112             : }
     113             : 
     114           0 : int TofuInfoTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     115             : {
     116           0 :     _id = QGpgMETest::qt_metacall(_c, _id, _a);
     117           0 :     if (_id < 0)
     118           0 :         return _id;
     119           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     120           0 :         if (_id < 6)
     121           0 :             qt_static_metacall(this, _c, _id, _a);
     122           0 :         _id -= 6;
     123           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     124           0 :         if (_id < 6)
     125           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     126           0 :         _id -= 6;
     127             :     }
     128           0 :     return _id;
     129           3 : }
     130             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.11