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[15];
00024 char stringdata0[183];
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, 24),
00035 QT_MOC_LITERAL(2, 51, 0),
00036 QT_MOC_LITERAL(3, 52, 6),
00037 QT_MOC_LITERAL(4, 59, 8),
00038 QT_MOC_LITERAL(5, 68, 7),
00039 QT_MOC_LITERAL(6, 76, 15),
00040 QT_MOC_LITERAL(7, 92, 7),
00041 QT_MOC_LITERAL(8, 100, 11),
00042 QT_MOC_LITERAL(9, 112, 12),
00043 QT_MOC_LITERAL(10, 125, 5),
00044 QT_MOC_LITERAL(11, 131, 7),
00045 QT_MOC_LITERAL(12, 139, 10),
00046 QT_MOC_LITERAL(13, 150, 16),
00047 QT_MOC_LITERAL(14, 167, 15)
00048
00049 },
00050 "DlgSettingsCurveAddRemove\0"
00051 "slotRowsAboutToBeRemoved\0\0parent\0"
00052 "rowFirst\0rowLast\0slotDataChanged\0"
00053 "topLeft\0bottomRight\0QVector<int>\0roles\0"
00054 "slotNew\0slotRemove\0slotResetDefault\0"
00055 "slotSaveDefault"
00056 };
00057 #undef QT_MOC_LITERAL
00058
00059 static const uint qt_meta_data_DlgSettingsCurveAddRemove[] = {
00060
00061
00062 7,
00063 0,
00064 0, 0,
00065 6, 14,
00066 0, 0,
00067 0, 0,
00068 0, 0,
00069 0,
00070 0,
00071
00072
00073 1, 3, 44, 2, 0x0a ,
00074 6, 3, 51, 2, 0x08 ,
00075 11, 0, 58, 2, 0x08 ,
00076 12, 0, 59, 2, 0x08 ,
00077 13, 0, 60, 2, 0x08 ,
00078 14, 0, 61, 2, 0x08 ,
00079
00080
00081 QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, 3, 4, 5,
00082 QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex, 0x80000000 | 9, 7, 8, 10,
00083 QMetaType::Void,
00084 QMetaType::Void,
00085 QMetaType::Void,
00086 QMetaType::Void,
00087
00088 0
00089 };
00090
00091 void DlgSettingsCurveAddRemove::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00092 {
00093 if (_c == QMetaObject::InvokeMetaMethod) {
00094 DlgSettingsCurveAddRemove *_t = static_cast<DlgSettingsCurveAddRemove *>(_o);
00095 Q_UNUSED(_t)
00096 switch (_id) {
00097 case 0: _t->slotRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
00098 case 1: _t->slotDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QVector<int>(*)>(_a[3]))); break;
00099 case 2: _t->slotNew(); break;
00100 case 3: _t->slotRemove(); break;
00101 case 4: _t->slotResetDefault(); break;
00102 case 5: _t->slotSaveDefault(); break;
00103 default: ;
00104 }
00105 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00106 switch (_id) {
00107 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
00108 case 1:
00109 switch (*reinterpret_cast<int*>(_a[1])) {
00110 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
00111 case 2:
00112 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<int> >(); 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 < 6)
00145 qt_static_metacall(this, _c, _id, _a);
00146 _id -= 6;
00147 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00148 if (_id < 6)
00149 qt_static_metacall(this, _c, _id, _a);
00150 _id -= 6;
00151 }
00152 return _id;
00153 }
00154 QT_END_MOC_NAMESPACE