LCOV - code coverage report
Current view: top level - build/lang/qt/tests - t-encrypt.moc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 14 38 36.8 %
Date: 2018-11-15 08:49:49 Functions: 5 7 71.4 %

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

Generated by: LCOV version 1.13