/****************************************************************************
** KJSEmbed::JSSlotProxy meta object code from reading C++ file 'slotproxy.h'
**
** Created: Sat Apr 17 03:47:05 2004
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.2.1   edited Aug 20 15:04 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

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

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

QMetaObject *KJSEmbed::JSSlotProxy::metaObj = 0;
static QMetaObjectCleanUp cleanUp_KJSEmbed__JSSlotProxy( "KJSEmbed::JSSlotProxy", &KJSEmbed::JSSlotProxy::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* KJSEmbed::JSSlotProxy::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
    static const QUMethod slot_0 = {"slot_void", 0, 0 };
    static const QUParameter param_slot_1[] = {
	{ "b", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"slot_bool", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ "s", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"slot_string", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
	{ "i", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"slot_int", 1, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ "i", &static_QUType_varptr, "\x11", QUParameter::In }
    };
    static const QUMethod slot_4 = {"slot_uint", 1, param_slot_4 };
    static const QUParameter param_slot_5[] = {
	{ "i", &static_QUType_ptr, "long", QUParameter::In }
    };
    static const QUMethod slot_5 = {"slot_long", 1, param_slot_5 };
    static const QUParameter param_slot_6[] = {
	{ "i", &static_QUType_ptr, "ulong", QUParameter::In }
    };
    static const QUMethod slot_6 = {"slot_ulong", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ "d", &static_QUType_double, 0, QUParameter::In }
    };
    static const QUMethod slot_7 = {"slot_double", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ "font", &static_QUType_varptr, "\x05", QUParameter::In }
    };
    static const QUMethod slot_8 = {"slot_font", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ "color", &static_QUType_varptr, "\x0a", QUParameter::In }
    };
    static const QUMethod slot_9 = {"slot_color", 1, param_slot_9 };
    static const QUParameter param_slot_10[] = {
	{ "point", &static_QUType_varptr, "\x0e", QUParameter::In }
    };
    static const QUMethod slot_10 = {"slot_point", 1, param_slot_10 };
    static const QUParameter param_slot_11[] = {
	{ "rec", &static_QUType_varptr, "\x08", QUParameter::In }
    };
    static const QUMethod slot_11 = {"slot_rect", 1, param_slot_11 };
    static const QUParameter param_slot_12[] = {
	{ "size", &static_QUType_varptr, "\x09", QUParameter::In }
    };
    static const QUMethod slot_12 = {"slot_size", 1, param_slot_12 };
    static const QUParameter param_slot_13[] = {
	{ "pix", &static_QUType_varptr, "\x06", QUParameter::In }
    };
    static const QUMethod slot_13 = {"slot_pixmap", 1, param_slot_13 };
    static const QUParameter param_slot_14[] = {
	{ "url", &static_QUType_ptr, "KURL", QUParameter::In }
    };
    static const QUMethod slot_14 = {"slot_url", 1, param_slot_14 };
    static const QUParameter param_slot_15[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_15 = {"slot_intint", 2, param_slot_15 };
    static const QUParameter param_slot_16[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_16 = {"slot_intbool", 2, param_slot_16 };
    static const QUParameter param_slot_17[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_17 = {"slot_intintint", 3, param_slot_17 };
    static const QMetaData slot_tbl[] = {
	{ "slot_void()", &slot_0, QMetaData::Public },
	{ "slot_bool(bool)", &slot_1, QMetaData::Public },
	{ "slot_string(const QString&)", &slot_2, QMetaData::Public },
	{ "slot_int(int)", &slot_3, QMetaData::Public },
	{ "slot_uint(uint)", &slot_4, QMetaData::Public },
	{ "slot_long(long)", &slot_5, QMetaData::Public },
	{ "slot_ulong(ulong)", &slot_6, QMetaData::Public },
	{ "slot_double(double)", &slot_7, QMetaData::Public },
	{ "slot_font(const QFont&)", &slot_8, QMetaData::Public },
	{ "slot_color(const QColor&)", &slot_9, QMetaData::Public },
	{ "slot_point(const QPoint&)", &slot_10, QMetaData::Public },
	{ "slot_rect(const QRect&)", &slot_11, QMetaData::Public },
	{ "slot_size(const QSize&)", &slot_12, QMetaData::Public },
	{ "slot_pixmap(const QPixmap&)", &slot_13, QMetaData::Public },
	{ "slot_url(const KURL&)", &slot_14, QMetaData::Public },
	{ "slot_intint(int,int)", &slot_15, QMetaData::Public },
	{ "slot_intbool(int,bool)", &slot_16, QMetaData::Public },
	{ "slot_intintint(int,int,int)", &slot_17, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"KJSEmbed::JSSlotProxy", parentObject,
	slot_tbl, 18,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_KJSEmbed__JSSlotProxy.setMetaObject( metaObj );
    return metaObj;
}

void* KJSEmbed::JSSlotProxy::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "KJSEmbed::JSSlotProxy" ) )
	return this;
    return QObject::qt_cast( clname );
}

bool KJSEmbed::JSSlotProxy::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slot_void(); break;
    case 1: slot_bool((bool)static_QUType_bool.get(_o+1)); break;
    case 2: slot_string((const QString&)static_QUType_QString.get(_o+1)); break;
    case 3: slot_int((int)static_QUType_int.get(_o+1)); break;
    case 4: slot_uint((uint)(*((uint*)static_QUType_ptr.get(_o+1)))); break;
    case 5: slot_long((long)(*((long*)static_QUType_ptr.get(_o+1)))); break;
    case 6: slot_ulong((ulong)(*((ulong*)static_QUType_ptr.get(_o+1)))); break;
    case 7: slot_double((double)static_QUType_double.get(_o+1)); break;
    case 8: slot_font((const QFont&)*((const QFont*)static_QUType_ptr.get(_o+1))); break;
    case 9: slot_color((const QColor&)*((const QColor*)static_QUType_ptr.get(_o+1))); break;
    case 10: slot_point((const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+1))); break;
    case 11: slot_rect((const QRect&)*((const QRect*)static_QUType_ptr.get(_o+1))); break;
    case 12: slot_size((const QSize&)*((const QSize*)static_QUType_ptr.get(_o+1))); break;
    case 13: slot_pixmap((const QPixmap&)*((const QPixmap*)static_QUType_ptr.get(_o+1))); break;
    case 14: slot_url((const KURL&)*((const KURL*)static_QUType_ptr.get(_o+1))); break;
    case 15: slot_intint((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 16: slot_intbool((int)static_QUType_int.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 17: slot_intintint((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    default:
	return QObject::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool KJSEmbed::JSSlotProxy::qt_emit( int _id, QUObject* _o )
{
    return QObject::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool KJSEmbed::JSSlotProxy::qt_property( int id, int f, QVariant* v)
{
    return QObject::qt_property( id, f, v);
}

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