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

QMetaObject *CustomEdit::metaObj = 0;
static QMetaObjectCleanUp cleanUp_CustomEdit( "CustomEdit", &CustomEdit::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* CustomEdit::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 = {"recordClicked", 0, 0 };
    static const QUMethod slot_6 = {"storeClicked", 0, 0 };
    static const QUMethod slot_7 = {"cancelClicked", 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 },
	{ "recordClicked()", &slot_5, QMetaData::Protected },
	{ "storeClicked()", &slot_6, QMetaData::Protected },
	{ "cancelClicked()", &slot_7, QMetaData::Protected }
    };
    static const QUMethod signal_0 = {"dismissWindow", 0, 0 };
    static const QMetaData signal_tbl[] = {
	{ "dismissWindow()", &signal_0, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"CustomEdit", parentObject,
	slot_tbl, 8,
	signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_CustomEdit.setMetaObject( metaObj );
    return metaObj;
}

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

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

bool CustomEdit::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: recordClicked(); break;
    case 6: storeClicked(); break;
    case 7: cancelClicked(); break;
    default:
	return MythDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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