00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "../Dlg/DlgSettingsCurveAddRemove.h"
00010 #include <QtCore/qbytearray.h>
00011 #include <QtCore/qmetatype.h>
00012 #include <QtCore/QVector>
00013 #if !defined(Q_MOC_OUTPUT_REVISION)
00014 #error "The header file 'DlgSettingsCurveAddRemove.h' doesn't include <QObject>."
00015 #elif Q_MOC_OUTPUT_REVISION != 67
00016 #error "This file was generated using the moc from 5.6.1. It"
00017 #error "cannot be used with the include files from this version of Qt."
00018 #error "(The moc has changed too much.)"
00019 #endif
00020
00021 QT_BEGIN_MOC_NAMESPACE
00022 struct qt_meta_stringdata_DlgSettingsCurveAddRemove_t {
00023 QByteArrayData data[13];
00024 char stringdata0[170];
00025 };
00026 #define QT_MOC_LITERAL(idx, ofs, len) \
00027 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
00028 qptrdiff(offsetof(qt_meta_stringdata_DlgSettingsCurveAddRemove_t, stringdata0) + ofs \
00029 - idx * sizeof(QByteArrayData)) \
00030 )
00031 static const qt_meta_stringdata_DlgSettingsCurveAddRemove_t qt_meta_stringdata_DlgSettingsCurveAddRemove = {
00032 {
00033 QT_MOC_LITERAL(0, 0, 25),
00034 QT_MOC_LITERAL(1, 26, 15),
00035 QT_MOC_LITERAL(2, 42, 0),
00036 QT_MOC_LITERAL(3, 43, 7),
00037 QT_MOC_LITERAL(4, 51, 11),
00038 QT_MOC_LITERAL(5, 63, 12),
00039 QT_MOC_LITERAL(6, 76, 5),
00040 QT_MOC_LITERAL(7, 82, 7),
00041 QT_MOC_LITERAL(8, 90, 10),
00042 QT_MOC_LITERAL(9, 101, 16),
00043 QT_MOC_LITERAL(10, 118, 15),
00044 QT_MOC_LITERAL(11, 134, 20),
00045 QT_MOC_LITERAL(12, 155, 14)
00046
00047 },
00048 "DlgSettingsCurveAddRemove\0slotDataChanged\0"
00049 "\0topLeft\0bottomRight\0QVector<int>\0"
00050 "roles\0slotNew\0slotRemove\0slotResetDefault\0"
00051 "slotSaveDefault\0slotSelectionChanged\0"
00052 "QItemSelection"
00053 };
00054 #undef QT_MOC_LITERAL
00055
00056 static const uint qt_meta_data_DlgSettingsCurveAddRemove[] = {
00057
00058
00059 7,
00060 0,
00061 0, 0,
00062 6, 14,
00063 0, 0,
00064 0, 0,
00065 0, 0,
00066 0,
00067 0,
00068
00069
00070 1, 3, 44, 2, 0x08 ,
00071 7, 0, 51, 2, 0x08 ,
00072 8, 0, 52, 2, 0x08 ,
00073 9, 0, 53, 2, 0x08 ,
00074 10, 0, 54, 2, 0x08 ,
00075 11, 2, 55, 2, 0x08 ,
00076
00077
00078 QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex, 0x80000000 | 5, 3, 4, 6,
00079 QMetaType::Void,
00080 QMetaType::Void,
00081 QMetaType::Void,
00082 QMetaType::Void,
00083 QMetaType::Void, 0x80000000 | 12, 0x80000000 | 12, 2, 2,
00084
00085 0
00086 };
00087
00088 void DlgSettingsCurveAddRemove::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00089 {
00090 if (_c == QMetaObject::InvokeMetaMethod) {
00091 DlgSettingsCurveAddRemove *_t = static_cast<DlgSettingsCurveAddRemove *>(_o);
00092 Q_UNUSED(_t)
00093 switch (_id) {
00094 case 0: _t->slotDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QVector<int>(*)>(_a[3]))); break;
00095 case 1: _t->slotNew(); break;
00096 case 2: _t->slotRemove(); break;
00097 case 3: _t->slotResetDefault(); break;
00098 case 4: _t->slotSaveDefault(); break;
00099 case 5: _t->slotSelectionChanged((*reinterpret_cast< QItemSelection(*)>(_a[1])),(*reinterpret_cast< QItemSelection(*)>(_a[2]))); break;
00100 default: ;
00101 }
00102 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00103 switch (_id) {
00104 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
00105 case 0:
00106 switch (*reinterpret_cast<int*>(_a[1])) {
00107 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
00108 case 2:
00109 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<int> >(); break;
00110 }
00111 break;
00112 case 5:
00113 switch (*reinterpret_cast<int*>(_a[1])) {
00114 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
00115 case 1:
00116 case 0:
00117 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
00118 }
00119 break;
00120 }
00121 }
00122 }
00123
00124 const QMetaObject DlgSettingsCurveAddRemove::staticMetaObject = {
00125 { &DlgSettingsAbstractBase::staticMetaObject, qt_meta_stringdata_DlgSettingsCurveAddRemove.data,
00126 qt_meta_data_DlgSettingsCurveAddRemove, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00127 };
00128
00129
00130 const QMetaObject *DlgSettingsCurveAddRemove::metaObject() const
00131 {
00132 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00133 }
00134
00135 void *DlgSettingsCurveAddRemove::qt_metacast(const char *_clname)
00136 {
00137 if (!_clname) return Q_NULLPTR;
00138 if (!strcmp(_clname, qt_meta_stringdata_DlgSettingsCurveAddRemove.stringdata0))
00139 return static_cast<void*>(const_cast< DlgSettingsCurveAddRemove*>(this));
00140 return DlgSettingsAbstractBase::qt_metacast(_clname);
00141 }
00142
00143 int DlgSettingsCurveAddRemove::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00144 {
00145 _id = DlgSettingsAbstractBase::qt_metacall(_c, _id, _a);
00146 if (_id < 0)
00147 return _id;
00148 if (_c == QMetaObject::InvokeMetaMethod) {
00149 if (_id < 6)
00150 qt_static_metacall(this, _c, _id, _a);
00151 _id -= 6;
00152 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00153 if (_id < 6)
00154 qt_static_metacall(this, _c, _id, _a);
00155 _id -= 6;
00156 }
00157 return _id;
00158 }
00159 QT_END_MOC_NAMESPACE