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

QMetaObject *ProgramRecPriority::metaObj = 0;
static QMetaObjectCleanUp cleanUp_ProgramRecPriority( "ProgramRecPriority", &ProgramRecPriority::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* ProgramRecPriority::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 QUParameter param_slot_6[] = {
	{ "howMuch", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_6 = {"changeRecPriority", 1, param_slot_6 };
    static const QUMethod slot_7 = {"saveRecPriority", 0, 0 };
    static const QUMethod slot_8 = {"edit", 0, 0 };
    static const QUMethod slot_9 = {"customEdit", 0, 0 };
    static const QUMethod slot_10 = {"remove", 0, 0 };
    static const QUMethod slot_11 = {"deactivate", 0, 0 };
    static const QUMethod slot_12 = {"upcoming", 0, 0 };
    static const QUMethod slot_13 = {"details", 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 },
	{ "changeRecPriority(int)", &slot_6, QMetaData::Protected },
	{ "saveRecPriority()", &slot_7, QMetaData::Protected },
	{ "edit()", &slot_8, QMetaData::Protected },
	{ "customEdit()", &slot_9, QMetaData::Protected },
	{ "remove()", &slot_10, QMetaData::Protected },
	{ "deactivate()", &slot_11, QMetaData::Protected },
	{ "upcoming()", &slot_12, QMetaData::Protected },
	{ "details()", &slot_13, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"ProgramRecPriority", parentObject,
	slot_tbl, 14,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_ProgramRecPriority.setMetaObject( metaObj );
    return metaObj;
}

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

bool ProgramRecPriority::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: changeRecPriority((int)static_QUType_int.get(_o+1)); break;
    case 7: saveRecPriority(); break;
    case 8: edit(); break;
    case 9: customEdit(); break;
    case 10: remove(); break;
    case 11: deactivate(); break;
    case 12: upcoming(); break;
    case 13: details(); break;
    default:
	return MythDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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