/****************************************************************************
** MythWizard meta object code from reading C++ file 'mythwizard.h'
**
** Created: Fri Jan 9 04:15:42 2009
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

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

QMetaObject *MythWizard::metaObj = 0;
static QMetaObjectCleanUp cleanUp_MythWizard( "MythWizard", &MythWizard::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* MythWizard::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = MythDialog::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In },
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"setBackEnabled", 2, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In },
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"setNextEnabled", 2, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In },
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"setFinishEnabled", 2, param_slot_2 };
    static const QUParameter param_slot_3[] = {
	{ "helptext", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"setHelpText", 1, param_slot_3 };
    static const QUMethod slot_4 = {"back", 0, 0 };
    static const QUMethod slot_5 = {"next", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "setBackEnabled(QWidget*,bool)", &slot_0, QMetaData::Public },
	{ "setNextEnabled(QWidget*,bool)", &slot_1, QMetaData::Public },
	{ "setFinishEnabled(QWidget*,bool)", &slot_2, QMetaData::Public },
	{ "setHelpText(QString)", &slot_3, QMetaData::Public },
	{ "back()", &slot_4, QMetaData::Protected },
	{ "next()", &slot_5, QMetaData::Protected }
    };
    static const QUParameter param_signal_0[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"selected", 1, param_signal_0 };
    static const QMetaData signal_tbl[] = {
	{ "selected(const QString&)", &signal_0, QMetaData::Protected }
    };
#ifndef QT_NO_PROPERTIES
    static const QMetaProperty props_tbl[1] = {
 	{ "QFont","titleFont", 0x5000103, &MythWizard::metaObj, 0, -1 }
    };
#endif // QT_NO_PROPERTIES
    metaObj = QMetaObject::new_metaobject(
	"MythWizard", parentObject,
	slot_tbl, 6,
	signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_MythWizard.setMetaObject( metaObj );
    return metaObj;
}

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

// SIGNAL selected
void MythWizard::selected( const QString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

bool MythWizard::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setBackEnabled((QWidget*)static_QUType_ptr.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 1: setNextEnabled((QWidget*)static_QUType_ptr.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 2: setFinishEnabled((QWidget*)static_QUType_ptr.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 3: setHelpText((QString)static_QUType_QString.get(_o+1)); break;
    case 4: back(); break;
    case 5: next(); break;
    default:
	return MythDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool MythWizard::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: selected((const QString&)static_QUType_QString.get(_o+1)); break;
    default:
	return MythDialog::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

bool MythWizard::qt_property( int id, int f, QVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setTitleFont(v->asFont()); break;
	case 1: *v = QVariant( this->titleFont() ); break;
	case 3: case 4: case 5: break;
	default: return FALSE;
    } break;
    default:
	return MythDialog::qt_property( id, f, v );
    }
    return TRUE;
}

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


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

QMetaObject *MythJumpWizard::metaObj = 0;
static QMetaObjectCleanUp cleanUp_MythJumpWizard( "MythJumpWizard", &MythJumpWizard::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* MythJumpWizard::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = MythWizard::staticMetaObject();
    metaObj = QMetaObject::new_metaobject(
	"MythJumpWizard", parentObject,
	0, 0,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_MythJumpWizard.setMetaObject( metaObj );
    return metaObj;
}

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

bool MythJumpWizard::qt_invoke( int _id, QUObject* _o )
{
    return MythWizard::qt_invoke(_id,_o);
}

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

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

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