LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-various.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 9 36 25.0 %
Date: 2017-03-02 17:11:10 Functions: 4 7 57.1 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 't-various.cpp'
       3             : **
       4             : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.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-various.cpp' doesn't include <QObject>."
      13             : #elif Q_MOC_OUTPUT_REVISION != 67
      14             : #error "This file was generated using the moc from 5.7.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             : struct qt_meta_stringdata_TestVarious_t {
      21             :     QByteArrayData data[5];
      22             :     char stringdata0[49];
      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_TestVarious_t, stringdata0) + ofs \
      27             :         - idx * sizeof(QByteArrayData)) \
      28             :     )
      29             : static const qt_meta_stringdata_TestVarious_t qt_meta_stringdata_TestVarious = {
      30             :     {
      31             : QT_MOC_LITERAL(0, 0, 11), // "TestVarious"
      32             : QT_MOC_LITERAL(1, 12, 9), // "asyncDone"
      33             : QT_MOC_LITERAL(2, 22, 0), // ""
      34             : QT_MOC_LITERAL(3, 23, 12), // "testQuickUid"
      35             : QT_MOC_LITERAL(4, 36, 12) // "initTestCase"
      36             : 
      37             :     },
      38             :     "TestVarious\0asyncDone\0\0testQuickUid\0"
      39             :     "initTestCase"
      40             : };
      41             : #undef QT_MOC_LITERAL
      42             : 
      43             : static const uint qt_meta_data_TestVarious[] = {
      44             : 
      45             :  // content:
      46             :        7,       // revision
      47             :        0,       // classname
      48             :        0,    0, // classinfo
      49             :        3,   14, // methods
      50             :        0,    0, // properties
      51             :        0,    0, // enums/sets
      52             :        0,    0, // constructors
      53             :        0,       // flags
      54             :        1,       // signalCount
      55             : 
      56             :  // signals: name, argc, parameters, tag, flags
      57             :        1,    0,   29,    2, 0x06 /* Public */,
      58             : 
      59             :  // slots: name, argc, parameters, tag, flags
      60             :        3,    0,   30,    2, 0x08 /* Private */,
      61             :        4,    0,   31,    2, 0x08 /* Private */,
      62             : 
      63             :  // signals: parameters
      64             :     QMetaType::Void,
      65             : 
      66             :  // slots: parameters
      67             :     QMetaType::Void,
      68             :     QMetaType::Void,
      69             : 
      70             :        0        // eod
      71             : };
      72             : 
      73           2 : void TestVarious::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      74             : {
      75           2 :     if (_c == QMetaObject::InvokeMetaMethod) {
      76           2 :         TestVarious *_t = static_cast<TestVarious *>(_o);
      77             :         Q_UNUSED(_t)
      78           2 :         switch (_id) {
      79           0 :         case 0: _t->asyncDone(); break;
      80           1 :         case 1: _t->testQuickUid(); break;
      81           1 :         case 2: _t->initTestCase(); break;
      82             :         default: ;
      83             :         }
      84           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
      85           0 :         int *result = reinterpret_cast<int *>(_a[0]);
      86           0 :         void **func = reinterpret_cast<void **>(_a[1]);
      87             :         {
      88             :             typedef void (TestVarious::*_t)();
      89           0 :             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TestVarious::asyncDone)) {
      90           0 :                 *result = 0;
      91           0 :                 return;
      92             :             }
      93             :         }
      94             :     }
      95             :     Q_UNUSED(_a);
      96             : }
      97             : 
      98             : const QMetaObject TestVarious::staticMetaObject = {
      99             :     { &QGpgMETest::staticMetaObject, qt_meta_stringdata_TestVarious.data,
     100             :       qt_meta_data_TestVarious,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
     101             : };
     102             : 
     103             : 
     104           9 : const QMetaObject *TestVarious::metaObject() const
     105             : {
     106           9 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     107             : }
     108             : 
     109           0 : void *TestVarious::qt_metacast(const char *_clname)
     110             : {
     111           0 :     if (!_clname) return Q_NULLPTR;
     112           0 :     if (!strcmp(_clname, qt_meta_stringdata_TestVarious.stringdata0))
     113           0 :         return static_cast<void*>(const_cast< TestVarious*>(this));
     114           0 :     return QGpgMETest::qt_metacast(_clname);
     115             : }
     116             : 
     117           0 : int TestVarious::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     118             : {
     119           0 :     _id = QGpgMETest::qt_metacall(_c, _id, _a);
     120           0 :     if (_id < 0)
     121           0 :         return _id;
     122           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     123           0 :         if (_id < 3)
     124           0 :             qt_static_metacall(this, _c, _id, _a);
     125           0 :         _id -= 3;
     126           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     127           0 :         if (_id < 3)
     128           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     129           0 :         _id -= 3;
     130             :     }
     131           0 :     return _id;
     132             : }
     133             : 
     134             : // SIGNAL 0
     135           0 : void TestVarious::asyncDone()
     136             : {
     137           0 :     QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
     138           3 : }
     139             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13