/****************************************************************************
** Meta object code from reading C++ file 'kmymoneyedit.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/kmymoney-4.7.2/kmymoney/widgets/kmymoneyedit.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kmymoneyedit.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_kMyMoneyMoneyValidator[] = {

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

       0        // eod
};

static const char qt_meta_stringdata_kMyMoneyMoneyValidator[] = {
    "kMyMoneyMoneyValidator\0"
};

void kMyMoneyMoneyValidator::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 kMyMoneyMoneyValidator::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject kMyMoneyMoneyValidator::staticMetaObject = {
    { &QDoubleValidator::staticMetaObject, qt_meta_stringdata_kMyMoneyMoneyValidator,
      qt_meta_data_kMyMoneyMoneyValidator, &staticMetaObjectExtraData }
};

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

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

void *kMyMoneyMoneyValidator::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_kMyMoneyMoneyValidator))
        return static_cast<void*>(const_cast< kMyMoneyMoneyValidator*>(this));
    return QDoubleValidator::qt_metacast(_clname);
}

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

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

 // signals: signature, parameters, type, tag, flags
      19,   14,   13,   13, 0x05,
      41,   14,   13,   13, 0x05,

 // slots: signature, parameters, type, tag, flags
      62,   14,   13,   13, 0x09,
      86,   13,   13,   13, 0x09,
     109,   13,   13,   13, 0x09,
     130,   14,   13,   13, 0x0a,
     148,   13,   13,   13, 0x0a,
     160,   13,   13,   13, 0x0a,
     176,  172,   13,   13, 0x0a,
     198,  193,   13,   13, 0x0a,
     231,  193,   13,   13, 0x0a,
     268,  259,   13,   13, 0x0a,

 // properties: name, type, flags
     291,  286, 0x01095003,
     318,  286, 0x01095003,
     340,  286, 0x01095103,
     259,  286, 0x01095103,
     364,  351, 0x0018410b,
     370,  286, 0x01084001,

       0        // eod
};

static const char qt_meta_stringdata_kMyMoneyEdit[] = {
    "kMyMoneyEdit\0\0text\0valueChanged(QString)\0"
    "textChanged(QString)\0theTextChanged(QString)\0"
    "slotCalculatorResult()\0slotCalculatorOpen()\0"
    "loadText(QString)\0resetText()\0clearText()\0"
    "txt\0setText(QString)\0show\0"
    "setCalculatorButtonVisible(bool)\0"
    "setResetButtonVisible(bool)\0readOnly\0"
    "setReadOnly(bool)\0bool\0"
    "calculatorButtonVisibility\0"
    "resetButtonVisibility\0allowEmpty\0"
    "MyMoneyMoney\0value\0valid\0"
};

void kMyMoneyEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        kMyMoneyEdit *_t = static_cast<kMyMoneyEdit *>(_o);
        switch (_id) {
        case 0: _t->valueChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->theTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->slotCalculatorResult(); break;
        case 4: _t->slotCalculatorOpen(); break;
        case 5: _t->loadText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->resetText(); break;
        case 7: _t->clearText(); break;
        case 8: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setCalculatorButtonVisible((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 10: _t->setResetButtonVisible((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 11: _t->setReadOnly((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject kMyMoneyEdit::staticMetaObject = {
    { &KHBox::staticMetaObject, qt_meta_stringdata_kMyMoneyEdit,
      qt_meta_data_kMyMoneyEdit, &staticMetaObjectExtraData }
};

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

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

void *kMyMoneyEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_kMyMoneyEdit))
        return static_cast<void*>(const_cast< kMyMoneyEdit*>(this));
    return KHBox::qt_metacast(_clname);
}

int kMyMoneyEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KHBox::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = isCalculatorButtonVisible(); break;
        case 1: *reinterpret_cast< bool*>(_v) = isResetButtonVisible(); break;
        case 2: *reinterpret_cast< bool*>(_v) = isEmptyAllowed(); break;
        case 3: *reinterpret_cast< bool*>(_v) = isReadOnly(); break;
        case 4: *reinterpret_cast< MyMoneyMoney*>(_v) = value(); break;
        case 5: *reinterpret_cast< bool*>(_v) = isValid(); break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setCalculatorButtonVisible(*reinterpret_cast< bool*>(_v)); break;
        case 1: setResetButtonVisible(*reinterpret_cast< bool*>(_v)); break;
        case 2: setAllowEmpty(*reinterpret_cast< bool*>(_v)); break;
        case 3: setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        case 4: setValue(*reinterpret_cast< MyMoneyMoney*>(_v)); break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void kMyMoneyEdit::valueChanged(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void kMyMoneyEdit::textChanged(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
