/**************************************************************************** ** setup meta object code from reading C++ file 'Setup.h' ** ** Created: Fri Aug 13 00:02:48 2004 ** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.2 edited Apr 19 11:34 $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #undef QT_NO_COMPAT #include "Setup.h" #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) #error "This file was generated using the moc from 3.3.2. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif const char *setup::className() const { return "setup"; } QMetaObject *setup::metaObj = 0; static QMetaObjectCleanUp cleanUp_setup( "setup", &setup::staticMetaObject ); #ifndef QT_NO_TRANSLATION QString setup::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "setup", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString setup::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "setup", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* setup::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QObject::staticMetaObject(); static const QUMethod slot_0 = {"Ok", 0, 0 }; static const QUMethod slot_1 = {"Default", 0, 0 }; static const QUMethod slot_2 = {"ColorB", 0, 0 }; static const QUMethod slot_3 = {"ColorI", 0, 0 }; static const QUMethod slot_4 = {"ColorF", 0, 0 }; static const QUMethod slot_5 = {"ColorO", 0, 0 }; static const QUMethod slot_6 = {"ColorS", 0, 0 }; static const QUMethod slot_7 = {"FontB", 0, 0 }; static const QUMethod slot_8 = {"FontI", 0, 0 }; static const QUMethod slot_9 = {"FontF", 0, 0 }; static const QUMethod slot_10 = {"FontO", 0, 0 }; static const QUParameter param_slot_11[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_11 = {"PageSize", 1, param_slot_11 }; static const QUParameter param_slot_12[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_12 = {"Orientation", 1, param_slot_12 }; static const QUParameter param_slot_13[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_13 = {"Grid", 1, param_slot_13 }; static const QUParameter param_slot_14[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_14 = {"Size", 1, param_slot_14 }; static const QMetaData slot_tbl[] = { { "Ok()", &slot_0, QMetaData::Private }, { "Default()", &slot_1, QMetaData::Private }, { "ColorB()", &slot_2, QMetaData::Private }, { "ColorI()", &slot_3, QMetaData::Private }, { "ColorF()", &slot_4, QMetaData::Private }, { "ColorO()", &slot_5, QMetaData::Private }, { "ColorS()", &slot_6, QMetaData::Private }, { "FontB()", &slot_7, QMetaData::Private }, { "FontI()", &slot_8, QMetaData::Private }, { "FontF()", &slot_9, QMetaData::Private }, { "FontO()", &slot_10, QMetaData::Private }, { "PageSize(int)", &slot_11, QMetaData::Private }, { "Orientation(int)", &slot_12, QMetaData::Private }, { "Grid(int)", &slot_13, QMetaData::Private }, { "Size(int)", &slot_14, QMetaData::Private } }; metaObj = QMetaObject::new_metaobject( "setup", parentObject, slot_tbl, 15, 0, 0, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_setup.setMetaObject( metaObj ); return metaObj; } void* setup::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "setup" ) ) return this; return QObject::qt_cast( clname ); } bool setup::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: Ok(); break; case 1: Default(); break; case 2: ColorB(); break; case 3: ColorI(); break; case 4: ColorF(); break; case 5: ColorO(); break; case 6: ColorS(); break; case 7: FontB(); break; case 8: FontI(); break; case 9: FontF(); break; case 10: FontO(); break; case 11: PageSize((int)static_QUType_int.get(_o+1)); break; case 12: Orientation((int)static_QUType_int.get(_o+1)); break; case 13: Grid((int)static_QUType_int.get(_o+1)); break; case 14: Size((int)static_QUType_int.get(_o+1)); break; default: return QObject::qt_invoke( _id, _o ); } return TRUE; } bool setup::qt_emit( int _id, QUObject* _o ) { return QObject::qt_emit(_id,_o); } #ifndef QT_NO_PROPERTIES bool setup::qt_property( int id, int f, QVariant* v) { return QObject::qt_property( id, f, v); } bool setup::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } #endif // QT_NO_PROPERTIES