LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-ownertrust.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 10 34 29.4 %
Date: 2018-11-15 08:49:49 Functions: 3 5 60.0 %

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

Generated by: LCOV version 1.13