2012-06-29 14:21:22 +00:00
|
|
|
/****************************************************************************
|
|
|
|
** Meta object code from reading C++ file 'SkCanvasWidget.h'
|
|
|
|
**
|
2012-07-26 20:26:44 +00:00
|
|
|
** Created: Thu Jul 26 15:56:26 2012
|
2012-06-29 14:21:22 +00:00
|
|
|
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
|
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost!
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#include "SkCanvasWidget.h"
|
|
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
|
|
#error "The header file 'SkCanvasWidget.h' doesn't include <QObject>."
|
|
|
|
#elif Q_MOC_OUTPUT_REVISION != 62
|
|
|
|
#error "This file was generated using the moc from 4.6.2. It"
|
|
|
|
#error "cannot be used with the include files from this version of Qt."
|
|
|
|
#error "(The moc has changed too much.)"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QT_BEGIN_MOC_NAMESPACE
|
|
|
|
static const uint qt_meta_data_SkCanvasWidget[] = {
|
|
|
|
|
|
|
|
// content:
|
|
|
|
4, // revision
|
|
|
|
0, // classname
|
|
|
|
0, 0, // classinfo
|
2012-07-26 20:26:44 +00:00
|
|
|
4, 14, // methods
|
2012-06-29 14:21:22 +00:00
|
|
|
0, 0, // properties
|
|
|
|
0, 0, // enums/sets
|
|
|
|
0, 0, // constructors
|
|
|
|
0, // flags
|
2012-07-12 14:31:25 +00:00
|
|
|
3, // signalCount
|
2012-07-09 20:26:53 +00:00
|
|
|
|
|
|
|
// signals: signature, parameters, type, tag, flags
|
|
|
|
31, 16, 15, 15, 0x05,
|
|
|
|
68, 57, 15, 15, 0x05,
|
2012-07-12 14:31:25 +00:00
|
|
|
92, 88, 15, 15, 0x05,
|
2012-06-29 14:21:22 +00:00
|
|
|
|
2012-07-26 20:26:44 +00:00
|
|
|
// slots: signature, parameters, type, tag, flags
|
|
|
|
122, 108, 15, 15, 0x08,
|
|
|
|
|
2012-06-29 14:21:22 +00:00
|
|
|
0 // eod
|
|
|
|
};
|
|
|
|
|
|
|
|
static const char qt_meta_stringdata_SkCanvasWidget[] = {
|
2012-07-09 20:26:53 +00:00
|
|
|
"SkCanvasWidget\0\0newScaleFactor\0"
|
|
|
|
"scaleFactorChanged(float)\0newCommand\0"
|
2012-07-12 14:31:25 +00:00
|
|
|
"commandChanged(int)\0hit\0hitChanged(int)\0"
|
2012-07-26 20:26:44 +00:00
|
|
|
"zoomIncrement\0keyZoom(int)\0"
|
2012-06-29 14:21:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
const QMetaObject SkCanvasWidget::staticMetaObject = {
|
|
|
|
{ &QWidget::staticMetaObject, qt_meta_stringdata_SkCanvasWidget,
|
|
|
|
qt_meta_data_SkCanvasWidget, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef Q_NO_DATA_RELOCATION
|
|
|
|
const QMetaObject &SkCanvasWidget::getStaticMetaObject() { return staticMetaObject; }
|
|
|
|
#endif //Q_NO_DATA_RELOCATION
|
|
|
|
|
|
|
|
const QMetaObject *SkCanvasWidget::metaObject() const
|
|
|
|
{
|
|
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
|
|
|
}
|
|
|
|
|
|
|
|
void *SkCanvasWidget::qt_metacast(const char *_clname)
|
|
|
|
{
|
|
|
|
if (!_clname) return 0;
|
|
|
|
if (!strcmp(_clname, qt_meta_stringdata_SkCanvasWidget))
|
|
|
|
return static_cast<void*>(const_cast< SkCanvasWidget*>(this));
|
|
|
|
return QWidget::qt_metacast(_clname);
|
|
|
|
}
|
|
|
|
|
|
|
|
int SkCanvasWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
|
|
|
{
|
|
|
|
_id = QWidget::qt_metacall(_c, _id, _a);
|
|
|
|
if (_id < 0)
|
|
|
|
return _id;
|
2012-07-09 20:26:53 +00:00
|
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
|
|
switch (_id) {
|
|
|
|
case 0: scaleFactorChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
|
|
|
|
case 1: commandChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
2012-07-12 14:31:25 +00:00
|
|
|
case 2: hitChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
2012-07-26 20:26:44 +00:00
|
|
|
case 3: keyZoom((*reinterpret_cast< int(*)>(_a[1]))); break;
|
2012-07-09 20:26:53 +00:00
|
|
|
default: ;
|
|
|
|
}
|
2012-07-26 20:26:44 +00:00
|
|
|
_id -= 4;
|
2012-07-09 20:26:53 +00:00
|
|
|
}
|
2012-06-29 14:21:22 +00:00
|
|
|
return _id;
|
|
|
|
}
|
2012-07-09 20:26:53 +00:00
|
|
|
|
|
|
|
// SIGNAL 0
|
|
|
|
void SkCanvasWidget::scaleFactorChanged(float _t1)
|
|
|
|
{
|
|
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
|
|
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
|
|
|
}
|
|
|
|
|
|
|
|
// SIGNAL 1
|
|
|
|
void SkCanvasWidget::commandChanged(int _t1)
|
|
|
|
{
|
|
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
|
|
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
|
|
|
}
|
2012-07-12 14:31:25 +00:00
|
|
|
|
|
|
|
// SIGNAL 2
|
|
|
|
void SkCanvasWidget::hitChanged(int _t1)
|
|
|
|
{
|
|
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
|
|
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
|
|
|
}
|
2012-06-29 14:21:22 +00:00
|
|
|
QT_END_MOC_NAMESPACE
|