/****************************************************************************
** Meta object code from reading C++ file 'khangman.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/khangman-15.04.3/src/khangman.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'khangman.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.2. 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
struct qt_meta_stringdata_KHangMan_t {
    QByteArrayData data[45];
    char stringdata[620];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KHangMan_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KHangMan_t qt_meta_stringdata_KHangMan = {
    {
QT_MOC_LITERAL(0, 0, 8), // "KHangMan"
QT_MOC_LITERAL(1, 9, 13), // "signalSetWins"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 4), // "wins"
QT_MOC_LITERAL(4, 29, 15), // "signalSetLosses"
QT_MOC_LITERAL(5, 45, 6), // "losses"
QT_MOC_LITERAL(6, 52, 18), // "resolveTimeChanged"
QT_MOC_LITERAL(7, 71, 19), // "soundEnabledChanged"
QT_MOC_LITERAL(8, 91, 22), // "currentLanguageChanged"
QT_MOC_LITERAL(9, 114, 22), // "currentCategoryChanged"
QT_MOC_LITERAL(10, 137, 18), // "currentWordChanged"
QT_MOC_LITERAL(11, 156, 18), // "currentHintChanged"
QT_MOC_LITERAL(12, 175, 16), // "languagesChanged"
QT_MOC_LITERAL(13, 192, 17), // "categoriesChanged"
QT_MOC_LITERAL(14, 210, 13), // "themesChanged"
QT_MOC_LITERAL(15, 224, 19), // "currentThemeChanged"
QT_MOC_LITERAL(16, 244, 18), // "setCurrentLanguage"
QT_MOC_LITERAL(17, 263, 5), // "index"
QT_MOC_LITERAL(18, 269, 18), // "setCurrentCategory"
QT_MOC_LITERAL(19, 288, 15), // "setCurrentTheme"
QT_MOC_LITERAL(20, 304, 20), // "slotDownloadNewStuff"
QT_MOC_LITERAL(21, 325, 8), // "readFile"
QT_MOC_LITERAL(22, 334, 8), // "nextWord"
QT_MOC_LITERAL(23, 343, 14), // "replaceLetters"
QT_MOC_LITERAL(24, 358, 10), // "charString"
QT_MOC_LITERAL(25, 369, 17), // "showAboutKHangMan"
QT_MOC_LITERAL(26, 387, 12), // "showAboutKDE"
QT_MOC_LITERAL(27, 400, 12), // "showHandbook"
QT_MOC_LITERAL(28, 413, 11), // "currentWord"
QT_MOC_LITERAL(29, 425, 14), // "getCurrentHint"
QT_MOC_LITERAL(30, 440, 8), // "alphabet"
QT_MOC_LITERAL(31, 449, 13), // "languageNames"
QT_MOC_LITERAL(32, 463, 12), // "containsChar"
QT_MOC_LITERAL(33, 476, 8), // "original"
QT_MOC_LITERAL(34, 485, 10), // "isResolved"
QT_MOC_LITERAL(35, 496, 11), // "resolveTime"
QT_MOC_LITERAL(36, 508, 12), // "soundEnabled"
QT_MOC_LITERAL(37, 521, 15), // "currentLanguage"
QT_MOC_LITERAL(38, 537, 9), // "languages"
QT_MOC_LITERAL(39, 547, 15), // "currentCategory"
QT_MOC_LITERAL(40, 563, 10), // "categories"
QT_MOC_LITERAL(41, 574, 12), // "currentTheme"
QT_MOC_LITERAL(42, 587, 6), // "themes"
QT_MOC_LITERAL(43, 594, 13), // "backgroundUrl"
QT_MOC_LITERAL(44, 608, 11) // "currentHint"

    },
    "KHangMan\0signalSetWins\0\0wins\0"
    "signalSetLosses\0losses\0resolveTimeChanged\0"
    "soundEnabledChanged\0currentLanguageChanged\0"
    "currentCategoryChanged\0currentWordChanged\0"
    "currentHintChanged\0languagesChanged\0"
    "categoriesChanged\0themesChanged\0"
    "currentThemeChanged\0setCurrentLanguage\0"
    "index\0setCurrentCategory\0setCurrentTheme\0"
    "slotDownloadNewStuff\0readFile\0nextWord\0"
    "replaceLetters\0charString\0showAboutKHangMan\0"
    "showAboutKDE\0showHandbook\0currentWord\0"
    "getCurrentHint\0alphabet\0languageNames\0"
    "containsChar\0original\0isResolved\0"
    "resolveTime\0soundEnabled\0currentLanguage\0"
    "languages\0currentCategory\0categories\0"
    "currentTheme\0themes\0backgroundUrl\0"
    "currentHint"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KHangMan[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      28,   14, // methods
      12,  196, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      12,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  154,    2, 0x06 /* Public */,
       4,    1,  157,    2, 0x06 /* Public */,
       6,    0,  160,    2, 0x06 /* Public */,
       7,    0,  161,    2, 0x06 /* Public */,
       8,    0,  162,    2, 0x06 /* Public */,
       9,    0,  163,    2, 0x06 /* Public */,
      10,    0,  164,    2, 0x06 /* Public */,
      11,    0,  165,    2, 0x06 /* Public */,
      12,    0,  166,    2, 0x06 /* Public */,
      13,    0,  167,    2, 0x06 /* Public */,
      14,    0,  168,    2, 0x06 /* Public */,
      15,    0,  169,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,  170,    2, 0x0a /* Public */,
      18,    1,  173,    2, 0x0a /* Public */,
      19,    1,  176,    2, 0x0a /* Public */,
      20,    0,  179,    2, 0x0a /* Public */,
      21,    0,  180,    2, 0x0a /* Public */,
      22,    0,  181,    2, 0x0a /* Public */,
      23,    1,  182,    2, 0x0a /* Public */,
      25,    0,  185,    2, 0x0a /* Public */,
      26,    0,  186,    2, 0x0a /* Public */,
      27,    0,  187,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      28,    0,  188,    2, 0x02 /* Public */,
      29,    0,  189,    2, 0x02 /* Public */,
      30,    0,  190,    2, 0x02 /* Public */,
      31,    0,  191,    2, 0x02 /* Public */,
      32,    1,  192,    2, 0x02 /* Public */,
      34,    0,  195,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QStringList,
    QMetaType::QString,
    QMetaType::QStringList,
    QMetaType::QStringList,
    QMetaType::Bool, QMetaType::QString,   33,
    QMetaType::Bool,

 // properties: name, type, flags
      35, QMetaType::Int, 0x00495103,
      36, QMetaType::Bool, 0x00495103,
      37, QMetaType::Int, 0x00495103,
      38, QMetaType::QStringList, 0x00495001,
      39, QMetaType::Int, 0x00495103,
      40, QMetaType::QStringList, 0x00495001,
      41, QMetaType::Int, 0x00495103,
      42, QMetaType::QStringList, 0x00495001,
      43, QMetaType::QString, 0x00495001,
      28, QMetaType::QStringList, 0x00495001,
      44, QMetaType::QString, 0x00495001,
      30, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       2,
       3,
       4,
       8,
       5,
       9,
      11,
      10,
      11,
       6,
       7,
       4,

       0        // eod
};

void KHangMan::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KHangMan *_t = static_cast<KHangMan *>(_o);
        switch (_id) {
        case 0: _t->signalSetWins((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->signalSetLosses((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->resolveTimeChanged(); break;
        case 3: _t->soundEnabledChanged(); break;
        case 4: _t->currentLanguageChanged(); break;
        case 5: _t->currentCategoryChanged(); break;
        case 6: _t->currentWordChanged(); break;
        case 7: _t->currentHintChanged(); break;
        case 8: _t->languagesChanged(); break;
        case 9: _t->categoriesChanged(); break;
        case 10: _t->themesChanged(); break;
        case 11: _t->currentThemeChanged(); break;
        case 12: _t->setCurrentLanguage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setCurrentCategory((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->setCurrentTheme((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->slotDownloadNewStuff(); break;
        case 16: _t->readFile(); break;
        case 17: _t->nextWord(); break;
        case 18: _t->replaceLetters((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->showAboutKHangMan(); break;
        case 20: _t->showAboutKDE(); break;
        case 21: _t->showHandbook(); break;
        case 22: { QStringList _r = _t->currentWord();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 23: { QString _r = _t->getCurrentHint();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 24: { QStringList _r = _t->alphabet();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 25: { QStringList _r = _t->languageNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 26: { bool _r = _t->containsChar((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 27: { bool _r = _t->isResolved();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KHangMan::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::signalSetWins)) {
                *result = 0;
            }
        }
        {
            typedef void (KHangMan::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::signalSetLosses)) {
                *result = 1;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::resolveTimeChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::soundEnabledChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::currentLanguageChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::currentCategoryChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::currentWordChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::currentHintChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::languagesChanged)) {
                *result = 8;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::categoriesChanged)) {
                *result = 9;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::themesChanged)) {
                *result = 10;
            }
        }
        {
            typedef void (KHangMan::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHangMan::currentThemeChanged)) {
                *result = 11;
            }
        }
    }
}

const QMetaObject KHangMan::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_KHangMan.data,
      qt_meta_data_KHangMan,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KHangMan::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KHangMan.stringdata))
        return static_cast<void*>(const_cast< KHangMan*>(this));
    return QMainWindow::qt_metacast(_clname);
}

int KHangMan::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 28;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = resolveTime(); break;
        case 1: *reinterpret_cast< bool*>(_v) = soundEnabled(); break;
        case 2: *reinterpret_cast< int*>(_v) = currentLanguage(); break;
        case 3: *reinterpret_cast< QStringList*>(_v) = languages(); break;
        case 4: *reinterpret_cast< int*>(_v) = currentCategory(); break;
        case 5: *reinterpret_cast< QStringList*>(_v) = categories(); break;
        case 6: *reinterpret_cast< int*>(_v) = currentTheme(); break;
        case 7: *reinterpret_cast< QStringList*>(_v) = themes(); break;
        case 8: *reinterpret_cast< QString*>(_v) = backgroundUrl(); break;
        case 9: *reinterpret_cast< QStringList*>(_v) = currentWord(); break;
        case 10: *reinterpret_cast< QString*>(_v) = getCurrentHint(); break;
        case 11: *reinterpret_cast< QStringList*>(_v) = alphabet(); break;
        default: break;
        }
        _id -= 12;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setResolveTime(*reinterpret_cast< int*>(_v)); break;
        case 1: setSoundEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 2: setCurrentLanguage(*reinterpret_cast< int*>(_v)); break;
        case 4: setCurrentCategory(*reinterpret_cast< int*>(_v)); break;
        case 6: setCurrentTheme(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
        _id -= 12;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 12;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KHangMan::signalSetWins(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KHangMan::signalSetLosses(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KHangMan::resolveTimeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void KHangMan::soundEnabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void KHangMan::currentLanguageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void KHangMan::currentCategoryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void KHangMan::currentWordChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void KHangMan::currentHintChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void KHangMan::languagesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void KHangMan::categoriesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}

// SIGNAL 10
void KHangMan::themesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, Q_NULLPTR);
}

// SIGNAL 11
void KHangMan::currentThemeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
