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

Generated by: LCOV version 1.11