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

#include "gradient_slider.hpp"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'gradient_slider.hpp' 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_Gradient_Slider[] = {

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

 // properties: name, type, flags
      23,   16, 0x42095103,
      50,   34, 0x0009510b,
      73,   57, 0x0008510b,
      89,   82, 0x43085103,
     100,   82, 0x43085103,

       0        // eod
};

static const char qt_meta_stringdata_Gradient_Slider[] = {
    "Gradient_Slider\0QBrush\0background\0"
    "QVector<QColor>\0colors\0QLinearGradient\0"
    "gradient\0QColor\0firstColor\0lastColor\0"
};

void Gradient_Slider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

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

const QMetaObject Gradient_Slider::staticMetaObject = {
    { &QSlider::staticMetaObject, qt_meta_stringdata_Gradient_Slider,
      qt_meta_data_Gradient_Slider, &staticMetaObjectExtraData }
};

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

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

void *Gradient_Slider::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Gradient_Slider))
        return static_cast<void*>(const_cast< Gradient_Slider*>(this));
    return QSlider::qt_metacast(_clname);
}

int Gradient_Slider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSlider::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
     if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QBrush*>(_v) = background(); break;
        case 1: *reinterpret_cast< QVector<QColor>*>(_v) = colors(); break;
        case 2: *reinterpret_cast< QLinearGradient*>(_v) = gradient(); break;
        case 3: *reinterpret_cast< QColor*>(_v) = firstColor(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = lastColor(); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setBackground(*reinterpret_cast< QBrush*>(_v)); break;
        case 1: setColors(*reinterpret_cast< QVector<QColor>*>(_v)); break;
        case 2: setGradient(*reinterpret_cast< QLinearGradient*>(_v)); break;
        case 3: setFirstColor(*reinterpret_cast< QColor*>(_v)); break;
        case 4: setLastColor(*reinterpret_cast< QColor*>(_v)); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
