/****************************************************************************
** Meta object code from reading C++ file 'qgraphicsitem.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.19)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../graphicsview/qgraphicsitem.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qgraphicsitem.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QGraphicsObject_t {
    QByteArrayData data[34];
    char stringdata0[390];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QGraphicsObject_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QGraphicsObject_t qt_meta_stringdata_QGraphicsObject = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QGraphicsObject"
QT_MOC_LITERAL(1, 16, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 32, 8), // "children"
QT_MOC_LITERAL(3, 41, 13), // "parentChanged"
QT_MOC_LITERAL(4, 55, 0), // ""
QT_MOC_LITERAL(5, 56, 14), // "opacityChanged"
QT_MOC_LITERAL(6, 71, 14), // "visibleChanged"
QT_MOC_LITERAL(7, 86, 14), // "enabledChanged"
QT_MOC_LITERAL(8, 101, 8), // "xChanged"
QT_MOC_LITERAL(9, 110, 8), // "yChanged"
QT_MOC_LITERAL(10, 119, 8), // "zChanged"
QT_MOC_LITERAL(11, 128, 15), // "rotationChanged"
QT_MOC_LITERAL(12, 144, 12), // "scaleChanged"
QT_MOC_LITERAL(13, 157, 15), // "childrenChanged"
QT_MOC_LITERAL(14, 173, 12), // "widthChanged"
QT_MOC_LITERAL(15, 186, 13), // "heightChanged"
QT_MOC_LITERAL(16, 200, 16), // "updateMicroFocus"
QT_MOC_LITERAL(17, 217, 6), // "parent"
QT_MOC_LITERAL(18, 224, 16), // "QGraphicsObject*"
QT_MOC_LITERAL(19, 241, 7), // "opacity"
QT_MOC_LITERAL(20, 249, 7), // "enabled"
QT_MOC_LITERAL(21, 257, 7), // "visible"
QT_MOC_LITERAL(22, 265, 3), // "pos"
QT_MOC_LITERAL(23, 269, 1), // "x"
QT_MOC_LITERAL(24, 271, 1), // "y"
QT_MOC_LITERAL(25, 273, 1), // "z"
QT_MOC_LITERAL(26, 275, 8), // "rotation"
QT_MOC_LITERAL(27, 284, 5), // "scale"
QT_MOC_LITERAL(28, 290, 20), // "transformOriginPoint"
QT_MOC_LITERAL(29, 311, 6), // "effect"
QT_MOC_LITERAL(30, 318, 16), // "QGraphicsEffect*"
QT_MOC_LITERAL(31, 335, 41), // "QDeclarativeListProperty<QGra..."
QT_MOC_LITERAL(32, 377, 5), // "width"
QT_MOC_LITERAL(33, 383, 6) // "height"

    },
    "QGraphicsObject\0DefaultProperty\0"
    "children\0parentChanged\0\0opacityChanged\0"
    "visibleChanged\0enabledChanged\0xChanged\0"
    "yChanged\0zChanged\0rotationChanged\0"
    "scaleChanged\0childrenChanged\0widthChanged\0"
    "heightChanged\0updateMicroFocus\0parent\0"
    "QGraphicsObject*\0opacity\0enabled\0"
    "visible\0pos\0x\0y\0z\0rotation\0scale\0"
    "transformOriginPoint\0effect\0"
    "QGraphicsEffect*\0"
    "QDeclarativeListProperty<QGraphicsObject>\0"
    "width\0height"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QGraphicsObject[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
      13,   16, // methods
      15,   94, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      12,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   81,    4, 0x06 /* Public */,
       5,    0,   82,    4, 0x06 /* Public */,
       6,    0,   83,    4, 0x06 /* Public */,
       7,    0,   84,    4, 0x06 /* Public */,
       8,    0,   85,    4, 0x06 /* Public */,
       9,    0,   86,    4, 0x06 /* Public */,
      10,    0,   87,    4, 0x06 /* Public */,
      11,    0,   88,    4, 0x06 /* Public */,
      12,    0,   89,    4, 0x06 /* Public */,
      13,    0,   90,    4, 0x06 /* Public */,
      14,    0,   91,    4, 0x06 /* Public */,
      15,    0,   92,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,   93,    4, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

 // properties: name, type, flags
      17, 0x80000000 | 18, 0x0049400b,
      19, QMetaType::QReal, 0x00495903,
      20, QMetaType::Bool, 0x00495103,
      21, QMetaType::Bool, 0x00495903,
      22, QMetaType::QPointF, 0x00095903,
      23, QMetaType::QReal, 0x00495903,
      24, QMetaType::QReal, 0x00495903,
      25, QMetaType::QReal, 0x00495803,
      26, QMetaType::QReal, 0x00495103,
      27, QMetaType::QReal, 0x00495103,
      28, QMetaType::QPointF, 0x00095103,
      29, 0x80000000 | 30, 0x0009500b,
       2, 0x80000000 | 31, 0x00494009,
      32, QMetaType::QReal, 0x00495907,
      33, QMetaType::QReal, 0x00495907,

 // properties: notify_signal_id
       0,
       1,
       3,
       2,
       0,
       4,
       5,
       6,
       7,
       8,
       0,
       0,
       9,
      10,
      11,

       0        // eod
};

void QGraphicsObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QGraphicsObject *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->parentChanged(); break;
        case 1: _t->opacityChanged(); break;
        case 2: _t->visibleChanged(); break;
        case 3: _t->enabledChanged(); break;
        case 4: _t->xChanged(); break;
        case 5: _t->yChanged(); break;
        case 6: _t->zChanged(); break;
        case 7: _t->rotationChanged(); break;
        case 8: _t->scaleChanged(); break;
        case 9: _t->childrenChanged(); break;
        case 10: _t->widthChanged(); break;
        case 11: _t->heightChanged(); break;
        case 12: _t->updateMicroFocus(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::parentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::opacityChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::visibleChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::enabledChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::xChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::yChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::zChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::rotationChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::scaleChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::childrenChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::widthChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (QGraphicsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsObject::heightChanged)) {
                *result = 11;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QGraphicsObject* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QGraphicsObject *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QGraphicsObject**>(_v) = _t->parentObject(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = _t->opacity(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        case 4: *reinterpret_cast< QPointF*>(_v) = _t->pos(); break;
        case 5: *reinterpret_cast< qreal*>(_v) = _t->x(); break;
        case 6: *reinterpret_cast< qreal*>(_v) = _t->y(); break;
        case 7: *reinterpret_cast< qreal*>(_v) = _t->zValue(); break;
        case 8: *reinterpret_cast< qreal*>(_v) = _t->rotation(); break;
        case 9: *reinterpret_cast< qreal*>(_v) = _t->scale(); break;
        case 10: *reinterpret_cast< QPointF*>(_v) = _t->transformOriginPoint(); break;
        case 11: *reinterpret_cast< QGraphicsEffect**>(_v) = _t->graphicsEffect(); break;
        case 12: *reinterpret_cast< QDeclarativeListProperty<QGraphicsObject>*>(_v) = _t->QGraphicsItem::d_func()->childrenList(); break;
        case 13: *reinterpret_cast< qreal*>(_v) = _t->QGraphicsItem::d_func()->width(); break;
        case 14: *reinterpret_cast< qreal*>(_v) = _t->QGraphicsItem::d_func()->height(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QGraphicsObject *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setParentItem(*reinterpret_cast< QGraphicsObject**>(_v)); break;
        case 1: _t->setOpacity(*reinterpret_cast< qreal*>(_v)); break;
        case 2: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setPos(*reinterpret_cast< QPointF*>(_v)); break;
        case 5: _t->setX(*reinterpret_cast< qreal*>(_v)); break;
        case 6: _t->setY(*reinterpret_cast< qreal*>(_v)); break;
        case 7: _t->setZValue(*reinterpret_cast< qreal*>(_v)); break;
        case 8: _t->setRotation(*reinterpret_cast< qreal*>(_v)); break;
        case 9: _t->setScale(*reinterpret_cast< qreal*>(_v)); break;
        case 10: _t->setTransformOriginPoint(*reinterpret_cast< QPointF*>(_v)); break;
        case 11: _t->setGraphicsEffect(*reinterpret_cast< QGraphicsEffect**>(_v)); break;
        case 13: _t->QGraphicsItem::d_func()->setWidth(*reinterpret_cast< qreal*>(_v)); break;
        case 14: _t->QGraphicsItem::d_func()->setHeight(*reinterpret_cast< qreal*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QGraphicsObject *_t = static_cast<QGraphicsObject *>(_o);
        (void)_t;
        switch (_id) {
        case 13: _t->QGraphicsItem::d_func()->resetWidth(); break;
        case 14: _t->QGraphicsItem::d_func()->resetHeight(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QGraphicsObject::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QGraphicsObject.data,
    qt_meta_data_QGraphicsObject,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *QGraphicsObject::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QGraphicsObject::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QGraphicsObject.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QGraphicsItem"))
        return static_cast< QGraphicsItem*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QGraphicsItem"))
        return static_cast< QGraphicsItem*>(this);
    return QObject::qt_metacast(_clname);
}

int QGraphicsObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 15;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QGraphicsObject::parentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QGraphicsObject::opacityChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QGraphicsObject::visibleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QGraphicsObject::enabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void QGraphicsObject::xChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void QGraphicsObject::yChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void QGraphicsObject::zChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QGraphicsObject::rotationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void QGraphicsObject::scaleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QGraphicsObject::childrenChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void QGraphicsObject::widthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void QGraphicsObject::heightChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}
struct qt_meta_stringdata_QGraphicsTextItem_t {
    QByteArrayData data[4];
    char stringdata0[45];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QGraphicsTextItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QGraphicsTextItem_t qt_meta_stringdata_QGraphicsTextItem = {
    {
QT_MOC_LITERAL(0, 0, 17), // "QGraphicsTextItem"
QT_MOC_LITERAL(1, 18, 13), // "linkActivated"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 11) // "linkHovered"

    },
    "QGraphicsTextItem\0linkActivated\0\0"
    "linkHovered"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QGraphicsTextItem[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       2,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x06 /* Public */,
       3,    1,   27,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,

       0        // eod
};

void QGraphicsTextItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QGraphicsTextItem *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->linkActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->linkHovered((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QGraphicsTextItem::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsTextItem::linkActivated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QGraphicsTextItem::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsTextItem::linkHovered)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QGraphicsTextItem::staticMetaObject = { {
    QMetaObject::SuperData::link<QGraphicsObject::staticMetaObject>(),
    qt_meta_stringdata_QGraphicsTextItem.data,
    qt_meta_data_QGraphicsTextItem,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *QGraphicsTextItem::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QGraphicsTextItem::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QGraphicsTextItem.stringdata0))
        return static_cast<void*>(this);
    return QGraphicsObject::qt_metacast(_clname);
}

int QGraphicsTextItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void QGraphicsTextItem::linkActivated(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QGraphicsTextItem::linkHovered(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
