LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-keylist.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 13 37 35.1 %
Date: 2016-12-01 18:45:36 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.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-keylist.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_KeyListTest_t {
      21             :     QByteArrayData data[6];
      22             :     char stringdata[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, stringdata) + 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),
      32             : QT_MOC_LITERAL(1, 12, 9),
      33             : QT_MOC_LITERAL(2, 22, 0),
      34             : QT_MOC_LITERAL(3, 23, 21),
      35             : QT_MOC_LITERAL(4, 45, 22),
      36             : QT_MOC_LITERAL(5, 68, 16)
      37             :     },
      38             :     "KeyListTest\0asyncDone\0\0testSingleKeyListSync\0"
      39             :     "testPubkeyAlgoAsString\0testKeyListAsync"
      40             : };
      41             : #undef QT_MOC_LITERAL
      42             : 
      43             : static const uint qt_meta_data_KeyListTest[] = {
      44             : 
      45             :  // content:
      46             :        7,       // revision
      47             :        0,       // classname
      48             :        0,    0, // classinfo
      49             :        4,   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,   34,    2, 0x06 /* Public */,
      58             : 
      59             :  // slots: name, argc, parameters, tag, flags
      60             :        3,    0,   35,    2, 0x08 /* Private */,
      61             :        4,    0,   36,    2, 0x08 /* Private */,
      62             :        5,    0,   37,    2, 0x08 /* Private */,
      63             : 
      64             :  // signals: parameters
      65             :     QMetaType::Void,
      66             : 
      67             :  // slots: parameters
      68             :     QMetaType::Void,
      69             :     QMetaType::Void,
      70             :     QMetaType::Void,
      71             : 
      72             :        0        // eod
      73             : };
      74             : 
      75           3 : void KeyListTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      76             : {
      77           3 :     if (_c == QMetaObject::InvokeMetaMethod) {
      78           3 :         KeyListTest *_t = static_cast<KeyListTest *>(_o);
      79           3 :         switch (_id) {
      80           0 :         case 0: _t->asyncDone(); break;
      81           1 :         case 1: _t->testSingleKeyListSync(); break;
      82           1 :         case 2: _t->testPubkeyAlgoAsString(); break;
      83           1 :         case 3: _t->testKeyListAsync(); break;
      84             :         default: ;
      85             :         }
      86           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
      87           0 :         int *result = reinterpret_cast<int *>(_a[0]);
      88           0 :         void **func = reinterpret_cast<void **>(_a[1]);
      89             :         {
      90             :             typedef void (KeyListTest::*_t)();
      91           0 :             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyListTest::asyncDone)) {
      92           0 :                 *result = 0;
      93             :             }
      94             :         }
      95             :     }
      96             :     Q_UNUSED(_a);
      97           3 : }
      98             : 
      99             : const QMetaObject KeyListTest::staticMetaObject = {
     100             :     { &QGpgMETest::staticMetaObject, qt_meta_stringdata_KeyListTest.data,
     101             :       qt_meta_data_KeyListTest,  qt_static_metacall, 0, 0}
     102             : };
     103             : 
     104             : 
     105          20 : const QMetaObject *KeyListTest::metaObject() const
     106             : {
     107          20 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     108             : }
     109             : 
     110           0 : void *KeyListTest::qt_metacast(const char *_clname)
     111             : {
     112           0 :     if (!_clname) return 0;
     113           0 :     if (!strcmp(_clname, qt_meta_stringdata_KeyListTest.stringdata))
     114           0 :         return static_cast<void*>(const_cast< KeyListTest*>(this));
     115           0 :     return QGpgMETest::qt_metacast(_clname);
     116             : }
     117             : 
     118           0 : int KeyListTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     119             : {
     120           0 :     _id = QGpgMETest::qt_metacall(_c, _id, _a);
     121           0 :     if (_id < 0)
     122           0 :         return _id;
     123           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     124           0 :         if (_id < 4)
     125           0 :             qt_static_metacall(this, _c, _id, _a);
     126           0 :         _id -= 4;
     127           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     128           0 :         if (_id < 4)
     129           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     130           0 :         _id -= 4;
     131             :     }
     132           0 :     return _id;
     133             : }
     134             : 
     135             : // SIGNAL 0
     136           1 : void KeyListTest::asyncDone()
     137             : {
     138           1 :     QMetaObject::activate(this, &staticMetaObject, 0, 0);
     139           1 : }
     140             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.11