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

QMetaObject *CustomPriority::metaObj = 0;
static QMetaObjectCleanUp cleanUp_CustomPriority( "CustomPriority", &CustomPriority::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* CustomPriority::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = MythDialog::staticMetaObject();
    static const QUMethod slot_0 = {"ruleChanged", 0, 0 };
    static const QUMethod slot_1 = {"textChanged", 0, 0 };
    static const QUMethod slot_2 = {"clauseChanged", 0, 0 };
    static const QUMethod slot_3 = {"addClicked", 0, 0 };
    static const QUMethod slot_4 = {"testClicked", 0, 0 };
    static const QUMethod slot_5 = {"installClicked", 0, 0 };
    static const QUMethod slot_6 = {"deleteClicked", 0, 0 };
    static const QUMethod slot_7 = {"cancelClicked", 0, 0 };
    static const QUMethod slot_8 = {"testSchedule", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "ruleChanged()", &slot_0, QMetaData::Protected },
	{ "textChanged()", &slot_1, QMetaData::Protected },
	{ "clauseChanged()", &slot_2, QMetaData::Protected },
	{ "addClicked()", &slot_3, QMetaData::Protected },
	{ "testClicked()", &slot_4, QMetaData::Protected },
	{ "installClicked()", &slot_5, QMetaData::Protected },
	{ "deleteClicked()", &slot_6, QMetaData::Protected },
	{ "cancelClicked()", &slot_7, QMetaData::Protected },
	{ "testSchedule()", &slot_8, QMetaData::Protected }
    };
    static const QUMethod signal_0 = {"dismissWindow", 0, 0 };
    static const QMetaData signal_tbl[] = {
	{ "dismissWindow()", &signal_0, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"CustomPriority", parentObject,
	slot_tbl, 9,
	signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_CustomPriority.setMetaObject( metaObj );
    return metaObj;
}

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

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

bool CustomPriority::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: ruleChanged(); break;
    case 1: textChanged(); break;
    case 2: clauseChanged(); break;
    case 3: addClicked(); break;
    case 4: testClicked(); break;
    case 5: installClicked(); break;
    case 6: deleteClicked(); break;
    case 7: cancelClicked(); break;
    case 8: testSchedule(); break;
    default:
	return MythDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool CustomPriority::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 CustomPriority::qt_property( int id, int f, QVariant* v)
{
    return MythDialog::qt_property( id, f, v);
}

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