/****************************************************************************
** Meta object code from reading C++ file 'scribblearea.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../MainWindow/scribblearea.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scribblearea.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.3.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
struct qt_meta_stringdata_ScribbleArea_t {
QByteArrayData data[15];
char stringdata[209];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ScribbleArea_t, stringdata) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ScribbleArea_t qt_meta_stringdata_ScribbleArea = {
{
QT_MOC_LITERAL(0, 0, 12),
QT_MOC_LITERAL(1, 13, 5),
QT_MOC_LITERAL(2, 19, 0),
QT_MOC_LITERAL(3, 20, 5),
QT_MOC_LITERAL(4, 26, 12),
QT_MOC_LITERAL(5, 39, 13),
QT_MOC_LITERAL(6, 53, 10),
QT_MOC_LITERAL(7, 64, 10),
QT_MOC_LITERAL(8, 75, 13),
QT_MOC_LITERAL(9, 89, 17),
QT_MOC_LITERAL(10, 107, 17),
QT_MOC_LITERAL(11, 125, 22),
QT_MOC_LITERAL(12, 148, 20),
QT_MOC_LITERAL(13, 169, 20),
QT_MOC_LITERAL(14, 190, 18)
},
"ScribbleArea\0setP1\0\0setP2\0mousePressed\0"
"mouseReleased\0mouseMoved\0clearImage\0"
"setStatusNull\0setStatusDrawLine\0"
"setStatusDrawRect\0setStatusDrawRoundRect\0"
"setStatusDrawEllipse\0setStatusCircleErase\0"
"setStatusRectErase"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ScribbleArea[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
13, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
5, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 79, 2, 0x06 /* Public */,
3, 1, 82, 2, 0x06 /* Public */,
4, 0, 85, 2, 0x06 /* Public */,
5, 0, 86, 2, 0x06 /* Public */,
6, 0, 87, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
7, 0, 88, 2, 0x0a /* Public */,
8, 0, 89, 2, 0x0a /* Public */,
9, 0, 90, 2, 0x0a /* Public */,
10, 0, 91, 2, 0x0a /* Public */,
11, 0, 92, 2, 0x0a /* Public */,
12, 0, 93, 2, 0x0a /* Public */,
13, 0, 94, 2, 0x0a /* Public */,
14, 0, 95, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::QPointF, 2,
QMetaType::Void, QMetaType::QPointF, 2,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void ScribbleArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
ScribbleArea *_t = static_cast<ScribbleArea *>(_o);
switch (_id) {
case 0: _t->setP1((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
case 1: _t->setP2((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
case 2: _t->mousePressed(); break;
case 3: _t->mouseReleased(); break;
case 4: _t->mouseMoved(); break;
case 5: _t->clearImage(); break;
case 6: _t->setStatusNull(); break;
case 7: _t->setStatusDrawLine(); break;
case 8: _t->setStatusDrawRect(); break;
case 9: _t->setStatusDrawRoundRect(); break;
case 10: _t->setStatusDrawEllipse(); break;
case 11: _t->setStatusCircleErase(); break;
case 12: _t->setStatusRectErase(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef void (ScribbleArea::*_t)(QPointF );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ScribbleArea::setP1)) {
*result = 0;
}
}
{
typedef void (ScribbleArea::*_t)(QPointF );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ScribbleArea::setP2)) {
*result = 1;
}
}
{
typedef void (ScribbleArea::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ScribbleArea::mousePressed)) {
*result = 2;
}
}
{
typedef void (ScribbleArea::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ScribbleArea::mouseReleased)) {
*result = 3;
}
}
{
typedef void (ScribbleArea::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ScribbleArea::mouseMoved)) {
*result = 4;
}
}
}
}
const QMetaObject ScribbleArea::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_ScribbleArea.data,
qt_meta_data_ScribbleArea, qt_static_metacall, 0, 0}
};
const QMetaObject *ScribbleArea::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ScribbleArea::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_ScribbleArea.stringdata))
return static_cast<void*>(const_cast< ScribbleArea*>(this));
return QWidget::qt_metacast(_clname);
}
int ScribbleArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 13)
qt_static_metacall(this, _c, _id, _a);
_id -= 13;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 13)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 13;
}
return _id;
}
// SIGNAL 0
void ScribbleArea::setP1(QPointF _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void ScribbleArea::setP2(QPointF _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void ScribbleArea::mousePressed()
{
QMetaObject::activate(this, &staticMetaObject, 2, 0);
}
// SIGNAL 3
void ScribbleArea::mouseReleased()
{
QMetaObject::activate(this, &staticMetaObject, 3, 0);
}
// SIGNAL 4
void ScribbleArea::mouseMoved()
{
QMetaObject::activate(this, &staticMetaObject, 4, 0);
}
QT_END_MOC_NAMESPACE