/****************************************************************************
** GLBox meta object code from reading C++ file 'glbox.h'
**
** Created: Fri Sep 2 13:23:38 2005
**      by: The Qt MOC ($Id: $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

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

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

QMetaObject *GLBox::metaObj = 0;
static QMetaObjectCleanUp cleanUp_GLBox( "GLBox", &GLBox::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* GLBox::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QGLWidget::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ "degrees", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"setXRotation", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ "degrees", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"setYRotation", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ "degrees", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"setZRotation", 1, param_slot_2 };
    static const QMetaData slot_tbl[] = {
	{ "setXRotation(int)", &slot_0, QMetaData::Public },
	{ "setYRotation(int)", &slot_1, QMetaData::Public },
	{ "setZRotation(int)", &slot_2, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"GLBox", parentObject,
	slot_tbl, 3,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_GLBox.setMetaObject( metaObj );
    return metaObj;
}

void* GLBox::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "GLBox" ) )
	return this;
    return QGLWidget::qt_cast( clname );
}

bool GLBox::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setXRotation((int)static_QUType_int.get(_o+1)); break;
    case 1: setYRotation((int)static_QUType_int.get(_o+1)); break;
    case 2: setZRotation((int)static_QUType_int.get(_o+1)); break;
    default:
	return QGLWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool GLBox::qt_emit( int _id, QUObject* _o )
{
    return QGLWidget::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool GLBox::qt_property( int id, int f, QVariant* v)
{
    return QGLWidget::qt_property( id, f, v);
}

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