LCOV - code coverage report
Current view: top level - src/qt/test - moc_compattests.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 9 30 30.0 %
Date: 2020-09-26 01:30:44 Functions: 2 4 50.0 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'compattests.h'
       3             : **
       4             : **
       5             : ** WARNING! All changes made in this file will be lost!
       6             : *****************************************************************************/
       7             : 
       8             : #include <memory>
       9             : #include "qt/test/compattests.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'compattests.h' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.15.0. It"
      16             : #error "cannot be used with the include files from this version of Qt."
      17             : #error "(The moc has changed too much.)"
      18             : #endif
      19             : 
      20             : QT_BEGIN_MOC_NAMESPACE
      21             : QT_WARNING_PUSH
      22             : QT_WARNING_DISABLE_DEPRECATED
      23             : struct qt_meta_stringdata_CompatTests_t {
      24             :     QByteArrayData data[3];
      25             :     char stringdata0[24];
      26             : };
      27             : #define QT_MOC_LITERAL(idx, ofs, len) \
      28             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      29             :     qptrdiff(offsetof(qt_meta_stringdata_CompatTests_t, stringdata0) + ofs \
      30             :         - idx * sizeof(QByteArrayData)) \
      31             :     )
      32             : static const qt_meta_stringdata_CompatTests_t qt_meta_stringdata_CompatTests = {
      33             :     {
      34             : QT_MOC_LITERAL(0, 0, 11), // "CompatTests"
      35             : QT_MOC_LITERAL(1, 12, 10), // "bswapTests"
      36             : QT_MOC_LITERAL(2, 23, 0) // ""
      37             : 
      38             :     },
      39             :     "CompatTests\0bswapTests\0"
      40             : };
      41             : #undef QT_MOC_LITERAL
      42             : 
      43             : static const uint qt_meta_data_CompatTests[] = {
      44             : 
      45             :  // content:
      46             :        8,       // revision
      47             :        0,       // classname
      48             :        0,    0, // classinfo
      49             :        1,   14, // methods
      50             :        0,    0, // properties
      51             :        0,    0, // enums/sets
      52             :        0,    0, // constructors
      53             :        0,       // flags
      54             :        0,       // signalCount
      55             : 
      56             :  // slots: name, argc, parameters, tag, flags
      57             :        1,    0,   19,    2, 0x08 /* Private */,
      58             : 
      59             :  // slots: parameters
      60             :     QMetaType::Void,
      61             : 
      62             :        0        // eod
      63             : };
      64             : 
      65           1 : void CompatTests::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      66             : {
      67           1 :     if (_c == QMetaObject::InvokeMetaMethod) {
      68           1 :         auto *_t = static_cast<CompatTests *>(_o);
      69             :         Q_UNUSED(_t)
      70           1 :         switch (_id) {
      71           1 :         case 0: _t->bswapTests(); break;
      72             :         default: ;
      73             :         }
      74           1 :     }
      75             :     Q_UNUSED(_a);
      76           1 : }
      77             : 
      78             : QT_INIT_METAOBJECT const QMetaObject CompatTests::staticMetaObject = { {
      79             :     QMetaObject::SuperData::link<QObject::staticMetaObject>(),
      80             :     qt_meta_stringdata_CompatTests.data,
      81             :     qt_meta_data_CompatTests,
      82             :     qt_static_metacall,
      83             :     nullptr,
      84             :     nullptr
      85             : } };
      86             : 
      87             : 
      88           9 : const QMetaObject *CompatTests::metaObject() const
      89             : {
      90           9 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      91             : }
      92             : 
      93           0 : void *CompatTests::qt_metacast(const char *_clname)
      94             : {
      95           0 :     if (!_clname) return nullptr;
      96           0 :     if (!strcmp(_clname, qt_meta_stringdata_CompatTests.stringdata0))
      97           0 :         return static_cast<void*>(this);
      98           0 :     return QObject::qt_metacast(_clname);
      99           0 : }
     100             : 
     101           0 : int CompatTests::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     102             : {
     103           0 :     _id = QObject::qt_metacall(_c, _id, _a);
     104           0 :     if (_id < 0)
     105           0 :         return _id;
     106           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     107           0 :         if (_id < 1)
     108           0 :             qt_static_metacall(this, _c, _id, _a);
     109           0 :         _id -= 1;
     110           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     111           0 :         if (_id < 1)
     112           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     113           0 :         _id -= 1;
     114           0 :     }
     115           0 :     return _id;
     116           0 : }
     117             : QT_WARNING_POP
     118             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.15