/****************************************************************************
** AQSWheelEvent meta object code from reading C++ file 'AQSWheelEvent_p.h'
**
** Created: do. 6. sep. 20:19:07 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/AQSWheelEvent_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 *AQSWheelEvent::className() const
{
    return "AQSWheelEvent";
}

QMetaObject *AQSWheelEvent::metaObj = 0;
static QMetaObjectCleanUp cleanUp_AQSWheelEvent( "AQSWheelEvent", &AQSWheelEvent::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString AQSWheelEvent::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSWheelEvent", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString AQSWheelEvent::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSWheelEvent", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* AQSWheelEvent::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = AQSEvent::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_0 = {"delta", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_QVariant, "\x0e", QUParameter::Out }
    };
    static const QUMethod slot_1 = {"pos", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_QVariant, "\x0e", QUParameter::Out }
    };
    static const QUMethod slot_2 = {"globalPos", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_3 = {"x", 1, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_4 = {"y", 1, param_slot_4 };
    static const QUParameter param_slot_5[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_5 = {"globalX", 1, param_slot_5 };
    static const QUParameter param_slot_6[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_6 = {"globalY", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ 0, &static_QUType_QVariant, "\x11", QUParameter::Out }
    };
    static const QUMethod slot_7 = {"state", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ 0, &static_QUType_QVariant, "\x11", QUParameter::Out }
    };
    static const QUMethod slot_8 = {"orientation", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_9 = {"isAccepted", 1, param_slot_9 };
    static const QUMethod slot_10 = {"accept", 0, 0 };
    static const QUMethod slot_11 = {"ignore", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "delta()", &slot_0, QMetaData::Public },
	{ "pos()", &slot_1, QMetaData::Public },
	{ "globalPos()", &slot_2, QMetaData::Public },
	{ "x()", &slot_3, QMetaData::Public },
	{ "y()", &slot_4, QMetaData::Public },
	{ "globalX()", &slot_5, QMetaData::Public },
	{ "globalY()", &slot_6, QMetaData::Public },
	{ "state()", &slot_7, QMetaData::Public },
	{ "orientation()", &slot_8, QMetaData::Public },
	{ "isAccepted()", &slot_9, QMetaData::Public },
	{ "accept()", &slot_10, QMetaData::Public },
	{ "ignore()", &slot_11, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"AQSWheelEvent", parentObject,
	slot_tbl, 12,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_AQSWheelEvent.setMetaObject( metaObj );
    return metaObj;
}

void* AQSWheelEvent::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "AQSWheelEvent" ) )
	return this;
    return AQSEvent::qt_cast( clname );
}

bool AQSWheelEvent::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: static_QUType_int.set(_o,delta()); break;
    case 1: static_QUType_QVariant.set(_o,QVariant(pos())); break;
    case 2: static_QUType_QVariant.set(_o,QVariant(globalPos())); break;
    case 3: static_QUType_int.set(_o,x()); break;
    case 4: static_QUType_int.set(_o,y()); break;
    case 5: static_QUType_int.set(_o,globalX()); break;
    case 6: static_QUType_int.set(_o,globalY()); break;
    case 7: static_QUType_QVariant.set(_o,QVariant(state())); break;
    case 8: static_QUType_QVariant.set(_o,QVariant(orientation())); break;
    case 9: static_QUType_bool.set(_o,isAccepted()); break;
    case 10: accept(); break;
    case 11: ignore(); break;
    default:
	return AQSEvent::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool AQSWheelEvent::qt_emit( int _id, QUObject* _o )
{
    return AQSEvent::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool AQSWheelEvent::qt_property( int id, int f, QVariant* v)
{
    return AQSEvent::qt_property( id, f, v);
}

bool AQSWheelEvent::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
