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