/****************************************************************************
** Meta object code from reading C++ file 'kchatbase.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/libkdegames-15.04.3/libkdegamesprivate/kchatbase.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kchatbase.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_KChatBase_t {
    QByteArrayData data[12];
    char stringdata[122];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KChatBase_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KChatBase_t qt_meta_stringdata_KChatBase = {
    {
QT_MOC_LITERAL(0, 0, 9), // "KChatBase"
QT_MOC_LITERAL(1, 10, 10), // "addMessage"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 8), // "fromName"
QT_MOC_LITERAL(4, 31, 4), // "text"
QT_MOC_LITERAL(5, 36, 16), // "addSystemMessage"
QT_MOC_LITERAL(6, 53, 9), // "slotClear"
QT_MOC_LITERAL(7, 63, 16), // "setAcceptMessage"
QT_MOC_LITERAL(8, 80, 1), // "a"
QT_MOC_LITERAL(9, 82, 17), // "slotReturnPressed"
QT_MOC_LITERAL(10, 100, 17), // "customMenuHandler"
QT_MOC_LITERAL(11, 118, 3) // "pos"

    },
    "KChatBase\0addMessage\0\0fromName\0text\0"
    "addSystemMessage\0slotClear\0setAcceptMessage\0"
    "a\0slotReturnPressed\0customMenuHandler\0"
    "pos"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KChatBase[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   44,    2, 0x0a /* Public */,
       5,    2,   49,    2, 0x0a /* Public */,
       6,    0,   54,    2, 0x0a /* Public */,
       7,    1,   55,    2, 0x0a /* Public */,
       9,    1,   58,    2, 0x08 /* Private */,
      10,    1,   61,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QPoint,   11,

       0        // eod
};

void KChatBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KChatBase *_t = static_cast<KChatBase *>(_o);
        switch (_id) {
        case 0: _t->addMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->addSystemMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->slotClear(); break;
        case 3: _t->setAcceptMessage((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->slotReturnPressed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->customMenuHandler((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KChatBase::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_KChatBase.data,
      qt_meta_data_KChatBase,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KChatBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
