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

Generated by: LCOV version 1.11