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

QMetaObject *ProgLister::metaObj = 0;
static QMetaObjectCleanUp cleanUp_ProgLister( "ProgLister", &ProgLister::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* ProgLister::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 = {"prevView", 0, 0 };
    static const QUMethod slot_5 = {"nextView", 0, 0 };
    static const QUParameter param_slot_6[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_6 = {"setViewFromList", 1, param_slot_6 };
    static const QUMethod slot_7 = {"chooseEditChanged", 0, 0 };
    static const QUMethod slot_8 = {"chooseListBoxChanged", 0, 0 };
    static const QUMethod slot_9 = {"setViewFromEdit", 0, 0 };
    static const QUMethod slot_10 = {"addSearchRecord", 0, 0 };
    static const QUMethod slot_11 = {"deleteKeyword", 0, 0 };
    static const QUMethod slot_12 = {"setViewFromTime", 0, 0 };
    static const QUMethod slot_13 = {"select", 0, 0 };
    static const QUMethod slot_14 = {"edit", 0, 0 };
    static const QUMethod slot_15 = {"customEdit", 0, 0 };
    static const QUMethod slot_16 = {"remove", 0, 0 };
    static const QUMethod slot_17 = {"upcoming", 0, 0 };
    static const QUMethod slot_18 = {"details", 0, 0 };
    static const QUMethod slot_19 = {"chooseView", 0, 0 };
    static const QUMethod slot_20 = {"powerEdit", 0, 0 };
    static const QUMethod slot_21 = {"setViewFromPowerEdit", 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 },
	{ "prevView()", &slot_4, QMetaData::Protected },
	{ "nextView()", &slot_5, QMetaData::Protected },
	{ "setViewFromList(int)", &slot_6, QMetaData::Protected },
	{ "chooseEditChanged()", &slot_7, QMetaData::Protected },
	{ "chooseListBoxChanged()", &slot_8, QMetaData::Protected },
	{ "setViewFromEdit()", &slot_9, QMetaData::Protected },
	{ "addSearchRecord()", &slot_10, QMetaData::Protected },
	{ "deleteKeyword()", &slot_11, QMetaData::Protected },
	{ "setViewFromTime()", &slot_12, QMetaData::Protected },
	{ "select()", &slot_13, QMetaData::Protected },
	{ "edit()", &slot_14, QMetaData::Protected },
	{ "customEdit()", &slot_15, QMetaData::Protected },
	{ "remove()", &slot_16, QMetaData::Protected },
	{ "upcoming()", &slot_17, QMetaData::Protected },
	{ "details()", &slot_18, QMetaData::Protected },
	{ "chooseView()", &slot_19, QMetaData::Protected },
	{ "powerEdit()", &slot_20, QMetaData::Protected },
	{ "setViewFromPowerEdit()", &slot_21, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"ProgLister", parentObject,
	slot_tbl, 22,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_ProgLister.setMetaObject( metaObj );
    return metaObj;
}

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

bool ProgLister::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: prevView(); break;
    case 5: nextView(); break;
    case 6: setViewFromList((int)static_QUType_int.get(_o+1)); break;
    case 7: chooseEditChanged(); break;
    case 8: chooseListBoxChanged(); break;
    case 9: setViewFromEdit(); break;
    case 10: addSearchRecord(); break;
    case 11: deleteKeyword(); break;
    case 12: setViewFromTime(); break;
    case 13: select(); break;
    case 14: edit(); break;
    case 15: customEdit(); break;
    case 16: remove(); break;
    case 17: upcoming(); break;
    case 18: details(); break;
    case 19: chooseView(); break;
    case 20: powerEdit(); break;
    case 21: setViewFromPowerEdit(); break;
    default:
	return MythDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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