/****************************************************************************
** AQSFocusEvent meta object code from reading C++ file 'AQSFocusEvent_p.h'
**
** Created: vi. 31. jul. 22:07:30 2020
**      by: The Qt MOC ($Id: moc_yacc.cpp 2051 2007-02-21 10:04:20Z chehrlic $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "AQSFocusEvent_p.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

#include <qvariant.h>
const char *AQSFocusEvent::className() const
{
    return "AQSFocusEvent";
}

QMetaObject *AQSFocusEvent::metaObj = 0;
static QMetaObjectCleanUp cleanUp_AQSFocusEvent( "AQSFocusEvent", &AQSFocusEvent::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString AQSFocusEvent::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSFocusEvent", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString AQSFocusEvent::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSFocusEvent", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* AQSFocusEvent::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = AQSEvent::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_0 = {"gotFocus", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_1 = {"lostFocus", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_QVariant, "\x11", QUParameter::Out }
    };
    static const QUMethod slot_2 = {"reason", 1, param_slot_2 };
    static const QMetaData slot_tbl[] = {
	{ "gotFocus()", &slot_0, QMetaData::Public },
	{ "lostFocus()", &slot_1, QMetaData::Public },
	{ "reason()", &slot_2, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"AQSFocusEvent", parentObject,
	slot_tbl, 3,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_AQSFocusEvent.setMetaObject( metaObj );
    return metaObj;
}

void* AQSFocusEvent::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "AQSFocusEvent" ) )
	return this;
    return AQSEvent::qt_cast( clname );
}

bool AQSFocusEvent::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: static_QUType_bool.set(_o,gotFocus()); break;
    case 1: static_QUType_bool.set(_o,lostFocus()); break;
    case 2: static_QUType_QVariant.set(_o,QVariant(reason())); break;
    default:
	return AQSEvent::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool AQSFocusEvent::qt_emit( int _id, QUObject* _o )
{
    return AQSEvent::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool AQSFocusEvent::qt_property( int id, int f, QVariant* v)
{
    return AQSEvent::qt_property( id, f, v);
}

bool AQSFocusEvent::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
