/****************************************************************************
** AQSPen meta object code from reading C++ file 'AQSPen_p.h'
**
** Created: do. 6. sep. 20:19:05 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/AQSPen_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 *AQSPen::className() const
{
    return "AQSPen";
}

QMetaObject *AQSPen::metaObj = 0;
static QMetaObjectCleanUp cleanUp_AQSPen( "AQSPen", &AQSPen::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString AQSPen::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSPen", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString AQSPen::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSPen", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* AQSPen::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = AQSVoidPtr::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_QVariant, "\x11", QUParameter::Out }
    };
    static const QUMethod slot_0 = {"style", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_varptr, "\x11", QUParameter::In }
    };
    static const QUMethod slot_1 = {"setStyle", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_QVariant, "\x11", QUParameter::Out }
    };
    static const QUMethod slot_2 = {"width", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
	{ 0, &static_QUType_varptr, "\x11", QUParameter::In }
    };
    static const QUMethod slot_3 = {"setWidth", 1, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ 0, &static_QUType_ptr, "QColor", QUParameter::Out }
    };
    static const QUMethod slot_4 = {"color", 1, param_slot_4 };
    static const QUParameter param_slot_5[] = {
	{ 0, &static_QUType_varptr, "\x0a", QUParameter::In }
    };
    static const QUMethod slot_5 = {"setColor", 1, param_slot_5 };
    static const QUParameter param_slot_6[] = {
	{ 0, &static_QUType_ptr, "AQSColor", QUParameter::In }
    };
    static const QUMethod slot_6 = {"setColor", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ 0, &static_QUType_QVariant, "\x11", QUParameter::Out }
    };
    static const QUMethod slot_7 = {"capStyle", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ 0, &static_QUType_varptr, "\x11", QUParameter::In }
    };
    static const QUMethod slot_8 = {"setCapStyle", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ 0, &static_QUType_QVariant, "\x11", QUParameter::Out }
    };
    static const QUMethod slot_9 = {"joinStyle", 1, param_slot_9 };
    static const QUParameter param_slot_10[] = {
	{ 0, &static_QUType_varptr, "\x11", QUParameter::In }
    };
    static const QUMethod slot_10 = {"setJoinStyle", 1, param_slot_10 };
    static const QMetaData slot_tbl[] = {
	{ "style()", &slot_0, QMetaData::Public },
	{ "setStyle(uint)", &slot_1, QMetaData::Public },
	{ "width()", &slot_2, QMetaData::Public },
	{ "setWidth(uint)", &slot_3, QMetaData::Public },
	{ "color()", &slot_4, QMetaData::Public },
	{ "setColor(QColor*)", &slot_5, QMetaData::Public },
	{ "setColor(AQSColor*)", &slot_6, QMetaData::Public },
	{ "capStyle()", &slot_7, QMetaData::Public },
	{ "setCapStyle(uint)", &slot_8, QMetaData::Public },
	{ "joinStyle()", &slot_9, QMetaData::Public },
	{ "setJoinStyle(uint)", &slot_10, QMetaData::Public }
    };
#ifndef QT_NO_PROPERTIES
    static const QMetaProperty props_tbl[1] = {
 	{ "QPen","toVariant", 0x20000001, &AQSPen::metaObj, 0, -1 }
    };
#endif // QT_NO_PROPERTIES
    metaObj = QMetaObject::new_metaobject(
	"AQSPen", parentObject,
	slot_tbl, 11,
	0, 0,
#ifndef QT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_AQSPen.setMetaObject( metaObj );
    return metaObj;
}

void* AQSPen::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "AQSPen" ) )
	return this;
    return AQSVoidPtr::qt_cast( clname );
}

bool AQSPen::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: static_QUType_QVariant.set(_o,QVariant(style())); break;
    case 1: setStyle((uint)(*((uint*)static_QUType_ptr.get(_o+1)))); break;
    case 2: static_QUType_QVariant.set(_o,QVariant(width())); break;
    case 3: setWidth((uint)(*((uint*)static_QUType_ptr.get(_o+1)))); break;
    case 4: static_QUType_ptr.set(_o,color()); break;
    case 5: setColor((QColor*)static_QUType_varptr.get(_o+1)); break;
    case 6: setColor((AQSColor*)static_QUType_ptr.get(_o+1)); break;
    case 7: static_QUType_QVariant.set(_o,QVariant(capStyle())); break;
    case 8: setCapStyle((uint)(*((uint*)static_QUType_ptr.get(_o+1)))); break;
    case 9: static_QUType_QVariant.set(_o,QVariant(joinStyle())); break;
    case 10: setJoinStyle((uint)(*((uint*)static_QUType_ptr.get(_o+1)))); break;
    default:
	return AQSVoidPtr::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool AQSPen::qt_emit( int _id, QUObject* _o )
{
    return AQSVoidPtr::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool AQSPen::qt_property( int id, int f, QVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 1: *v = QVariant( this->toVariant() ); break;
	case 3: case 4: case 5: break;
	default: return FALSE;
    } break;
    default:
	return AQSVoidPtr::qt_property( id, f, v );
    }
    return TRUE;
}

bool AQSPen::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
