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

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

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

 // slots: signature, parameters, type, tag, flags
      16,   15,   15,   15, 0x0a,
      29,   15,   15,   15, 0x08,
      45,   15,   15,   15, 0x08,
      63,   61,   15,   15, 0x08,

 // properties: name, type, flags
     100,   88, 0x0009510b,
     130,  111, 0x0009510b,

 // enums: name, flags, count, data
      88, 0x0,    2,   44,

 // enum data: key, value
     145, uint(Color_Selector::Confirm),
     153, uint(Color_Selector::Continuous),

       0        // eod
};

static const char qt_meta_stringdata_Color_Selector[] = {
    "Color_Selector\0\0showDialog()\0"
    "accept_dialog()\0reject_dialog()\0c\0"
    "update_old_color(QColor)\0Update_Mode\0"
    "updateMode\0Qt::WindowModality\0"
    "dialogModality\0Confirm\0Continuous\0"
};

void Color_Selector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Color_Selector *_t = static_cast<Color_Selector *>(_o);
        switch (_id) {
        case 0: _t->showDialog(); break;
        case 1: _t->accept_dialog(); break;
        case 2: _t->reject_dialog(); break;
        case 3: _t->update_old_color((*reinterpret_cast< QColor(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject Color_Selector::staticMetaObject = {
    { &Color_Preview::staticMetaObject, qt_meta_stringdata_Color_Selector,
      qt_meta_data_Color_Selector, &staticMetaObjectExtraData }
};

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

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

void *Color_Selector::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Color_Selector))
        return static_cast<void*>(const_cast< Color_Selector*>(this));
    return Color_Preview::qt_metacast(_clname);
}

int Color_Selector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Color_Preview::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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Update_Mode*>(_v) = updateMode(); break;
        case 1: *reinterpret_cast< Qt::WindowModality*>(_v) = dialogModality(); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setUpdateMode(*reinterpret_cast< Update_Mode*>(_v)); break;
        case 1: setDialogModality(*reinterpret_cast< Qt::WindowModality*>(_v)); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
