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

QMetaObject *ManualBox::metaObj = 0;
static QMetaObjectCleanUp cleanUp_ManualBox( "ManualBox", &ManualBox::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* ManualBox::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = MythDialog::staticMetaObject();
    static const QUMethod slot_0 = {"timeout", 0, 0 };
    static const QUMethod slot_1 = {"refreshTimeout", 0, 0 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"textChanged", 1, param_slot_2 };
    static const QUMethod slot_3 = {"startClicked", 0, 0 };
    static const QUMethod slot_4 = {"stopClicked", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "timeout()", &slot_0, QMetaData::Protected },
	{ "refreshTimeout()", &slot_1, QMetaData::Protected },
	{ "textChanged(const QString&)", &slot_2, QMetaData::Protected },
	{ "startClicked()", &slot_3, QMetaData::Protected },
	{ "stopClicked()", &slot_4, QMetaData::Protected }
    };
    static const QUMethod signal_0 = {"dismissWindow", 0, 0 };
    static const QMetaData signal_tbl[] = {
	{ "dismissWindow()", &signal_0, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"ManualBox", parentObject,
	slot_tbl, 5,
	signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_ManualBox.setMetaObject( metaObj );
    return metaObj;
}

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

// SIGNAL dismissWindow
void ManualBox::dismissWindow()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

bool ManualBox::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: timeout(); break;
    case 1: refreshTimeout(); break;
    case 2: textChanged((const QString&)static_QUType_QString.get(_o+1)); break;
    case 3: startClicked(); break;
    case 4: stopClicked(); break;
    default:
	return MythDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool ManualBox::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: dismissWindow(); break;
    default:
	return MythDialog::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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