/****************************************************************************
** QMultiInputContext meta object code from reading C++ file 'qmultiinputcontext.h'
**
** Created: Thu Aug 25 16:01:45 2016
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "../../../../../../../src/qt-x11-free-3.3.8b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h"
#include <qmetaobject.h>
#include <qapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.3.8b. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *QMultiInputContext::className() const
{
    return "QMultiInputContext";
}

QMetaObject *QMultiInputContext::metaObj = 0;
static QMetaObjectCleanUp cleanUp_QMultiInputContext( "QMultiInputContext", &QMultiInputContext::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString QMultiInputContext::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "QMultiInputContext", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString QMultiInputContext::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "QMultiInputContext", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* QMultiInputContext::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QInputContext::staticMetaObject();
    static const QUMethod slot_0 = {"destroyInputContext", 0, 0 };
    static const QUParameter param_slot_1[] = {
	{ "receiver", &static_QUType_ptr, "QObject", QUParameter::In },
	{ "event", &static_QUType_ptr, "QIMEvent", QUParameter::In }
    };
    static const QUMethod slot_1 = {"postIMEvent", 2, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ "menuid", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"changeInputMethodWithMenuId", 1, param_slot_2 };
    static const QMetaData slot_tbl[] = {
	{ "destroyInputContext()", &slot_0, QMetaData::Public },
	{ "postIMEvent(QObject*,QIMEvent*)", &slot_1, QMetaData::Public },
	{ "changeInputMethodWithMenuId(int)", &slot_2, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"QMultiInputContext", parentObject,
	slot_tbl, 3,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_QMultiInputContext.setMetaObject( metaObj );
    return metaObj;
}

void* QMultiInputContext::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QMultiInputContext" ) )
	return this;
    return QInputContext::qt_cast( clname );
}

bool QMultiInputContext::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: destroyInputContext(); break;
    case 1: postIMEvent((QObject*)static_QUType_ptr.get(_o+1),(QIMEvent*)static_QUType_ptr.get(_o+2)); break;
    case 2: changeInputMethodWithMenuId((int)static_QUType_int.get(_o+1)); break;
    default:
	return QInputContext::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool QMultiInputContext::qt_emit( int _id, QUObject* _o )
{
    return QInputContext::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool QMultiInputContext::qt_property( int id, int f, QVariant* v)
{
    return QInputContext::qt_property( id, f, v);
}

bool QMultiInputContext::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
