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

Generated by: LCOV version 1.11