/****************************************************************************
** GLWorkspace meta object code from reading C++ file 'glworkspace.h'
**
** Created: Tue Aug 28 10:53:48 2007
**      by: The Qt MOC ($Id: $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "../../../opengl/glworkspace.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 *GLWorkspace::className() const
{
    return "GLWorkspace";
}

QMetaObject *GLWorkspace::metaObj = 0;
static QMetaObjectCleanUp cleanUp_GLWorkspace( "GLWorkspace", &GLWorkspace::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* GLWorkspace::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QMainWindow::staticMetaObject();
    static const QUMethod slot_0 = {"newWirebox", 0, 0 };
    static const QUMethod slot_1 = {"newGear", 0, 0 };
    static const QUMethod slot_2 = {"newTexture", 0, 0 };
    static const QUMethod slot_3 = {"newNurbs", 0, 0 };
    static const QUParameter param_slot_4[] = {
	{ "x", &static_QUType_int, 0, QUParameter::In },
	{ "y", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_4 = {"filePrint", 2, param_slot_4 };
    static const QUMethod slot_5 = {"filePrintWindowRes", 0, 0 };
    static const QUMethod slot_6 = {"filePrintLowRes", 0, 0 };
    static const QUMethod slot_7 = {"filePrintMedRes", 0, 0 };
    static const QUMethod slot_8 = {"filePrintHighRes", 0, 0 };
    static const QUParameter param_slot_9[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_9 = {"filePrintSetup", 1, param_slot_9 };
    static const QUMethod slot_10 = {"fileClose", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "newWirebox()", &slot_0, QMetaData::Protected },
	{ "newGear()", &slot_1, QMetaData::Protected },
	{ "newTexture()", &slot_2, QMetaData::Protected },
	{ "newNurbs()", &slot_3, QMetaData::Protected },
	{ "filePrint(int,int)", &slot_4, QMetaData::Protected },
	{ "filePrintWindowRes()", &slot_5, QMetaData::Protected },
	{ "filePrintLowRes()", &slot_6, QMetaData::Protected },
	{ "filePrintMedRes()", &slot_7, QMetaData::Protected },
	{ "filePrintHighRes()", &slot_8, QMetaData::Protected },
	{ "filePrintSetup()", &slot_9, QMetaData::Protected },
	{ "fileClose()", &slot_10, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"GLWorkspace", parentObject,
	slot_tbl, 11,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_GLWorkspace.setMetaObject( metaObj );
    return metaObj;
}

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

bool GLWorkspace::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: newWirebox(); break;
    case 1: newGear(); break;
    case 2: newTexture(); break;
    case 3: newNurbs(); break;
    case 4: filePrint((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 5: filePrintWindowRes(); break;
    case 6: filePrintLowRes(); break;
    case 7: filePrintMedRes(); break;
    case 8: filePrintHighRes(); break;
    case 9: static_QUType_bool.set(_o,filePrintSetup()); break;
    case 10: fileClose(); break;
    default:
	return QMainWindow::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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