LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-various.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 13 40 32.5 %
Date: 2018-11-15 08:49:49 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.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-various.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_TestVarious_t {
      23             :     QByteArrayData data[9];
      24             :     char stringdata0[99];
      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_TestVarious_t, stringdata0) + ofs \
      29             :         - idx * sizeof(QByteArrayData)) \
      30             :     )
      31             : static const qt_meta_stringdata_TestVarious_t qt_meta_stringdata_TestVarious = {
      32             :     {
      33             : QT_MOC_LITERAL(0, 0, 11), // "TestVarious"
      34             : QT_MOC_LITERAL(1, 12, 9), // "asyncDone"
      35             : QT_MOC_LITERAL(2, 22, 0), // ""
      36             : QT_MOC_LITERAL(3, 23, 6), // "testDN"
      37             : QT_MOC_LITERAL(4, 30, 15), // "testKeyFromFile"
      38             : QT_MOC_LITERAL(5, 46, 14), // "testDataRewind"
      39             : QT_MOC_LITERAL(6, 61, 12), // "testQuickUid"
      40             : QT_MOC_LITERAL(7, 74, 11), // "testVersion"
      41             : QT_MOC_LITERAL(8, 86, 12) // "initTestCase"
      42             : 
      43             :     },
      44             :     "TestVarious\0asyncDone\0\0testDN\0"
      45             :     "testKeyFromFile\0testDataRewind\0"
      46             :     "testQuickUid\0testVersion\0initTestCase"
      47             : };
      48             : #undef QT_MOC_LITERAL
      49             : 
      50             : static const uint qt_meta_data_TestVarious[] = {
      51             : 
      52             :  // content:
      53             :        7,       // revision
      54             :        0,       // classname
      55             :        0,    0, // classinfo
      56             :        7,   14, // methods
      57             :        0,    0, // properties
      58             :        0,    0, // enums/sets
      59             :        0,    0, // constructors
      60             :        0,       // flags
      61             :        1,       // signalCount
      62             : 
      63             :  // signals: name, argc, parameters, tag, flags
      64             :        1,    0,   49,    2, 0x06 /* Public */,
      65             : 
      66             :  // slots: name, argc, parameters, tag, flags
      67             :        3,    0,   50,    2, 0x08 /* Private */,
      68             :        4,    0,   51,    2, 0x08 /* Private */,
      69             :        5,    0,   52,    2, 0x08 /* Private */,
      70             :        6,    0,   53,    2, 0x08 /* Private */,
      71             :        7,    0,   54,    2, 0x08 /* Private */,
      72             :        8,    0,   55,    2, 0x08 /* Private */,
      73             : 
      74             :  // signals: parameters
      75             :     QMetaType::Void,
      76             : 
      77             :  // slots: parameters
      78             :     QMetaType::Void,
      79             :     QMetaType::Void,
      80             :     QMetaType::Void,
      81             :     QMetaType::Void,
      82             :     QMetaType::Void,
      83             :     QMetaType::Void,
      84             : 
      85             :        0        // eod
      86             : };
      87             : 
      88           6 : void TestVarious::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      89             : {
      90           6 :     if (_c == QMetaObject::InvokeMetaMethod) {
      91           6 :         TestVarious *_t = static_cast<TestVarious *>(_o);
      92             :         Q_UNUSED(_t)
      93           6 :         switch (_id) {
      94           0 :         case 0: _t->asyncDone(); break;
      95           1 :         case 1: _t->testDN(); break;
      96           1 :         case 2: _t->testKeyFromFile(); break;
      97           1 :         case 3: _t->testDataRewind(); break;
      98           1 :         case 4: _t->testQuickUid(); break;
      99           1 :         case 5: _t->testVersion(); break;
     100           1 :         case 6: _t->initTestCase(); break;
     101             :         default: ;
     102             :         }
     103           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
     104           0 :         int *result = reinterpret_cast<int *>(_a[0]);
     105             :         {
     106             :             typedef void (TestVarious::*_t)();
     107           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TestVarious::asyncDone)) {
     108           0 :                 *result = 0;
     109           0 :                 return;
     110             :             }
     111             :         }
     112             :     }
     113             :     Q_UNUSED(_a);
     114             : }
     115             : 
     116             : QT_INIT_METAOBJECT const QMetaObject TestVarious::staticMetaObject = {
     117             :     { &QGpgMETest::staticMetaObject, qt_meta_stringdata_TestVarious.data,
     118             :       qt_meta_data_TestVarious,  qt_static_metacall, nullptr, nullptr}
     119             : };
     120             : 
     121             : 
     122          13 : const QMetaObject *TestVarious::metaObject() const
     123             : {
     124          13 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     125             : }
     126             : 
     127           0 : void *TestVarious::qt_metacast(const char *_clname)
     128             : {
     129           0 :     if (!_clname) return nullptr;
     130           0 :     if (!strcmp(_clname, qt_meta_stringdata_TestVarious.stringdata0))
     131           0 :         return static_cast<void*>(this);
     132           0 :     return QGpgMETest::qt_metacast(_clname);
     133             : }
     134             : 
     135           0 : int TestVarious::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     136             : {
     137           0 :     _id = QGpgMETest::qt_metacall(_c, _id, _a);
     138           0 :     if (_id < 0)
     139           0 :         return _id;
     140           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     141           0 :         if (_id < 7)
     142           0 :             qt_static_metacall(this, _c, _id, _a);
     143           0 :         _id -= 7;
     144           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     145           0 :         if (_id < 7)
     146           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     147           0 :         _id -= 7;
     148             :     }
     149           0 :     return _id;
     150             : }
     151             : 
     152             : // SIGNAL 0
     153           0 : void TestVarious::asyncDone()
     154             : {
     155           0 :     QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
     156           0 : }
     157           3 : QT_WARNING_POP
     158             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13