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

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

 // properties: name, type, flags
      23,   18, 0x01095001,
      35,   31, 0x02095001,
      55,   44, 0x0c095001,
      67,   59, 0x0a095001,
      87,   73, 0x00095009,

 // enums: name, flags, count, data
      73, 0x0,    9,   33,

 // enum data: key, value
     101, uint(KgDifficultyLevel::Custom),
     108, uint(KgDifficultyLevel::RidiculouslyEasy),
     125, uint(KgDifficultyLevel::VeryEasy),
     134, uint(KgDifficultyLevel::Easy),
     139, uint(KgDifficultyLevel::Medium),
     146, uint(KgDifficultyLevel::Hard),
     151, uint(KgDifficultyLevel::VeryHard),
     160, uint(KgDifficultyLevel::ExtremelyHard),
     174, uint(KgDifficultyLevel::Impossible),

       0        // eod
};

static const char qt_meta_stringdata_KgDifficultyLevel[] = {
    "KgDifficultyLevel\0bool\0default\0int\0"
    "hardness\0QByteArray\0key\0QString\0title\0"
    "StandardLevel\0standardLevel\0Custom\0"
    "RidiculouslyEasy\0VeryEasy\0Easy\0Medium\0"
    "Hard\0VeryHard\0ExtremelyHard\0Impossible\0"
};

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

const QMetaObject KgDifficultyLevel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KgDifficultyLevel,
      qt_meta_data_KgDifficultyLevel, &staticMetaObjectExtraData }
};

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

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

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

int KgDifficultyLevel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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< bool*>(_v) = isDefault(); break;
        case 1: *reinterpret_cast< int*>(_v) = hardness(); break;
        case 2: *reinterpret_cast< QByteArray*>(_v) = key(); break;
        case 3: *reinterpret_cast< QString*>(_v) = title(); break;
        case 4: *reinterpret_cast< StandardLevel*>(_v) = standardLevel(); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        _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;
}
static const uint qt_meta_data_KgDifficulty[] = {

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

 // signals: signature, parameters, type, tag, flags
      23,   14,   13,   13, 0x05,
      57,   45,   13,   13, 0x05,
      88,   82,   13,   13, 0x05,
     134,   82,   13,   13, 0x05,

 // slots: signature, parameters, type, tag, flags
     181,   82,   13,   13, 0x0a,

 // properties: name, type, flags
     239,  214, 0x0049500b,
     252,  214, 0x0049500b,
      14,  266, 0x01495103,
      45,  266, 0x01495103,

 // properties: notify_signal_id
       2,
       3,
       0,
       1,

       0        // eod
};

static const char qt_meta_stringdata_KgDifficulty[] = {
    "KgDifficulty\0\0editable\0editableChanged(bool)\0"
    "gameRunning\0gameRunningChanged(bool)\0"
    "level\0currentLevelChanged(const KgDifficultyLevel*)\0"
    "selectedLevelChanged(const KgDifficultyLevel*)\0"
    "select(const KgDifficultyLevel*)\0"
    "const KgDifficultyLevel*\0currentLevel\0"
    "selectedLevel\0bool\0"
};

void KgDifficulty::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        KgDifficulty *_t = static_cast<KgDifficulty *>(_o);
        switch (_id) {
        case 0: _t->editableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->gameRunningChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->currentLevelChanged((*reinterpret_cast< const KgDifficultyLevel*(*)>(_a[1]))); break;
        case 3: _t->selectedLevelChanged((*reinterpret_cast< const KgDifficultyLevel*(*)>(_a[1]))); break;
        case 4: _t->select((*reinterpret_cast< const KgDifficultyLevel*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject KgDifficulty::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KgDifficulty,
      qt_meta_data_KgDifficulty, &staticMetaObjectExtraData }
};

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

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

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

int KgDifficulty::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< const KgDifficultyLevel**>(_v) = currentLevel(); break;
        case 1: *reinterpret_cast< const KgDifficultyLevel**>(_v) = currentLevel(); break;
        case 2: *reinterpret_cast< bool*>(_v) = isEditable(); break;
        case 3: *reinterpret_cast< bool*>(_v) = isGameRunning(); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: select(*reinterpret_cast< const KgDifficultyLevel**>(_v)); break;
        case 1: select(*reinterpret_cast< const KgDifficultyLevel**>(_v)); break;
        case 2: setEditable(*reinterpret_cast< bool*>(_v)); break;
        case 3: setGameRunning(*reinterpret_cast< bool*>(_v)); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void KgDifficulty::currentLevelChanged(const KgDifficultyLevel * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KgDifficulty::selectedLevelChanged(const KgDifficultyLevel * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
