LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-wkspublish.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 10 35 28.6 %
Date: 2016-09-12 13:07:23 Functions: 5 7 71.4 %

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

Generated by: LCOV version 1.11