/****************************************************************************
** AQSEvent meta object code from reading C++ file 'AQSEvent_p.h'
**
** Created: do. 6. sep. 20:19:03 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 "../../../aqsobjects/AQSEvent_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 *AQSEvent::className() const
{
    return "AQSEvent";
}

QMetaObject *AQSEvent::metaObj = 0;
static QMetaObjectCleanUp cleanUp_AQSEvent( "AQSEvent", &AQSEvent::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString AQSEvent::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSEvent", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString AQSEvent::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSEvent", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* AQSEvent::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = AQSVoidPtr::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_ptr, "QTimerEvent", QUParameter::Out }
    };
    static const QUMethod slot_0 = {"castTimerEvent", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_ptr, "QMouseEvent", QUParameter::Out }
    };
    static const QUMethod slot_1 = {"castMouseEvent", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_ptr, "QWheelEvent", QUParameter::Out }
    };
    static const QUMethod slot_2 = {"castWheelEvent", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
	{ 0, &static_QUType_ptr, "QKeyEvent", QUParameter::Out }
    };
    static const QUMethod slot_3 = {"castKeyEvent", 1, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ 0, &static_QUType_ptr, "QFocusEvent", QUParameter::Out }
    };
    static const QUMethod slot_4 = {"castFocusEvent", 1, param_slot_4 };
    static const QUParameter param_slot_5[] = {
	{ 0, &static_QUType_ptr, "QPaintEvent", QUParameter::Out }
    };
    static const QUMethod slot_5 = {"castPaintEvent", 1, param_slot_5 };
    static const QUParameter param_slot_6[] = {
	{ 0, &static_QUType_ptr, "QMoveEvent", QUParameter::Out }
    };
    static const QUMethod slot_6 = {"castMoveEvent", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ 0, &static_QUType_ptr, "QResizeEvent", QUParameter::Out }
    };
    static const QUMethod slot_7 = {"castResizeEvent", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ 0, &static_QUType_ptr, "QCloseEvent", QUParameter::Out }
    };
    static const QUMethod slot_8 = {"castCloseEvent", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ 0, &static_QUType_ptr, "QIconDragEvent", QUParameter::Out }
    };
    static const QUMethod slot_9 = {"castIconDragEvent", 1, param_slot_9 };
    static const QUParameter param_slot_10[] = {
	{ 0, &static_QUType_ptr, "QShowEvent", QUParameter::Out }
    };
    static const QUMethod slot_10 = {"castShowEvent", 1, param_slot_10 };
    static const QUParameter param_slot_11[] = {
	{ 0, &static_QUType_ptr, "QHideEvent", QUParameter::Out }
    };
    static const QUMethod slot_11 = {"castHideEvent", 1, param_slot_11 };
    static const QUParameter param_slot_12[] = {
	{ 0, &static_QUType_ptr, "QContextMenuEvent", QUParameter::Out }
    };
    static const QUMethod slot_12 = {"castContextMenuEvent", 1, param_slot_12 };
    static const QUParameter param_slot_13[] = {
	{ 0, &static_QUType_ptr, "QIMEvent", QUParameter::Out }
    };
    static const QUMethod slot_13 = {"castIMEvent", 1, param_slot_13 };
    static const QUParameter param_slot_14[] = {
	{ 0, &static_QUType_ptr, "QDropEvent", QUParameter::Out }
    };
    static const QUMethod slot_14 = {"castDropEvent", 1, param_slot_14 };
    static const QUParameter param_slot_15[] = {
	{ 0, &static_QUType_ptr, "QDragMoveEvent", QUParameter::Out }
    };
    static const QUMethod slot_15 = {"castDragMoveEvent", 1, param_slot_15 };
    static const QUParameter param_slot_16[] = {
	{ 0, &static_QUType_ptr, "QDragEnterEvent", QUParameter::Out }
    };
    static const QUMethod slot_16 = {"castDragEnterEvent", 1, param_slot_16 };
    static const QUParameter param_slot_17[] = {
	{ 0, &static_QUType_ptr, "QDragLeaveEvent", QUParameter::Out }
    };
    static const QUMethod slot_17 = {"castDragLeaveEvent", 1, param_slot_17 };
    static const QUParameter param_slot_18[] = {
	{ 0, &static_QUType_ptr, "QChildEvent", QUParameter::Out }
    };
    static const QUMethod slot_18 = {"castChildEvent", 1, param_slot_18 };
    static const QUParameter param_slot_19[] = {
	{ 0, &static_QUType_ptr, "QCustomEvent", QUParameter::Out }
    };
    static const QUMethod slot_19 = {"castCustomEvent", 1, param_slot_19 };
    static const QMetaData slot_tbl[] = {
	{ "castTimerEvent()", &slot_0, QMetaData::Public },
	{ "castMouseEvent()", &slot_1, QMetaData::Public },
	{ "castWheelEvent()", &slot_2, QMetaData::Public },
	{ "castKeyEvent()", &slot_3, QMetaData::Public },
	{ "castFocusEvent()", &slot_4, QMetaData::Public },
	{ "castPaintEvent()", &slot_5, QMetaData::Public },
	{ "castMoveEvent()", &slot_6, QMetaData::Public },
	{ "castResizeEvent()", &slot_7, QMetaData::Public },
	{ "castCloseEvent()", &slot_8, QMetaData::Public },
	{ "castIconDragEvent()", &slot_9, QMetaData::Public },
	{ "castShowEvent()", &slot_10, QMetaData::Public },
	{ "castHideEvent()", &slot_11, QMetaData::Public },
	{ "castContextMenuEvent()", &slot_12, QMetaData::Public },
	{ "castIMEvent()", &slot_13, QMetaData::Public },
	{ "castDropEvent()", &slot_14, QMetaData::Public },
	{ "castDragMoveEvent()", &slot_15, QMetaData::Public },
	{ "castDragEnterEvent()", &slot_16, QMetaData::Public },
	{ "castDragLeaveEvent()", &slot_17, QMetaData::Public },
	{ "castChildEvent()", &slot_18, QMetaData::Public },
	{ "castCustomEvent()", &slot_19, QMetaData::Public }
    };
#ifndef QT_NO_PROPERTIES
    static const QMetaProperty props_tbl[3] = {
 	{ "int","type", 0x10000001, &AQSEvent::metaObj, 0, -1 },
	{ "bool","spontaneous", 0x12000001, &AQSEvent::metaObj, 0, -1 },
	{ "QMap<QString,QVariant>","eventData", 0x1000001, &AQSEvent::metaObj, 0, -1 }
    };
#endif // QT_NO_PROPERTIES
    metaObj = QMetaObject::new_metaobject(
	"AQSEvent", parentObject,
	slot_tbl, 20,
	0, 0,
#ifndef QT_NO_PROPERTIES
	props_tbl, 3,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_AQSEvent.setMetaObject( metaObj );
    return metaObj;
}

void* AQSEvent::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "AQSEvent" ) )
	return this;
    return AQSVoidPtr::qt_cast( clname );
}

bool AQSEvent::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: static_QUType_ptr.set(_o,castTimerEvent()); break;
    case 1: static_QUType_ptr.set(_o,castMouseEvent()); break;
    case 2: static_QUType_ptr.set(_o,castWheelEvent()); break;
    case 3: static_QUType_ptr.set(_o,castKeyEvent()); break;
    case 4: static_QUType_ptr.set(_o,castFocusEvent()); break;
    case 5: static_QUType_ptr.set(_o,castPaintEvent()); break;
    case 6: static_QUType_ptr.set(_o,castMoveEvent()); break;
    case 7: static_QUType_ptr.set(_o,castResizeEvent()); break;
    case 8: static_QUType_ptr.set(_o,castCloseEvent()); break;
    case 9: static_QUType_ptr.set(_o,castIconDragEvent()); break;
    case 10: static_QUType_ptr.set(_o,castShowEvent()); break;
    case 11: static_QUType_ptr.set(_o,castHideEvent()); break;
    case 12: static_QUType_ptr.set(_o,castContextMenuEvent()); break;
    case 13: static_QUType_ptr.set(_o,castIMEvent()); break;
    case 14: static_QUType_ptr.set(_o,castDropEvent()); break;
    case 15: static_QUType_ptr.set(_o,castDragMoveEvent()); break;
    case 16: static_QUType_ptr.set(_o,castDragEnterEvent()); break;
    case 17: static_QUType_ptr.set(_o,castDragLeaveEvent()); break;
    case 18: static_QUType_ptr.set(_o,castChildEvent()); break;
    case 19: static_QUType_ptr.set(_o,castCustomEvent()); break;
    default:
	return AQSVoidPtr::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool AQSEvent::qt_emit( int _id, QUObject* _o )
{
    return AQSVoidPtr::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool AQSEvent::qt_property( int id, int f, QVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 1: *v = QVariant( this->type() ); break;
	case 3: case 4: case 5: break;
	default: return FALSE;
    } break;
    case 1: switch( f ) {
	case 1: *v = QVariant( this->spontaneous(), 0 ); break;
	case 3: case 4: case 5: break;
	default: return FALSE;
    } break;
    case 2: switch( f ) {
	case 1: *v = QVariant( this->eventData() ); break;
	case 3: case 4: case 5: break;
	default: return FALSE;
    } break;
    default:
	return AQSVoidPtr::qt_property( id, f, v );
    }
    return TRUE;
}

bool AQSEvent::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
