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

QMetaObject *OSDListTreeType::metaObj = 0;
static QMetaObjectCleanUp cleanUp_OSDListTreeType( "OSDListTreeType", &OSDListTreeType::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* OSDListTreeType::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = OSDType::staticMetaObject();
    static const QUParameter param_signal_0[] = {
	{ "parent", &static_QUType_ptr, "OSDListTreeType", QUParameter::In },
	{ "item", &static_QUType_ptr, "OSDGenericTree", QUParameter::In }
    };
    static const QUMethod signal_0 = {"itemSelected", 2, param_signal_0 };
    static const QUParameter param_signal_1[] = {
	{ "parent", &static_QUType_ptr, "OSDListTreeType", QUParameter::In },
	{ "item", &static_QUType_ptr, "OSDGenericTree", QUParameter::In }
    };
    static const QUMethod signal_1 = {"itemEntered", 2, param_signal_1 };
    static const QMetaData signal_tbl[] = {
	{ "itemSelected(OSDListTreeType*,OSDGenericTree*)", &signal_0, QMetaData::Public },
	{ "itemEntered(OSDListTreeType*,OSDGenericTree*)", &signal_1, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"OSDListTreeType", parentObject,
	0, 0,
	signal_tbl, 2,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_OSDListTreeType.setMetaObject( metaObj );
    return metaObj;
}

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

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

// SIGNAL itemSelected
void OSDListTreeType::itemSelected( OSDListTreeType* t0, OSDGenericTree* t1 )
{
    if ( signalsBlocked() )
	return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 0 );
    if ( !clist )
	return;
    QUObject o[3];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_ptr.set(o+2,t1);
    activate_signal( clist, o );
}

// SIGNAL itemEntered
void OSDListTreeType::itemEntered( OSDListTreeType* t0, OSDGenericTree* t1 )
{
    if ( signalsBlocked() )
	return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 1 );
    if ( !clist )
	return;
    QUObject o[3];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_ptr.set(o+2,t1);
    activate_signal( clist, o );
}

bool OSDListTreeType::qt_invoke( int _id, QUObject* _o )
{
    return OSDType::qt_invoke(_id,_o);
}

bool OSDListTreeType::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: itemSelected((OSDListTreeType*)static_QUType_ptr.get(_o+1),(OSDGenericTree*)static_QUType_ptr.get(_o+2)); break;
    case 1: itemEntered((OSDListTreeType*)static_QUType_ptr.get(_o+1),(OSDGenericTree*)static_QUType_ptr.get(_o+2)); break;
    default:
	return OSDType::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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


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

QMetaObject *OSDListBtnType::metaObj = 0;
static QMetaObjectCleanUp cleanUp_OSDListBtnType( "OSDListBtnType", &OSDListBtnType::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* OSDListBtnType::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = OSDType::staticMetaObject();
    static const QUParameter param_signal_0[] = {
	{ "item", &static_QUType_ptr, "OSDListBtnTypeItem", QUParameter::In }
    };
    static const QUMethod signal_0 = {"itemSelected", 1, param_signal_0 };
    static const QMetaData signal_tbl[] = {
	{ "itemSelected(OSDListBtnTypeItem*)", &signal_0, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
	"OSDListBtnType", parentObject,
	0, 0,
	signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_OSDListBtnType.setMetaObject( metaObj );
    return metaObj;
}

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

// SIGNAL itemSelected
void OSDListBtnType::itemSelected( OSDListBtnTypeItem* t0 )
{
    if ( signalsBlocked() )
	return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 0 );
    if ( !clist )
	return;
    QUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    activate_signal( clist, o );
}

bool OSDListBtnType::qt_invoke( int _id, QUObject* _o )
{
    return OSDType::qt_invoke(_id,_o);
}

bool OSDListBtnType::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: itemSelected((OSDListBtnTypeItem*)static_QUType_ptr.get(_o+1)); break;
    default:
	return OSDType::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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