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.0. 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[12];
00024 char stringdata0[153];
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, 15),
00043 QT_MOC_LITERAL(10, 117, 20),
00044 QT_MOC_LITERAL(11, 138, 14)
00045
00046 },
00047 "DlgSettingsCurveAddRemove\0slotDataChanged\0"
00048 "\0topLeft\0bottomRight\0QVector<int>\0"
00049 "roles\0slotNew\0slotRemove\0slotSaveDefault\0"
00050 "slotSelectionChanged\0QItemSelection"
00051 };
00052 #undef QT_MOC_LITERAL
00053
00054 static const uint qt_meta_data_DlgSettingsCurveAddRemove[] = {
00055
00056
00057 7,
00058 0,
00059 0, 0,
00060 5, 14,
00061 0, 0,
00062 0, 0,
00063 0, 0,
00064 0,
00065 0,
00066
00067
00068 1, 3, 39, 2, 0x08 ,
00069 7, 0, 46, 2, 0x08 ,
00070 8, 0, 47, 2, 0x08 ,
00071 9, 0, 48, 2, 0x08 ,
00072 10, 2, 49, 2, 0x08 ,
00073
00074
00075 QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex, 0x80000000 | 5, 3, 4, 6,
00076 QMetaType::Void,
00077 QMetaType::Void,
00078 QMetaType::Void,
00079 QMetaType::Void, 0x80000000 | 11, 0x80000000 | 11, 2, 2,
00080
00081 0
00082 };
00083
00084 void DlgSettingsCurveAddRemove::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00085 {
00086 if (_c == QMetaObject::InvokeMetaMethod) {
00087 DlgSettingsCurveAddRemove *_t = static_cast<DlgSettingsCurveAddRemove *>(_o);
00088 Q_UNUSED(_t)
00089 switch (_id) {
00090 case 0: _t->slotDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QVector<int>(*)>(_a[3]))); break;
00091 case 1: _t->slotNew(); break;
00092 case 2: _t->slotRemove(); break;
00093 case 3: _t->slotSaveDefault(); break;
00094 case 4: _t->slotSelectionChanged((*reinterpret_cast< QItemSelection(*)>(_a[1])),(*reinterpret_cast< QItemSelection(*)>(_a[2]))); break;
00095 default: ;
00096 }
00097 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00098 switch (_id) {
00099 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
00100 case 0:
00101 switch (*reinterpret_cast<int*>(_a[1])) {
00102 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
00103 case 2:
00104 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<int> >(); break;
00105 }
00106 break;
00107 case 4:
00108 switch (*reinterpret_cast<int*>(_a[1])) {
00109 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
00110 case 1:
00111 case 0:
00112 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
00113 }
00114 break;
00115 }
00116 }
00117 }
00118
00119 const QMetaObject DlgSettingsCurveAddRemove::staticMetaObject = {
00120 { &DlgSettingsAbstractBase::staticMetaObject, qt_meta_stringdata_DlgSettingsCurveAddRemove.data,
00121 qt_meta_data_DlgSettingsCurveAddRemove, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00122 };
00123
00124
00125 const QMetaObject *DlgSettingsCurveAddRemove::metaObject() const
00126 {
00127 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00128 }
00129
00130 void *DlgSettingsCurveAddRemove::qt_metacast(const char *_clname)
00131 {
00132 if (!_clname) return Q_NULLPTR;
00133 if (!strcmp(_clname, qt_meta_stringdata_DlgSettingsCurveAddRemove.stringdata0))
00134 return static_cast<void*>(const_cast< DlgSettingsCurveAddRemove*>(this));
00135 return DlgSettingsAbstractBase::qt_metacast(_clname);
00136 }
00137
00138 int DlgSettingsCurveAddRemove::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00139 {
00140 _id = DlgSettingsAbstractBase::qt_metacall(_c, _id, _a);
00141 if (_id < 0)
00142 return _id;
00143 if (_c == QMetaObject::InvokeMetaMethod) {
00144 if (_id < 5)
00145 qt_static_metacall(this, _c, _id, _a);
00146 _id -= 5;
00147 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00148 if (_id < 5)
00149 qt_static_metacall(this, _c, _id, _a);
00150 _id -= 5;
00151 }
00152 return _id;
00153 }
00154 QT_END_MOC_NAMESPACE