/****************************************************************************
** KBibEditEntryDlg meta object code from reading C++ file 'kbibeditentrydlg.h'
**
** Created: Thu Oct 4 09:08:18 2007
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.7   edited Oct 19 16:22 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "kbibeditentrydlg.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.7. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *KBibEditEntryDlg::className() const
{
    return "KBibEditEntryDlg";
}

QMetaObject *KBibEditEntryDlg::metaObj = 0;
static QMetaObjectCleanUp cleanUp_KBibEditEntryDlg( "KBibEditEntryDlg", &KBibEditEntryDlg::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* KBibEditEntryDlg::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = KDialogBase::staticMetaObject();
    static const QUMethod slot_0 = {"slotExtraFieldAdd", 0, 0 };
    static const QUMethod slot_1 = {"slotExtraFieldEdit", 0, 0 };
    static const QUMethod slot_2 = {"slotExtraFieldDelete", 0, 0 };
    static const QUParameter param_slot_3[] = {
	{ "item", &static_QUType_ptr, "QListViewItem", QUParameter::In },
	{ "col", &static_QUType_int, 0, QUParameter::In },
	{ "text", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"slotExtraFielItemRenamed", 3, param_slot_3 };
    static const QUMethod slot_4 = {"updateExtraFieldGUI", 0, 0 };
    static const QUMethod slot_5 = {"slotSetModified", 0, 0 };
    static const QUParameter param_slot_6[] = {
	{ "modified", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_6 = {"slotSetModified", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_7 = {"slotEntryTypeChange", 1, param_slot_7 };
    static const QUMethod slot_8 = {"slotCreateKey", 0, 0 };
    static const QUMethod slot_9 = {"slotLockKey", 0, 0 };
    static const QUMethod slot_10 = {"slotTabChanged", 0, 0 };
    static const QUMethod slot_11 = {"slotCancel", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "slotExtraFieldAdd()", &slot_0, QMetaData::Private },
	{ "slotExtraFieldEdit()", &slot_1, QMetaData::Private },
	{ "slotExtraFieldDelete()", &slot_2, QMetaData::Private },
	{ "slotExtraFielItemRenamed(QListViewItem*,int,const QString&)", &slot_3, QMetaData::Private },
	{ "updateExtraFieldGUI()", &slot_4, QMetaData::Private },
	{ "slotSetModified()", &slot_5, QMetaData::Private },
	{ "slotSetModified(bool)", &slot_6, QMetaData::Private },
	{ "slotEntryTypeChange(int)", &slot_7, QMetaData::Public },
	{ "slotCreateKey()", &slot_8, QMetaData::Public },
	{ "slotLockKey()", &slot_9, QMetaData::Public },
	{ "slotTabChanged()", &slot_10, QMetaData::Public },
	{ "slotCancel()", &slot_11, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"KBibEditEntryDlg", parentObject,
	slot_tbl, 12,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_KBibEditEntryDlg.setMetaObject( metaObj );
    return metaObj;
}

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

bool KBibEditEntryDlg::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotExtraFieldAdd(); break;
    case 1: slotExtraFieldEdit(); break;
    case 2: slotExtraFieldDelete(); break;
    case 3: slotExtraFielItemRenamed((QListViewItem*)static_QUType_ptr.get(_o+1),(int)static_QUType_int.get(_o+2),(const QString&)static_QUType_QString.get(_o+3)); break;
    case 4: updateExtraFieldGUI(); break;
    case 5: slotSetModified(); break;
    case 6: slotSetModified((bool)static_QUType_bool.get(_o+1)); break;
    case 7: slotEntryTypeChange((int)static_QUType_int.get(_o+1)); break;
    case 8: slotCreateKey(); break;
    case 9: slotLockKey(); break;
    case 10: slotTabChanged(); break;
    case 11: slotCancel(); break;
    default:
	return KDialogBase::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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