/****************************************************************************
** Meta object code from reading C++ file 'preferencesproxy.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/ktouch-15.04.3/src/declarativeitems/preferencesproxy.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'preferencesproxy.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_PreferencesProxy[] = {

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

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

 // methods: signature, parameters, type, tag, flags
      47,   41,   34,   17, 0x02,
      64,   17,   17,   17, 0x02,

 // properties: name, type, flags
      83,   78, 0x01495103,
      96,   78, 0x01495103,
     111,   78, 0x01495103,
     129,   78, 0x01495103,
     152,  148, 0x02495103,
     184,  177, 0x06495103,
     201,  148, 0x02495103,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,
       0,

       0        // eod
};

static const char qt_meta_stringdata_PreferencesProxy[] = {
    "PreferencesProxy\0\0configChanged()\0"
    "QColor\0index\0fingerColor(int)\0"
    "writeConfig()\0bool\0showKeyboard\0"
    "showStatistics\0nextLineWithSpace\0"
    "nextLineWithReturn\0int\0requiredStrokesPerMinute\0"
    "double\0requiredAccuracy\0lastUsedProfileId\0"
};

void PreferencesProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        PreferencesProxy *_t = static_cast<PreferencesProxy *>(_o);
        switch (_id) {
        case 0: _t->configChanged(); break;
        case 1: { QColor _r = _t->fingerColor((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        case 2: _t->writeConfig(); break;
        default: ;
        }
    }
}

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

const QMetaObject PreferencesProxy::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_PreferencesProxy,
      qt_meta_data_PreferencesProxy, &staticMetaObjectExtraData }
};

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

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

void *PreferencesProxy::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_PreferencesProxy))
        return static_cast<void*>(const_cast< PreferencesProxy*>(this));
    return QObject::qt_metacast(_clname);
}

int PreferencesProxy::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = showKeyboard(); break;
        case 1: *reinterpret_cast< bool*>(_v) = showStatistics(); break;
        case 2: *reinterpret_cast< bool*>(_v) = nextLineWithSpace(); break;
        case 3: *reinterpret_cast< bool*>(_v) = nextLineWithReturn(); break;
        case 4: *reinterpret_cast< int*>(_v) = requiredStrokesPerMinute(); break;
        case 5: *reinterpret_cast< double*>(_v) = requiredAccuracy(); break;
        case 6: *reinterpret_cast< int*>(_v) = lastUsedProfileId(); break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setShowKeyboard(*reinterpret_cast< bool*>(_v)); break;
        case 1: setShowStatistics(*reinterpret_cast< bool*>(_v)); break;
        case 2: setNextLineWithSpace(*reinterpret_cast< bool*>(_v)); break;
        case 3: setNextLineWithReturn(*reinterpret_cast< bool*>(_v)); break;
        case 4: setRequiredStrokesPerMinute(*reinterpret_cast< int*>(_v)); break;
        case 5: setRequiredAccuracy(*reinterpret_cast< double*>(_v)); break;
        case 6: setLastUsedProfileId(*reinterpret_cast< int*>(_v)); break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void PreferencesProxy::configChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
QT_END_MOC_NAMESPACE
