LCOV - code coverage report
Current view: top level - build/Accounts - moc_manager.cpp (source / functions) Hit Total Coverage
Test: Code Coverage Lines: 18 59 30.5 %
Date: 2024-03-31 17:38:26 Functions: 5 8 62.5 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'manager.h'
       3             : **
       4             : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.5)
       5             : **
       6             : ** WARNING! All changes made in this file will be lost!
       7             : *****************************************************************************/
       8             : 
       9             : #include "../../Accounts/manager.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'manager.h' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.9.5. It"
      16             : #error "cannot be used with the include files from this version of Qt."
      17             : #error "(The moc has changed too much.)"
      18             : #endif
      19             : 
      20             : QT_BEGIN_MOC_NAMESPACE
      21             : QT_WARNING_PUSH
      22             : QT_WARNING_DISABLE_DEPRECATED
      23             : struct qt_meta_stringdata_Accounts__Manager_t {
      24             :     QByteArrayData data[8];
      25             :     char stringdata0[100];
      26             : };
      27             : #define QT_MOC_LITERAL(idx, ofs, len) \
      28             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      29             :     qptrdiff(offsetof(qt_meta_stringdata_Accounts__Manager_t, stringdata0) + ofs \
      30             :         - idx * sizeof(QByteArrayData)) \
      31             :     )
      32             : static const qt_meta_stringdata_Accounts__Manager_t qt_meta_stringdata_Accounts__Manager = {
      33             :     {
      34             : QT_MOC_LITERAL(0, 0, 17), // "Accounts::Manager"
      35             : QT_MOC_LITERAL(1, 18, 14), // "accountCreated"
      36             : QT_MOC_LITERAL(2, 33, 0), // ""
      37             : QT_MOC_LITERAL(3, 34, 19), // "Accounts::AccountId"
      38             : QT_MOC_LITERAL(4, 54, 2), // "id"
      39             : QT_MOC_LITERAL(5, 57, 14), // "accountRemoved"
      40             : QT_MOC_LITERAL(6, 72, 14), // "accountUpdated"
      41             : QT_MOC_LITERAL(7, 87, 12) // "enabledEvent"
      42             : 
      43             :     },
      44             :     "Accounts::Manager\0accountCreated\0\0"
      45             :     "Accounts::AccountId\0id\0accountRemoved\0"
      46             :     "accountUpdated\0enabledEvent"
      47             : };
      48             : #undef QT_MOC_LITERAL
      49             : 
      50             : static const uint qt_meta_data_Accounts__Manager[] = {
      51             : 
      52             :  // content:
      53             :        7,       // revision
      54             :        0,       // classname
      55             :        0,    0, // classinfo
      56             :        4,   14, // methods
      57             :        0,    0, // properties
      58             :        0,    0, // enums/sets
      59             :        0,    0, // constructors
      60             :        0,       // flags
      61             :        4,       // signalCount
      62             : 
      63             :  // signals: name, argc, parameters, tag, flags
      64             :        1,    1,   34,    2, 0x06 /* Public */,
      65             :        5,    1,   37,    2, 0x06 /* Public */,
      66             :        6,    1,   40,    2, 0x06 /* Public */,
      67             :        7,    1,   43,    2, 0x06 /* Public */,
      68             : 
      69             :  // signals: parameters
      70             :     QMetaType::Void, 0x80000000 | 3,    4,
      71             :     QMetaType::Void, 0x80000000 | 3,    4,
      72             :     QMetaType::Void, 0x80000000 | 3,    4,
      73             :     QMetaType::Void, 0x80000000 | 3,    4,
      74             : 
      75             :        0        // eod
      76             : };
      77             : 
      78           0 : void Accounts::Manager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      79             : {
      80           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
      81           0 :         Manager *_t = static_cast<Manager *>(_o);
      82             :         Q_UNUSED(_t)
      83           0 :         switch (_id) {
      84           0 :         case 0: _t->accountCreated((*reinterpret_cast< Accounts::AccountId(*)>(_a[1]))); break;
      85           0 :         case 1: _t->accountRemoved((*reinterpret_cast< Accounts::AccountId(*)>(_a[1]))); break;
      86           0 :         case 2: _t->accountUpdated((*reinterpret_cast< Accounts::AccountId(*)>(_a[1]))); break;
      87           0 :         case 3: _t->enabledEvent((*reinterpret_cast< Accounts::AccountId(*)>(_a[1]))); break;
      88           0 :         default: ;
      89             :         }
      90           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
      91           0 :         int *result = reinterpret_cast<int *>(_a[0]);
      92             :         {
      93             :             typedef void (Manager::*_t)(Accounts::AccountId );
      94           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Manager::accountCreated)) {
      95           0 :                 *result = 0;
      96           0 :                 return;
      97             :             }
      98             :         }
      99             :         {
     100             :             typedef void (Manager::*_t)(Accounts::AccountId );
     101           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Manager::accountRemoved)) {
     102           0 :                 *result = 1;
     103           0 :                 return;
     104             :             }
     105             :         }
     106             :         {
     107             :             typedef void (Manager::*_t)(Accounts::AccountId );
     108           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Manager::accountUpdated)) {
     109           0 :                 *result = 2;
     110           0 :                 return;
     111             :             }
     112             :         }
     113             :         {
     114             :             typedef void (Manager::*_t)(Accounts::AccountId );
     115           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Manager::enabledEvent)) {
     116           0 :                 *result = 3;
     117           0 :                 return;
     118             :             }
     119             :         }
     120             :     }
     121             : }
     122             : 
     123             : const QMetaObject Accounts::Manager::staticMetaObject = {
     124             :     { &QObject::staticMetaObject, qt_meta_stringdata_Accounts__Manager.data,
     125             :       qt_meta_data_Accounts__Manager,  qt_static_metacall, nullptr, nullptr}
     126             : };
     127             : 
     128             : 
     129          10 : const QMetaObject *Accounts::Manager::metaObject() const
     130             : {
     131          10 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     132             : }
     133             : 
     134           0 : void *Accounts::Manager::qt_metacast(const char *_clname)
     135             : {
     136           0 :     if (!_clname) return nullptr;
     137           0 :     if (!strcmp(_clname, qt_meta_stringdata_Accounts__Manager.stringdata0))
     138           0 :         return static_cast<void*>(this);
     139           0 :     return QObject::qt_metacast(_clname);
     140             : }
     141             : 
     142           0 : int Accounts::Manager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     143             : {
     144           0 :     _id = QObject::qt_metacall(_c, _id, _a);
     145           0 :     if (_id < 0)
     146           0 :         return _id;
     147           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     148           0 :         if (_id < 4)
     149           0 :             qt_static_metacall(this, _c, _id, _a);
     150           0 :         _id -= 4;
     151           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     152           0 :         if (_id < 4)
     153           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     154           0 :         _id -= 4;
     155             :     }
     156           0 :     return _id;
     157             : }
     158             : 
     159             : // SIGNAL 0
     160          23 : void Accounts::Manager::accountCreated(Accounts::AccountId _t1)
     161             : {
     162          23 :     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
     163          23 :     QMetaObject::activate(this, &staticMetaObject, 0, _a);
     164          23 : }
     165             : 
     166             : // SIGNAL 1
     167           2 : void Accounts::Manager::accountRemoved(Accounts::AccountId _t1)
     168             : {
     169           2 :     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
     170           2 :     QMetaObject::activate(this, &staticMetaObject, 1, _a);
     171           2 : }
     172             : 
     173             : // SIGNAL 2
     174           2 : void Accounts::Manager::accountUpdated(Accounts::AccountId _t1)
     175             : {
     176           2 :     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
     177           2 :     QMetaObject::activate(this, &staticMetaObject, 2, _a);
     178           2 : }
     179             : 
     180             : // SIGNAL 3
     181           3 : void Accounts::Manager::enabledEvent(Accounts::AccountId _t1)
     182             : {
     183           3 :     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
     184           3 :     QMetaObject::activate(this, &staticMetaObject, 3, _a);
     185           3 : }
     186             : QT_WARNING_POP
     187             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13