Warning, /sdk/clazy/tests/old-style-connect/usingnamespace.qt5.moc_ is written in an unsupported language. File is not indexed.

0001 /****************************************************************************
0002 ** Meta object code from reading C++ file 'usingnamespace.cpp'
0003 **
0004 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.12)
0005 **
0006 ** WARNING! All changes made in this file will be lost!
0007 *****************************************************************************/
0008 
0009 #include <memory>
0010 #include <QtCore/qbytearray.h>
0011 #include <QtCore/qmetatype.h>
0012 #if !defined(Q_MOC_OUTPUT_REVISION)
0013 #error "The header file 'usingnamespace.cpp' doesn't include <QObject>."
0014 #elif Q_MOC_OUTPUT_REVISION != 67
0015 #error "This file was generated using the moc from 5.15.12. It"
0016 #error "cannot be used with the include files from this version of Qt."
0017 #error "(The moc has changed too much.)"
0018 #endif
0019 
0020 QT_BEGIN_MOC_NAMESPACE
0021 QT_WARNING_PUSH
0022 QT_WARNING_DISABLE_DEPRECATED
0023 struct qt_meta_stringdata_Foo2__MyObj_t {
0024     QByteArrayData data[5];
0025     char stringdata0[33];
0026 };
0027 #define QT_MOC_LITERAL(idx, ofs, len) \
0028     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
0029     qptrdiff(offsetof(qt_meta_stringdata_Foo2__MyObj_t, stringdata0) + ofs \
0030         - idx * sizeof(QByteArrayData)) \
0031     )
0032 static const qt_meta_stringdata_Foo2__MyObj_t qt_meta_stringdata_Foo2__MyObj = {
0033     {
0034 QT_MOC_LITERAL(0, 0, 11), // "Foo2::MyObj"
0035 QT_MOC_LITERAL(1, 12, 7), // "signal1"
0036 QT_MOC_LITERAL(2, 20, 0), // ""
0037 QT_MOC_LITERAL(3, 21, 5), // "slot1"
0038 QT_MOC_LITERAL(4, 27, 5) // "slot2"
0039 
0040     },
0041     "Foo2::MyObj\0signal1\0\0slot1\0slot2"
0042 };
0043 #undef QT_MOC_LITERAL
0044 
0045 static const uint qt_meta_data_Foo2__MyObj[] = {
0046 
0047  // content:
0048        8,       // revision
0049        0,       // classname
0050        0,    0, // classinfo
0051        3,   14, // methods
0052        0,    0, // properties
0053        0,    0, // enums/sets
0054        0,    0, // constructors
0055        0,       // flags
0056        1,       // signalCount
0057 
0058  // signals: name, argc, parameters, tag, flags
0059        1,    0,   29,    2, 0x06 /* Public */,
0060 
0061  // slots: name, argc, parameters, tag, flags
0062        3,    0,   30,    2, 0x0a /* Public */,
0063        4,    0,   31,    2, 0x0a /* Public */,
0064 
0065  // signals: parameters
0066     QMetaType::Void,
0067 
0068  // slots: parameters
0069     QMetaType::Void,
0070     QMetaType::Void,
0071 
0072        0        // eod
0073 };
0074 
0075 void Foo2::MyObj::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
0076 {
0077     if (_c == QMetaObject::InvokeMetaMethod) {
0078         auto *_t = static_cast<MyObj *>(_o);
0079         (void)_t;
0080         switch (_id) {
0081         case 0: _t->signal1(); break;
0082         case 1: _t->slot1(); break;
0083         case 2: _t->slot2(); break;
0084         default: ;
0085         }
0086     } else if (_c == QMetaObject::IndexOfMethod) {
0087         int *result = reinterpret_cast<int *>(_a[0]);
0088         {
0089             using _t = void (MyObj::*)();
0090             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MyObj::signal1)) {
0091                 *result = 0;
0092                 return;
0093             }
0094         }
0095     }
0096     (void)_a;
0097 }
0098 
0099 QT_INIT_METAOBJECT const QMetaObject Foo2::MyObj::staticMetaObject = { {
0100     QMetaObject::SuperData::link<QObject::staticMetaObject>(),
0101     qt_meta_stringdata_Foo2__MyObj.data,
0102     qt_meta_data_Foo2__MyObj,
0103     qt_static_metacall,
0104     nullptr,
0105     nullptr
0106 } };
0107 
0108 
0109 const QMetaObject *Foo2::MyObj::metaObject() const
0110 {
0111     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
0112 }
0113 
0114 void *Foo2::MyObj::qt_metacast(const char *_clname)
0115 {
0116     if (!_clname) return nullptr;
0117     if (!strcmp(_clname, qt_meta_stringdata_Foo2__MyObj.stringdata0))
0118         return static_cast<void*>(this);
0119     return QObject::qt_metacast(_clname);
0120 }
0121 
0122 int Foo2::MyObj::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
0123 {
0124     _id = QObject::qt_metacall(_c, _id, _a);
0125     if (_id < 0)
0126         return _id;
0127     if (_c == QMetaObject::InvokeMetaMethod) {
0128         if (_id < 3)
0129             qt_static_metacall(this, _c, _id, _a);
0130         _id -= 3;
0131     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
0132         if (_id < 3)
0133             *reinterpret_cast<int*>(_a[0]) = -1;
0134         _id -= 3;
0135     }
0136     return _id;
0137 }
0138 
0139 // SIGNAL 0
0140 void Foo2::MyObj::signal1()
0141 {
0142     QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
0143 }
0144 QT_WARNING_POP
0145 QT_END_MOC_NAMESPACE