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

QMetaObject *ChannelRecPriority::metaObj = 0;
static QMetaObjectCleanUp cleanUp_ChannelRecPriority( "ChannelRecPriority", &ChannelRecPriority::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* ChannelRecPriority::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = MythDialog::staticMetaObject();
    static const QUMethod slot_0 = {"cursorDown", 0, 0 };
    static const QUParameter param_slot_1[] = {
	{ "page", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"cursorDown", 1, param_slot_1 };
    static const QUMethod slot_2 = {"cursorUp", 0, 0 };
    static const QUParameter param_slot_3[] = {
	{ "page", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"cursorUp", 1, param_slot_3 };
    static const QUMethod slot_4 = {"pageDown", 0, 0 };
    static const QUMethod slot_5 = {"pageUp", 0, 0 };
    static const QUMethod slot_6 = {"edit", 0, 0 };
    static const QUMethod slot_7 = {"upcoming", 0, 0 };
    static const QUParameter param_slot_8[] = {
	{ "howMuch", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_8 = {"changeRecPriority", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In },
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_9 = {"applyChannelRecPriorityChange", 2, param_slot_9 };
    static const QUMethod slot_10 = {"saveRecPriority", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "cursorDown()", &slot_0, QMetaData::Protected },
	{ "cursorDown(bool)", &slot_1, QMetaData::Protected },
	{ "cursorUp()", &slot_2, QMetaData::Protected },
	{ "cursorUp(bool)", &slot_3, QMetaData::Protected },
	{ "pageDown()", &slot_4, QMetaData::Protected },
	{ "pageUp()", &slot_5, QMetaData::Protected },
	{ "edit()", &slot_6, QMetaData::Protected },
	{ "upcoming()", &slot_7, QMetaData::Protected },
	{ "changeRecPriority(int)", &slot_8, QMetaData::Protected },
	{ "applyChannelRecPriorityChange(QString,const QString&)", &slot_9, QMetaData::Protected },
	{ "saveRecPriority()", &slot_10, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"ChannelRecPriority", parentObject,
	slot_tbl, 11,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_ChannelRecPriority.setMetaObject( metaObj );
    return metaObj;
}

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

bool ChannelRecPriority::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: cursorDown(); break;
    case 1: cursorDown((bool)static_QUType_bool.get(_o+1)); break;
    case 2: cursorUp(); break;
    case 3: cursorUp((bool)static_QUType_bool.get(_o+1)); break;
    case 4: pageDown(); break;
    case 5: pageUp(); break;
    case 6: edit(); break;
    case 7: upcoming(); break;
    case 8: changeRecPriority((int)static_QUType_int.get(_o+1)); break;
    case 9: applyChannelRecPriorityChange((QString)static_QUType_QString.get(_o+1),(const QString&)static_QUType_QString.get(_o+2)); break;
    case 10: saveRecPriority(); break;
    default:
	return MythDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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