/****************************************************************************
** TV meta object code from reading C++ file 'tv_play.h'
**
** Created: Fri Jan 9 04:23:19 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 "tv_play.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 *TV::className() const
{
    return "TV";
}

QMetaObject *TV::metaObj = 0;
static QMetaObjectCleanUp cleanUp_TV( "TV", &TV::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* TV::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ "osdType", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"HandleOSDClosed", 1, param_slot_0 };
    static const QUMethod slot_1 = {"SetPreviousChannel", 0, 0 };
    static const QUMethod slot_2 = {"UnMute", 0, 0 };
    static const QUMethod slot_3 = {"KeyRepeatOK", 0, 0 };
    static const QUMethod slot_4 = {"BrowseEndTimer", 0, 0 };
    static const QUMethod slot_5 = {"SleepEndTimer", 0, 0 };
    static const QUMethod slot_6 = {"IdleDialog", 0, 0 };
    static const QUParameter param_slot_7[] = {
	{ "tree", &static_QUType_ptr, "OSDListTreeType", QUParameter::In },
	{ "item", &static_QUType_ptr, "OSDGenericTree", QUParameter::In }
    };
    static const QUMethod slot_7 = {"TreeMenuEntered", 2, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ "tree", &static_QUType_ptr, "OSDListTreeType", QUParameter::In },
	{ "item", &static_QUType_ptr, "OSDGenericTree", QUParameter::In }
    };
    static const QUMethod slot_8 = {"TreeMenuSelected", 2, param_slot_8 };
    static const QMetaData slot_tbl[] = {
	{ "HandleOSDClosed(int)", &slot_0, QMetaData::Public },
	{ "SetPreviousChannel()", &slot_1, QMetaData::Protected },
	{ "UnMute()", &slot_2, QMetaData::Protected },
	{ "KeyRepeatOK()", &slot_3, QMetaData::Protected },
	{ "BrowseEndTimer()", &slot_4, QMetaData::Protected },
	{ "SleepEndTimer()", &slot_5, QMetaData::Protected },
	{ "IdleDialog()", &slot_6, QMetaData::Protected },
	{ "TreeMenuEntered(OSDListTreeType*,OSDGenericTree*)", &slot_7, QMetaData::Protected },
	{ "TreeMenuSelected(OSDListTreeType*,OSDGenericTree*)", &slot_8, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"TV", parentObject,
	slot_tbl, 9,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_TV.setMetaObject( metaObj );
    return metaObj;
}

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

bool TV::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: HandleOSDClosed((int)static_QUType_int.get(_o+1)); break;
    case 1: SetPreviousChannel(); break;
    case 2: UnMute(); break;
    case 3: KeyRepeatOK(); break;
    case 4: BrowseEndTimer(); break;
    case 5: SleepEndTimer(); break;
    case 6: IdleDialog(); break;
    case 7: TreeMenuEntered((OSDListTreeType*)static_QUType_ptr.get(_o+1),(OSDGenericTree*)static_QUType_ptr.get(_o+2)); break;
    case 8: TreeMenuSelected((OSDListTreeType*)static_QUType_ptr.get(_o+1),(OSDGenericTree*)static_QUType_ptr.get(_o+2)); break;
    default:
	return QObject::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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