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

Generated by: LCOV version 1.11