LCOV - code coverage report
Current view: top level - src/qt - moc_qvaluecombobox.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 0 65 0.0 %
Date: 2020-09-26 01:30:44 Functions: 0 5 0.0 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'qvaluecombobox.h'
       3             : **
       4             : **
       5             : ** WARNING! All changes made in this file will be lost!
       6             : *****************************************************************************/
       7             : 
       8             : #include <memory>
       9             : #include "qt/qvaluecombobox.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'qvaluecombobox.h' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.15.0. 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_QValueComboBox_t {
      24             :     QByteArrayData data[6];
      25             :     char stringdata0[62];
      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_QValueComboBox_t, stringdata0) + ofs \
      30             :         - idx * sizeof(QByteArrayData)) \
      31             :     )
      32             : static const qt_meta_stringdata_QValueComboBox_t qt_meta_stringdata_QValueComboBox = {
      33             :     {
      34             : QT_MOC_LITERAL(0, 0, 14), // "QValueComboBox"
      35             : QT_MOC_LITERAL(1, 15, 12), // "valueChanged"
      36             : QT_MOC_LITERAL(2, 28, 0), // ""
      37             : QT_MOC_LITERAL(3, 29, 22), // "handleSelectionChanged"
      38             : QT_MOC_LITERAL(4, 52, 3), // "idx"
      39             : QT_MOC_LITERAL(5, 56, 5) // "value"
      40             : 
      41             :     },
      42             :     "QValueComboBox\0valueChanged\0\0"
      43             :     "handleSelectionChanged\0idx\0value"
      44             : };
      45             : #undef QT_MOC_LITERAL
      46             : 
      47             : static const uint qt_meta_data_QValueComboBox[] = {
      48             : 
      49             :  // content:
      50             :        8,       // revision
      51             :        0,       // classname
      52             :        0,    0, // classinfo
      53             :        2,   14, // methods
      54             :        1,   28, // properties
      55             :        0,    0, // enums/sets
      56             :        0,    0, // constructors
      57             :        0,       // flags
      58             :        1,       // signalCount
      59             : 
      60             :  // signals: name, argc, parameters, tag, flags
      61             :        1,    0,   24,    2, 0x06 /* Public */,
      62             : 
      63             :  // slots: name, argc, parameters, tag, flags
      64             :        3,    1,   25,    2, 0x08 /* Private */,
      65             : 
      66             :  // signals: parameters
      67             :     QMetaType::Void,
      68             : 
      69             :  // slots: parameters
      70             :     QMetaType::Void, QMetaType::Int,    4,
      71             : 
      72             :  // properties: name, type, flags
      73             :        5, QMetaType::QVariant, 0x00595103,
      74             : 
      75             :  // properties: notify_signal_id
      76             :        0,
      77             : 
      78             :        0        // eod
      79             : };
      80             : 
      81           0 : void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      82             : {
      83           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
      84           0 :         auto *_t = static_cast<QValueComboBox *>(_o);
      85             :         Q_UNUSED(_t)
      86           0 :         switch (_id) {
      87           0 :         case 0: _t->valueChanged(); break;
      88           0 :         case 1: _t->handleSelectionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
      89             :         default: ;
      90             :         }
      91           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
      92           0 :         int *result = reinterpret_cast<int *>(_a[0]);
      93             :         {
      94             :             using _t = void (QValueComboBox::*)();
      95           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QValueComboBox::valueChanged)) {
      96           0 :                 *result = 0;
      97           0 :                 return;
      98             :             }
      99             :         }
     100           0 :     }
     101             : #ifndef QT_NO_PROPERTIES
     102           0 :     else if (_c == QMetaObject::ReadProperty) {
     103           0 :         auto *_t = static_cast<QValueComboBox *>(_o);
     104             :         Q_UNUSED(_t)
     105           0 :         void *_v = _a[0];
     106           0 :         switch (_id) {
     107           0 :         case 0: *reinterpret_cast< QVariant*>(_v) = _t->value(); break;
     108             :         default: break;
     109             :         }
     110           0 :     } else if (_c == QMetaObject::WriteProperty) {
     111           0 :         auto *_t = static_cast<QValueComboBox *>(_o);
     112             :         Q_UNUSED(_t)
     113           0 :         void *_v = _a[0];
     114           0 :         switch (_id) {
     115           0 :         case 0: _t->setValue(*reinterpret_cast< QVariant*>(_v)); break;
     116             :         default: break;
     117             :         }
     118           0 :     } else if (_c == QMetaObject::ResetProperty) {
     119             :     }
     120             : #endif // QT_NO_PROPERTIES
     121           0 : }
     122             : 
     123             : QT_INIT_METAOBJECT const QMetaObject QValueComboBox::staticMetaObject = { {
     124             :     QMetaObject::SuperData::link<QComboBox::staticMetaObject>(),
     125             :     qt_meta_stringdata_QValueComboBox.data,
     126             :     qt_meta_data_QValueComboBox,
     127             :     qt_static_metacall,
     128             :     nullptr,
     129             :     nullptr
     130             : } };
     131             : 
     132             : 
     133           0 : const QMetaObject *QValueComboBox::metaObject() const
     134             : {
     135           0 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     136             : }
     137             : 
     138           0 : void *QValueComboBox::qt_metacast(const char *_clname)
     139             : {
     140           0 :     if (!_clname) return nullptr;
     141           0 :     if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox.stringdata0))
     142           0 :         return static_cast<void*>(this);
     143           0 :     return QComboBox::qt_metacast(_clname);
     144           0 : }
     145             : 
     146           0 : int QValueComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     147             : {
     148           0 :     _id = QComboBox::qt_metacall(_c, _id, _a);
     149           0 :     if (_id < 0)
     150           0 :         return _id;
     151           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     152           0 :         if (_id < 2)
     153           0 :             qt_static_metacall(this, _c, _id, _a);
     154           0 :         _id -= 2;
     155           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     156           0 :         if (_id < 2)
     157           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     158           0 :         _id -= 2;
     159           0 :     }
     160             : #ifndef QT_NO_PROPERTIES
     161           0 :     else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
     162           0 :             || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
     163           0 :         qt_static_metacall(this, _c, _id, _a);
     164           0 :         _id -= 1;
     165           0 :     } else if (_c == QMetaObject::QueryPropertyDesignable) {
     166           0 :         _id -= 1;
     167           0 :     } else if (_c == QMetaObject::QueryPropertyScriptable) {
     168           0 :         _id -= 1;
     169           0 :     } else if (_c == QMetaObject::QueryPropertyStored) {
     170           0 :         _id -= 1;
     171           0 :     } else if (_c == QMetaObject::QueryPropertyEditable) {
     172           0 :         _id -= 1;
     173           0 :     } else if (_c == QMetaObject::QueryPropertyUser) {
     174           0 :         _id -= 1;
     175           0 :     }
     176             : #endif // QT_NO_PROPERTIES
     177           0 :     return _id;
     178           0 : }
     179             : 
     180             : // SIGNAL 0
     181           0 : void QValueComboBox::valueChanged()
     182             : {
     183           0 :     QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
     184           0 : }
     185             : QT_WARNING_POP
     186             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.15