/****************************************************************************
** Meta object code from reading C++ file 'QGradientWidget.h'
**
** Created: Wed 9. Nov 20:13:51 2005
**      by: The Qt Meta Object Compiler version 58 (Qt 4.0.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "QGradientWidget.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'QGradientWidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 58
#error "This file was generated using the moc from 4.0.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

static const uint qt_meta_data_QGradientWidgetAlphaButtonDialog[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       2,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
      41,   34,   33,   33, 0x05,

 // slots: signature, parameters, type, tag, flags
      68,   61,   33,   33, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_QGradientWidgetAlphaButtonDialog[] = {
    "QGradientWidgetAlphaButtonDialog\0\0fAlpha\0valueChanged(float)\0iValue\0"
    "OnSliderValueChanged(int)\0"
};

const QMetaObject QGradientWidgetAlphaButtonDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_QGradientWidgetAlphaButtonDialog,
      qt_meta_data_QGradientWidgetAlphaButtonDialog, 0 }
};

const QMetaObject *QGradientWidgetAlphaButtonDialog::metaObject() const
{
    return &staticMetaObject;
}

void *QGradientWidgetAlphaButtonDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_QGradientWidgetAlphaButtonDialog))
	return static_cast<void*>(const_cast<QGradientWidgetAlphaButtonDialog*>(this));
    return QDialog::qt_metacast(_clname);
}

int QGradientWidgetAlphaButtonDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: valueChanged(*(float*)_a[1]); break;
        case 1: OnSliderValueChanged(*(int*)_a[1]); break;
        }
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void QGradientWidgetAlphaButtonDialog::valueChanged(const float _t1)
{
    void *_a[] = { 0, (void*)&_t1 };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
static const uint qt_meta_data_QGradientWidgetButton[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
      34,   23,   22,   22, 0x05,
      52,   22,   22,   22, 0x05,
      64,   22,   22,   22, 0x05,
      75,   22,   22,   22, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_QGradientWidgetButton[] = {
    "QGradientWidgetButton\0\0bExclusive\0highlighted(bool)\0activated()\0"
    "released()\0valueChanged()\0"
};

const QMetaObject QGradientWidgetButton::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QGradientWidgetButton,
      qt_meta_data_QGradientWidgetButton, 0 }
};

const QMetaObject *QGradientWidgetButton::metaObject() const
{
    return &staticMetaObject;
}

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

int QGradientWidgetButton::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) {
        switch (_id) {
        case 0: highlighted(*(bool*)_a[1]); break;
        case 1: activated(); break;
        case 2: released(); break;
        case 3: valueChanged(); break;
        }
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void QGradientWidgetButton::highlighted(bool _t1)
{
    void *_a[] = { 0, (void*)&_t1 };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

// SIGNAL 3
void QGradientWidgetButton::valueChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
};
static const uint qt_meta_data_QGradientWidgetColorButton[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets

       0        // eod
};

static const char qt_meta_stringdata_QGradientWidgetColorButton[] = {
    "QGradientWidgetColorButton\0"
};

const QMetaObject QGradientWidgetColorButton::staticMetaObject = {
    { &QGradientWidgetButton::staticMetaObject, qt_meta_stringdata_QGradientWidgetColorButton,
      qt_meta_data_QGradientWidgetColorButton, 0 }
};

const QMetaObject *QGradientWidgetColorButton::metaObject() const
{
    return &staticMetaObject;
}

void *QGradientWidgetColorButton::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_QGradientWidgetColorButton))
	return static_cast<void*>(const_cast<QGradientWidgetColorButton*>(this));
    return QGradientWidgetButton::qt_metacast(_clname);
}

int QGradientWidgetColorButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGradientWidgetButton::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
static const uint qt_meta_data_QGradientWidgetAlphaButton[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       1,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // slots: signature, parameters, type, tag, flags
      35,   28,   27,   27, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_QGradientWidgetAlphaButton[] = {
    "QGradientWidgetAlphaButton\0\0fAlpha\0OnDialogValueChanged(float)\0"
};

const QMetaObject QGradientWidgetAlphaButton::staticMetaObject = {
    { &QGradientWidgetButton::staticMetaObject, qt_meta_stringdata_QGradientWidgetAlphaButton,
      qt_meta_data_QGradientWidgetAlphaButton, 0 }
};

const QMetaObject *QGradientWidgetAlphaButton::metaObject() const
{
    return &staticMetaObject;
}

void *QGradientWidgetAlphaButton::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_QGradientWidgetAlphaButton))
	return static_cast<void*>(const_cast<QGradientWidgetAlphaButton*>(this));
    return QGradientWidgetButton::qt_metacast(_clname);
}

int QGradientWidgetAlphaButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGradientWidgetButton::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: OnDialogValueChanged(*(float*)_a[1]); break;
        }
        _id -= 1;
    }
    return _id;
}
static const uint qt_meta_data_QGradientArea[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets

       0        // eod
};

static const char qt_meta_stringdata_QGradientArea[] = {
    "QGradientArea\0"
};

const QMetaObject QGradientArea::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QGradientArea,
      qt_meta_data_QGradientArea, 0 }
};

const QMetaObject *QGradientArea::metaObject() const
{
    return &staticMetaObject;
}

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

int QGradientArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
static const uint qt_meta_data_QGradientWidget[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       5,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

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

 // slots: signature, parameters, type, tag, flags
      43,   32,   16,   16, 0x09,
      66,   16,   16,   16, 0x09,
      86,   16,   16,   16, 0x09,
     105,   16,   16,   16, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_QGradientWidget[] = {
    "QGradientWidget\0\0valueChanged()\0bExclusive\0OnButtonSelected(bool)\0"
    "OnButtonActivated()\0OnButtonReleased()\0OnButtonValueChanged()\0"
};

const QMetaObject QGradientWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QGradientWidget,
      qt_meta_data_QGradientWidget, 0 }
};

const QMetaObject *QGradientWidget::metaObject() const
{
    return &staticMetaObject;
}

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

int QGradientWidget::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) {
        switch (_id) {
        case 0: valueChanged(); break;
        case 1: OnButtonSelected(*(bool*)_a[1]); break;
        case 2: OnButtonActivated(); break;
        case 3: OnButtonReleased(); break;
        case 4: OnButtonValueChanged(); break;
        }
        _id -= 5;
    }
    return _id;
}

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