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

QMetaObject *ProgFinder::metaObj = 0;
static QMetaObjectCleanUp cleanUp_ProgFinder( "ProgFinder", &ProgFinder::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* ProgFinder::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = MythDialog::staticMetaObject();
    static const QUMethod slot_0 = {"update_timeout", 0, 0 };
    static const QUMethod slot_1 = {"escape", 0, 0 };
    static const QUMethod slot_2 = {"cursorLeft", 0, 0 };
    static const QUMethod slot_3 = {"cursorRight", 0, 0 };
    static const QUMethod slot_4 = {"cursorDown", 0, 0 };
    static const QUMethod slot_5 = {"cursorUp", 0, 0 };
    static const QUMethod slot_6 = {"getInfo", 0, 0 };
    static const QUParameter param_slot_7[] = {
	{ "toggle", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_7 = {"getInfo", 1, param_slot_7 };
    static const QUMethod slot_8 = {"showGuide", 0, 0 };
    static const QUMethod slot_9 = {"pageUp", 0, 0 };
    static const QUMethod slot_10 = {"pageDown", 0, 0 };
    static const QUMethod slot_11 = {"pageMiddle", 0, 0 };
    static const QUMethod slot_12 = {"select", 0, 0 };
    static const QUMethod slot_13 = {"customEdit", 0, 0 };
    static const QUMethod slot_14 = {"upcoming", 0, 0 };
    static const QUMethod slot_15 = {"details", 0, 0 };
    static const QUMethod slot_16 = {"quickRecord", 0, 0 };
    static const QUParameter param_slot_17[] = {
	{ "e", &static_QUType_ptr, "QCustomEvent", QUParameter::In }
    };
    static const QUMethod slot_17 = {"customEvent", 1, param_slot_17 };
    static const QMetaData slot_tbl[] = {
	{ "update_timeout()", &slot_0, QMetaData::Private },
	{ "escape()", &slot_1, QMetaData::Private },
	{ "cursorLeft()", &slot_2, QMetaData::Private },
	{ "cursorRight()", &slot_3, QMetaData::Private },
	{ "cursorDown()", &slot_4, QMetaData::Private },
	{ "cursorUp()", &slot_5, QMetaData::Private },
	{ "getInfo()", &slot_6, QMetaData::Private },
	{ "getInfo(bool)", &slot_7, QMetaData::Private },
	{ "showGuide()", &slot_8, QMetaData::Private },
	{ "pageUp()", &slot_9, QMetaData::Private },
	{ "pageDown()", &slot_10, QMetaData::Private },
	{ "pageMiddle()", &slot_11, QMetaData::Private },
	{ "select()", &slot_12, QMetaData::Private },
	{ "customEdit()", &slot_13, QMetaData::Private },
	{ "upcoming()", &slot_14, QMetaData::Private },
	{ "details()", &slot_15, QMetaData::Private },
	{ "quickRecord()", &slot_16, QMetaData::Private },
	{ "customEvent(QCustomEvent*)", &slot_17, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
	"ProgFinder", parentObject,
	slot_tbl, 18,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_ProgFinder.setMetaObject( metaObj );
    return metaObj;
}

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

bool ProgFinder::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: update_timeout(); break;
    case 1: escape(); break;
    case 2: cursorLeft(); break;
    case 3: cursorRight(); break;
    case 4: cursorDown(); break;
    case 5: cursorUp(); break;
    case 6: getInfo(); break;
    case 7: getInfo((bool)static_QUType_bool.get(_o+1)); break;
    case 8: showGuide(); break;
    case 9: pageUp(); break;
    case 10: pageDown(); break;
    case 11: pageMiddle(); break;
    case 12: select(); break;
    case 13: customEdit(); break;
    case 14: upcoming(); break;
    case 15: details(); break;
    case 16: quickRecord(); break;
    case 17: customEvent((QCustomEvent*)static_QUType_ptr.get(_o+1)); break;
    default:
	return MythDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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