LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-keylist.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 12 37 32.4 %
Date: 2016-11-29 15:07:43 Functions: 3 5 60.0 %

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

Generated by: LCOV version 1.11