LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-keylocate.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 11 35 31.4 %
Date: 2018-11-15 08:49:49 Functions: 5 7 71.4 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 't-keylocate.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-keylocate.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_KeyLocateTest_t {
      23             :     QByteArrayData data[4];
      24             :     char stringdata0[45];
      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_KeyLocateTest_t, stringdata0) + ofs \
      29             :         - idx * sizeof(QByteArrayData)) \
      30             :     )
      31             : static const qt_meta_stringdata_KeyLocateTest_t qt_meta_stringdata_KeyLocateTest = {
      32             :     {
      33             : QT_MOC_LITERAL(0, 0, 13), // "KeyLocateTest"
      34             : QT_MOC_LITERAL(1, 14, 9), // "asyncDone"
      35             : QT_MOC_LITERAL(2, 24, 0), // ""
      36             : QT_MOC_LITERAL(3, 25, 19) // "testKeyLocateSingle"
      37             : 
      38             :     },
      39             :     "KeyLocateTest\0asyncDone\0\0testKeyLocateSingle"
      40             : };
      41             : #undef QT_MOC_LITERAL
      42             : 
      43             : static const uint qt_meta_data_KeyLocateTest[] = {
      44             : 
      45             :  // content:
      46             :        7,       // revision
      47             :        0,       // classname
      48             :        0,    0, // classinfo
      49             :        2,   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,   24,    2, 0x06 /* Public */,
      58             : 
      59             :  // slots: name, argc, parameters, tag, flags
      60             :        3,    0,   25,    2, 0x08 /* Private */,
      61             : 
      62             :  // signals: parameters
      63             :     QMetaType::Void,
      64             : 
      65             :  // slots: parameters
      66             :     QMetaType::Void,
      67             : 
      68             :        0        // eod
      69             : };
      70             : 
      71           1 : void KeyLocateTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      72             : {
      73           1 :     if (_c == QMetaObject::InvokeMetaMethod) {
      74           1 :         KeyLocateTest *_t = static_cast<KeyLocateTest *>(_o);
      75             :         Q_UNUSED(_t)
      76           1 :         switch (_id) {
      77           0 :         case 0: _t->asyncDone(); break;
      78           1 :         case 1: _t->testKeyLocateSingle(); break;
      79             :         default: ;
      80             :         }
      81           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
      82           0 :         int *result = reinterpret_cast<int *>(_a[0]);
      83             :         {
      84             :             typedef void (KeyLocateTest::*_t)();
      85           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyLocateTest::asyncDone)) {
      86           0 :                 *result = 0;
      87           0 :                 return;
      88             :             }
      89             :         }
      90             :     }
      91             :     Q_UNUSED(_a);
      92             : }
      93             : 
      94             : QT_INIT_METAOBJECT const QMetaObject KeyLocateTest::staticMetaObject = {
      95             :     { &QGpgMETest::staticMetaObject, qt_meta_stringdata_KeyLocateTest.data,
      96             :       qt_meta_data_KeyLocateTest,  qt_static_metacall, nullptr, nullptr}
      97             : };
      98             : 
      99             : 
     100          12 : const QMetaObject *KeyLocateTest::metaObject() const
     101             : {
     102          12 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     103             : }
     104             : 
     105           0 : void *KeyLocateTest::qt_metacast(const char *_clname)
     106             : {
     107           0 :     if (!_clname) return nullptr;
     108           0 :     if (!strcmp(_clname, qt_meta_stringdata_KeyLocateTest.stringdata0))
     109           0 :         return static_cast<void*>(this);
     110           0 :     return QGpgMETest::qt_metacast(_clname);
     111             : }
     112             : 
     113           0 : int KeyLocateTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     114             : {
     115           0 :     _id = QGpgMETest::qt_metacall(_c, _id, _a);
     116           0 :     if (_id < 0)
     117           0 :         return _id;
     118           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     119           0 :         if (_id < 2)
     120           0 :             qt_static_metacall(this, _c, _id, _a);
     121           0 :         _id -= 2;
     122           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     123           0 :         if (_id < 2)
     124           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     125           0 :         _id -= 2;
     126             :     }
     127           0 :     return _id;
     128             : }
     129             : 
     130             : // SIGNAL 0
     131           1 : void KeyLocateTest::asyncDone()
     132             : {
     133           1 :     QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
     134           1 : }
     135           3 : QT_WARNING_POP
     136             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13