/****************************************************************************
** VirtualKeyboard meta object code from reading C++ file 'virtualkeyboard.h'
**
** Created: Fri Jan 9 04:15:47 2009
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "virtualkeyboard.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.8. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

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

QMetaObject *VirtualKeyboard::metaObj = 0;
static QMetaObjectCleanUp cleanUp_VirtualKeyboard( "VirtualKeyboard", &VirtualKeyboard::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* VirtualKeyboard::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = MythThemedDialog::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ "language", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"SwitchLayout", 1, param_slot_0 };
    static const QUMethod slot_1 = {"Show", 0, 0 };
    static const QUMethod slot_2 = {"hide", 0, 0 };
    static const QUMethod slot_3 = {"deleteLater", 0, 0 };
    static const QUParameter param_slot_4[] = {
	{ "e", &static_QUType_ptr, "QKeyEvent", QUParameter::In }
    };
    static const QUMethod slot_4 = {"keyPressEvent", 1, param_slot_4 };
    static const QMetaData slot_tbl[] = {
	{ "SwitchLayout(const QString&)", &slot_0, QMetaData::Public },
	{ "Show()", &slot_1, QMetaData::Public },
	{ "hide()", &slot_2, QMetaData::Public },
	{ "deleteLater()", &slot_3, QMetaData::Public },
	{ "keyPressEvent(QKeyEvent*)", &slot_4, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"VirtualKeyboard", parentObject,
	slot_tbl, 5,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_VirtualKeyboard.setMetaObject( metaObj );
    return metaObj;
}

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

bool VirtualKeyboard::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: SwitchLayout((const QString&)static_QUType_QString.get(_o+1)); break;
    case 1: Show(); break;
    case 2: hide(); break;
    case 3: deleteLater(); break;
    case 4: keyPressEvent((QKeyEvent*)static_QUType_ptr.get(_o+1)); break;
    default:
	return MythThemedDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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