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

#include "../../../../../src/qt-everywhere-opensource-src-4.8.7/src/gui/graphicsview/qgraphicsscene.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qgraphicsscene.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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_QGraphicsScene[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       9,   94, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: signature, parameters, type, tag, flags
      23,   16,   15,   15, 0x05,
      51,   46,   15,   15, 0x05,
      76,   15,   15,   15, 0x05,

 // slots: signature, parameters, type, tag, flags
      95,   46,   15,   15, 0x0a,
     110,   15,   15,   15, 0x2a,
     131,  119,   15,   15, 0x0a,
     162,   46,   15,   15, 0x2a,
     181,   15,   15,   15, 0x2a,
     194,   15,   15,   15, 0x0a,
     204,   15,   15,   15, 0x0a,
     221,   15,   15,   15, 0x0a,
     239,  234,  229,   15, 0x09,
     264,   15,   15,   15, 0x08,
     281,   15,   15,   15, 0x08,
     298,   15,   15,   15, 0x08,
     321,   15,   15,   15, 0x08,

 // properties: name, type, flags
     359,  352, 0x42095103,
     375,  352, 0x42095103,
     407,  391, 0x0009510b,
     430,  423, 0x14095103,
     444,  440, 0x02095103,
     466,  457, 0x44095103,
     480,  474, 0x40095103,
     485,  229, 0x01095103,
     502,  229, 0x01095103,

       0        // eod
};

static const char qt_meta_stringdata_QGraphicsScene[] = {
    "QGraphicsScene\0\0region\0changed(QList<QRectF>)\0"
    "rect\0sceneRectChanged(QRectF)\0"
    "selectionChanged()\0update(QRectF)\0"
    "update()\0rect,layers\0"
    "invalidate(QRectF,SceneLayers)\0"
    "invalidate(QRectF)\0invalidate()\0"
    "advance()\0clearSelection()\0clear()\0"
    "bool\0next\0focusNextPrevChild(bool)\0"
    "_q_emitUpdated()\0_q_polishItems()\0"
    "_q_processDirtyItems()\0"
    "_q_updateScenePosDescendants()\0QBrush\0"
    "backgroundBrush\0foregroundBrush\0"
    "ItemIndexMethod\0itemIndexMethod\0QRectF\0"
    "sceneRect\0int\0bspTreeDepth\0QPalette\0"
    "palette\0QFont\0font\0sortCacheEnabled\0"
    "stickyFocus\0"
};

void QGraphicsScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        QGraphicsScene *_t = static_cast<QGraphicsScene *>(_o);
        switch (_id) {
        case 0: _t->changed((*reinterpret_cast< const QList<QRectF>(*)>(_a[1]))); break;
        case 1: _t->sceneRectChanged((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        case 2: _t->selectionChanged(); break;
        case 3: _t->update((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        case 4: _t->update(); break;
        case 5: _t->invalidate((*reinterpret_cast< const QRectF(*)>(_a[1])),(*reinterpret_cast< SceneLayers(*)>(_a[2]))); break;
        case 6: _t->invalidate((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        case 7: _t->invalidate(); break;
        case 8: _t->advance(); break;
        case 9: _t->clearSelection(); break;
        case 10: _t->clear(); break;
        case 11: { bool _r = _t->focusNextPrevChild((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 12: _t->d_func()->_q_emitUpdated(); break;
        case 13: _t->d_func()->_q_polishItems(); break;
        case 14: _t->d_func()->_q_processDirtyItems(); break;
        case 15: _t->d_func()->_q_updateScenePosDescendants(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData QGraphicsScene::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject QGraphicsScene::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QGraphicsScene,
      qt_meta_data_QGraphicsScene, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &QGraphicsScene::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *QGraphicsScene::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_QGraphicsScene))
        return static_cast<void*>(const_cast< QGraphicsScene*>(this));
    return QObject::qt_metacast(_clname);
}

int QGraphicsScene::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QBrush*>(_v) = backgroundBrush(); break;
        case 1: *reinterpret_cast< QBrush*>(_v) = foregroundBrush(); break;
        case 2: *reinterpret_cast< ItemIndexMethod*>(_v) = itemIndexMethod(); break;
        case 3: *reinterpret_cast< QRectF*>(_v) = sceneRect(); break;
        case 4: *reinterpret_cast< int*>(_v) = bspTreeDepth(); break;
        case 5: *reinterpret_cast< QPalette*>(_v) = palette(); break;
        case 6: *reinterpret_cast< QFont*>(_v) = font(); break;
        case 7: *reinterpret_cast< bool*>(_v) = isSortCacheEnabled(); break;
        case 8: *reinterpret_cast< bool*>(_v) = stickyFocus(); break;
        }
        _id -= 9;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setBackgroundBrush(*reinterpret_cast< QBrush*>(_v)); break;
        case 1: setForegroundBrush(*reinterpret_cast< QBrush*>(_v)); break;
        case 2: setItemIndexMethod(*reinterpret_cast< ItemIndexMethod*>(_v)); break;
        case 3: setSceneRect(*reinterpret_cast< QRectF*>(_v)); break;
        case 4: setBspTreeDepth(*reinterpret_cast< int*>(_v)); break;
        case 5: setPalette(*reinterpret_cast< QPalette*>(_v)); break;
        case 6: setFont(*reinterpret_cast< QFont*>(_v)); break;
        case 7: setSortCacheEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 8: setStickyFocus(*reinterpret_cast< bool*>(_v)); break;
        }
        _id -= 9;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QGraphicsScene::changed(const QList<QRectF> & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QGraphicsScene::sceneRectChanged(const QRectF & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QGraphicsScene::selectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}
QT_END_MOC_NAMESPACE
