/****************************************************************************
** Meta object code from reading C++ file 'chartcore.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/kqtquickcharts-15.04.3/src/chartcore.h"
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'chartcore.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_ChartCore[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       4,   44, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: signature, parameters, type, tag, flags
      11,   10,   10,   10, 0x05,
      26,   10,   10,   10, 0x05,
      46,   10,   10,   10, 0x05,
      61,   10,   10,   10, 0x05,
      79,   10,   10,   10, 0x05,

 // slots: signature, parameters, type, tag, flags
      89,   10,   10,   10, 0x09,

 // properties: name, type, flags
     126,  105, 0x0049510b,
     168,  132, 0x00095409,
     185,  179, ((uint)QMetaType::QReal << 24) | 0x00495103,
     195,  191, 0x02495103,

 // properties: notify_signal_id
       0,
       0,
       2,
       3,

       0        // eod
};

static const char qt_meta_stringdata_ChartCore[] = {
    "ChartCore\0\0modelChanged()\0chartStyleChanged()\0"
    "pitchChanged()\0textRoleChanged()\0"
    "updated()\0triggerUpdate()\0"
    "QAbstractTableModel*\0model\0"
    "QDeclarativeListProperty<Dimension>\0"
    "dimensions\0qreal\0pitch\0int\0textRole\0"
};

void ChartCore::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ChartCore *_t = static_cast<ChartCore *>(_o);
        switch (_id) {
        case 0: _t->modelChanged(); break;
        case 1: _t->chartStyleChanged(); break;
        case 2: _t->pitchChanged(); break;
        case 3: _t->textRoleChanged(); break;
        case 4: _t->updated(); break;
        case 5: _t->triggerUpdate(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

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

const QMetaObject ChartCore::staticMetaObject = {
    { &QDeclarativeItem::staticMetaObject, qt_meta_stringdata_ChartCore,
      qt_meta_data_ChartCore, &staticMetaObjectExtraData }
};

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

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

void *ChartCore::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_ChartCore))
        return static_cast<void*>(const_cast< ChartCore*>(this));
    return QDeclarativeItem::qt_metacast(_clname);
}

int ChartCore::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDeclarativeItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QAbstractTableModel**>(_v) = model(); break;
        case 1: *reinterpret_cast< QDeclarativeListProperty<Dimension>*>(_v) = dimensions(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = pitch(); break;
        case 3: *reinterpret_cast< int*>(_v) = textRole(); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setModel(*reinterpret_cast< QAbstractTableModel**>(_v)); break;
        case 2: setPitch(*reinterpret_cast< qreal*>(_v)); break;
        case 3: setTextRole(*reinterpret_cast< int*>(_v)); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void ChartCore::modelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void ChartCore::chartStyleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void ChartCore::pitchChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

// SIGNAL 3
void ChartCore::textRoleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void ChartCore::updated()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}
QT_END_MOC_NAMESPACE
