/****************************************************************************
** Meta object code from reading C++ file 'QColorRampEditor.h'
**
** Created: Thu Jun 19 00:18:55 2014
**      by: The Qt Meta Object Compiler version 63 (Qt 4.8.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "QColorRampEditor.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'QColorRampEditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.4. 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_QColorRampEditor[] = {

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

 // signals: signature, parameters, type, tag, flags
      18,   17,   17,   17, 0x05,

 // slots: signature, parameters, type, tag, flags
      42,   32,   17,   17, 0x0a,
      71,   69,   17,   17, 0x09,
      98,   69,   17,   17, 0x09,
     128,   17,   17,   17, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_QColorRampEditor[] = {
    "QColorRampEditor\0\0rampChanged()\0"
    "index,col\0setSliderColor(int,QColor)\0"
    "e\0resizeEvent(QResizeEvent*)\0"
    "mousePressEvent(QMouseEvent*)\0"
    "updateRamp()\0"
};

void QColorRampEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        QColorRampEditor *_t = static_cast<QColorRampEditor *>(_o);
        switch (_id) {
        case 0: _t->rampChanged(); break;
        case 1: _t->setSliderColor((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QColor(*)>(_a[2]))); break;
        case 2: _t->resizeEvent((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break;
        case 3: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 4: _t->updateRamp(); break;
        default: ;
        }
    }
}

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

const QMetaObject QColorRampEditor::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QColorRampEditor,
      qt_meta_data_QColorRampEditor, &staticMetaObjectExtraData }
};

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

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

void *QColorRampEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_QColorRampEditor))
        return static_cast<void*>(const_cast< QColorRampEditor*>(this));
    return QWidget::qt_metacast(_clname);
}

int QColorRampEditor::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void QColorRampEditor::rampChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
static const uint qt_meta_data_QColorRampEditorSlider[] = {

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

 // slots: signature, parameters, type, tag, flags
      30,   24,   23,   23, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_QColorRampEditorSlider[] = {
    "QColorRampEditorSlider\0\0event\0"
    "paintEvent(QPaintEvent*)\0"
};

void QColorRampEditorSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        QColorRampEditorSlider *_t = static_cast<QColorRampEditorSlider *>(_o);
        switch (_id) {
        case 0: _t->paintEvent((*reinterpret_cast< QPaintEvent*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject QColorRampEditorSlider::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QColorRampEditorSlider,
      qt_meta_data_QColorRampEditorSlider, &staticMetaObjectExtraData }
};

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

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

void *QColorRampEditorSlider::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_QColorRampEditorSlider))
        return static_cast<void*>(const_cast< QColorRampEditorSlider*>(this));
    return QWidget::qt_metacast(_clname);
}

int QColorRampEditorSlider::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}
static const uint qt_meta_data_QSlidersWidget[] = {

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

 // slots: signature, parameters, type, tag, flags
      18,   16,   15,   15, 0x09,
      48,   16,   15,   15, 0x09,
      77,   16,   15,   15, 0x09,
     109,   16,   15,   15, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_QSlidersWidget[] = {
    "QSlidersWidget\0\0e\0mousePressEvent(QMouseEvent*)\0"
    "mouseMoveEvent(QMouseEvent*)\0"
    "mouseReleaseEvent(QMouseEvent*)\0"
    "mouseDoubleClickEvent(QMouseEvent*)\0"
};

void QSlidersWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        QSlidersWidget *_t = static_cast<QSlidersWidget *>(_o);
        switch (_id) {
        case 0: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 1: _t->mouseMoveEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 2: _t->mouseReleaseEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 3: _t->mouseDoubleClickEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject QSlidersWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QSlidersWidget,
      qt_meta_data_QSlidersWidget, &staticMetaObjectExtraData }
};

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

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

void *QSlidersWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_QSlidersWidget))
        return static_cast<void*>(const_cast< QSlidersWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

int QSlidersWidget::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
