/****************************************************************************
** MythUIType meta object code from reading C++ file 'mythuitype.h'
**
** Created: Fri Jan 9 04:13:51 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 "mythuitype.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

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

QMetaObject *MythUIType::metaObj = 0;
static QMetaObjectCleanUp cleanUp_MythUIType( "MythUIType", &MythUIType::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* MythUIType::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
    static const QUMethod slot_0 = {"LoseFocus", 0, 0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_1 = {"TakeFocus", 1, param_slot_1 };
    static const QUMethod slot_2 = {"Activate", 0, 0 };
    static const QUMethod slot_3 = {"Hide", 0, 0 };
    static const QUMethod slot_4 = {"Show", 0, 0 };
    static const QUMethod slot_5 = {"Refresh", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "LoseFocus()", &slot_0, QMetaData::Public },
	{ "TakeFocus()", &slot_1, QMetaData::Public },
	{ "Activate()", &slot_2, QMetaData::Public },
	{ "Hide()", &slot_3, QMetaData::Public },
	{ "Show()", &slot_4, QMetaData::Public },
	{ "Refresh()", &slot_5, QMetaData::Public }
    };
    static const QUMethod signal_0 = {"RequestUpdate", 0, 0 };
    static const QUParameter param_signal_1[] = {
	{ 0, &static_QUType_varptr, "\x08", QUParameter::In }
    };
    static const QUMethod signal_1 = {"RequestUpdate", 1, param_signal_1 };
    static const QUParameter param_signal_2[] = {
	{ 0, &static_QUType_varptr, "\x08", QUParameter::In }
    };
    static const QUMethod signal_2 = {"RequestRegionUpdate", 1, param_signal_2 };
    static const QUMethod signal_3 = {"TakingFocus", 0, 0 };
    static const QUMethod signal_4 = {"LosingFocus", 0, 0 };
    static const QUMethod signal_5 = {"Showing", 0, 0 };
    static const QUMethod signal_6 = {"Hiding", 0, 0 };
    static const QUMethod signal_7 = {"FinishedMoving", 0, 0 };
    static const QUMethod signal_8 = {"FinishedFading", 0, 0 };
    static const QMetaData signal_tbl[] = {
	{ "RequestUpdate()", &signal_0, QMetaData::Public },
	{ "RequestUpdate(const QRect&)", &signal_1, QMetaData::Public },
	{ "RequestRegionUpdate(const QRect&)", &signal_2, QMetaData::Public },
	{ "TakingFocus()", &signal_3, QMetaData::Public },
	{ "LosingFocus()", &signal_4, QMetaData::Public },
	{ "Showing()", &signal_5, QMetaData::Public },
	{ "Hiding()", &signal_6, QMetaData::Public },
	{ "FinishedMoving()", &signal_7, QMetaData::Public },
	{ "FinishedFading()", &signal_8, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"MythUIType", parentObject,
	slot_tbl, 6,
	signal_tbl, 9,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_MythUIType.setMetaObject( metaObj );
    return metaObj;
}

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

// SIGNAL RequestUpdate
void MythUIType::RequestUpdate()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

#include <qobjectdefs.h>
#include <qsignalslotimp.h>

// SIGNAL RequestUpdate
void MythUIType::RequestUpdate( const QRect& t0 )
{
    if ( signalsBlocked() )
	return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 1 );
    if ( !clist )
	return;
    QUObject o[2];
    static_QUType_varptr.set(o+1,&t0);
    activate_signal( clist, o );
}

// SIGNAL RequestRegionUpdate
void MythUIType::RequestRegionUpdate( const QRect& t0 )
{
    if ( signalsBlocked() )
	return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 2 );
    if ( !clist )
	return;
    QUObject o[2];
    static_QUType_varptr.set(o+1,&t0);
    activate_signal( clist, o );
}

// SIGNAL TakingFocus
void MythUIType::TakingFocus()
{
    activate_signal( staticMetaObject()->signalOffset() + 3 );
}

// SIGNAL LosingFocus
void MythUIType::LosingFocus()
{
    activate_signal( staticMetaObject()->signalOffset() + 4 );
}

// SIGNAL Showing
void MythUIType::Showing()
{
    activate_signal( staticMetaObject()->signalOffset() + 5 );
}

// SIGNAL Hiding
void MythUIType::Hiding()
{
    activate_signal( staticMetaObject()->signalOffset() + 6 );
}

// SIGNAL FinishedMoving
void MythUIType::FinishedMoving()
{
    activate_signal( staticMetaObject()->signalOffset() + 7 );
}

// SIGNAL FinishedFading
void MythUIType::FinishedFading()
{
    activate_signal( staticMetaObject()->signalOffset() + 8 );
}

bool MythUIType::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: LoseFocus(); break;
    case 1: static_QUType_bool.set(_o,TakeFocus()); break;
    case 2: Activate(); break;
    case 3: Hide(); break;
    case 4: Show(); break;
    case 5: Refresh(); break;
    default:
	return QObject::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool MythUIType::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: RequestUpdate(); break;
    case 1: RequestUpdate((const QRect&)*((const QRect*)static_QUType_ptr.get(_o+1))); break;
    case 2: RequestRegionUpdate((const QRect&)*((const QRect*)static_QUType_ptr.get(_o+1))); break;
    case 3: TakingFocus(); break;
    case 4: LosingFocus(); break;
    case 5: Showing(); break;
    case 6: Hiding(); break;
    case 7: FinishedMoving(); break;
    case 8: FinishedFading(); break;
    default:
	return QObject::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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