00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "../StatusBar/StatusBar.h"
00010 #include <QtCore/qbytearray.h>
00011 #include <QtCore/qmetatype.h>
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'StatusBar.h' doesn't include <QObject>."
00014 #elif Q_MOC_OUTPUT_REVISION != 67
00015 #error "This file was generated using the moc from 5.6.0. It"
00016 #error "cannot be used with the include files from this version of Qt."
00017 #error "(The moc has changed too much.)"
00018 #endif
00019
00020 QT_BEGIN_MOC_NAMESPACE
00021 struct qt_meta_stringdata_StatusBar_t {
00022 QByteArrayData data[9];
00023 char stringdata0[101];
00024 };
00025 #define QT_MOC_LITERAL(idx, ofs, len) \
00026 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
00027 qptrdiff(offsetof(qt_meta_stringdata_StatusBar_t, stringdata0) + ofs \
00028 - idx * sizeof(QByteArrayData)) \
00029 )
00030 static const qt_meta_stringdata_StatusBar_t qt_meta_stringdata_StatusBar = {
00031 {
00032 QT_MOC_LITERAL(0, 0, 9),
00033 QT_MOC_LITERAL(1, 10, 10),
00034 QT_MOC_LITERAL(2, 21, 0),
00035 QT_MOC_LITERAL(3, 22, 8),
00036 QT_MOC_LITERAL(4, 31, 14),
00037 QT_MOC_LITERAL(5, 46, 13),
00038 QT_MOC_LITERAL(6, 60, 20),
00039 QT_MOC_LITERAL(7, 81, 7),
00040 QT_MOC_LITERAL(8, 89, 11)
00041
00042 },
00043 "StatusBar\0signalZoom\0\0slotZoom\0"
00044 "slotComboUnits\0slotComboZoom\0"
00045 "slotStatusBarChanged\0message\0slotTimeout"
00046 };
00047 #undef QT_MOC_LITERAL
00048
00049 static const uint qt_meta_data_StatusBar[] = {
00050
00051
00052 7,
00053 0,
00054 0, 0,
00055 6, 14,
00056 0, 0,
00057 0, 0,
00058 0, 0,
00059 0,
00060 1,
00061
00062
00063 1, 1, 44, 2, 0x06 ,
00064
00065
00066 3, 1, 47, 2, 0x0a ,
00067 4, 1, 50, 2, 0x08 ,
00068 5, 1, 53, 2, 0x08 ,
00069 6, 1, 56, 2, 0x08 ,
00070 8, 0, 59, 2, 0x08 ,
00071
00072
00073 QMetaType::Void, QMetaType::Int, 2,
00074
00075
00076 QMetaType::Void, QMetaType::Int, 2,
00077 QMetaType::Void, QMetaType::QString, 2,
00078 QMetaType::Void, QMetaType::QString, 2,
00079 QMetaType::Void, QMetaType::QString, 7,
00080 QMetaType::Void,
00081
00082 0
00083 };
00084
00085 void StatusBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00086 {
00087 if (_c == QMetaObject::InvokeMetaMethod) {
00088 StatusBar *_t = static_cast<StatusBar *>(_o);
00089 Q_UNUSED(_t)
00090 switch (_id) {
00091 case 0: _t->signalZoom((*reinterpret_cast< int(*)>(_a[1]))); break;
00092 case 1: _t->slotZoom((*reinterpret_cast< int(*)>(_a[1]))); break;
00093 case 2: _t->slotComboUnits((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00094 case 3: _t->slotComboZoom((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00095 case 4: _t->slotStatusBarChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00096 case 5: _t->slotTimeout(); break;
00097 default: ;
00098 }
00099 } else if (_c == QMetaObject::IndexOfMethod) {
00100 int *result = reinterpret_cast<int *>(_a[0]);
00101 void **func = reinterpret_cast<void **>(_a[1]);
00102 {
00103 typedef void (StatusBar::*_t)(int );
00104 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StatusBar::signalZoom)) {
00105 *result = 0;
00106 return;
00107 }
00108 }
00109 }
00110 }
00111
00112 const QMetaObject StatusBar::staticMetaObject = {
00113 { &QObject::staticMetaObject, qt_meta_stringdata_StatusBar.data,
00114 qt_meta_data_StatusBar, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00115 };
00116
00117
00118 const QMetaObject *StatusBar::metaObject() const
00119 {
00120 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00121 }
00122
00123 void *StatusBar::qt_metacast(const char *_clname)
00124 {
00125 if (!_clname) return Q_NULLPTR;
00126 if (!strcmp(_clname, qt_meta_stringdata_StatusBar.stringdata0))
00127 return static_cast<void*>(const_cast< StatusBar*>(this));
00128 return QObject::qt_metacast(_clname);
00129 }
00130
00131 int StatusBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00132 {
00133 _id = QObject::qt_metacall(_c, _id, _a);
00134 if (_id < 0)
00135 return _id;
00136 if (_c == QMetaObject::InvokeMetaMethod) {
00137 if (_id < 6)
00138 qt_static_metacall(this, _c, _id, _a);
00139 _id -= 6;
00140 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00141 if (_id < 6)
00142 *reinterpret_cast<int*>(_a[0]) = -1;
00143 _id -= 6;
00144 }
00145 return _id;
00146 }
00147
00148
00149 void StatusBar::signalZoom(int _t1)
00150 {
00151 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00152 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00153 }
00154 QT_END_MOC_NAMESPACE