/****************************************************************************
** cellrefproperties meta object code from reading C++ file 'cellrefproperties.h'
**
** Created: Fri Jan 25 17:52:17 2008
**      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 "cellrefproperties.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 *cellrefproperties::className() const
{
    return "cellrefproperties";
}

QMetaObject *cellrefproperties::metaObj = 0;
static QMetaObjectCleanUp cleanUp_cellrefproperties( "cellrefproperties", &cellrefproperties::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* cellrefproperties::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QDialog::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ "b", &static_QUType_ptr, "cellref", QUParameter::In }
    };
    static const QUMethod slot_0 = {"setElement", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"checkInput", 1, param_slot_1 };
    static const QUMethod slot_2 = {"updateElement", 0, 0 };
    static const QUMethod slot_3 = {"DoneFlat", 0, 0 };
    static const QUMethod slot_4 = {"DoneDeleteCell", 0, 0 };
    static const QUMethod slot_5 = {"reject", 0, 0 };
    static const QUMethod slot_6 = {"accept", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "setElement(cellref*)", &slot_0, QMetaData::Public },
	{ "checkInput(const QString&)", &slot_1, QMetaData::Public },
	{ "updateElement()", &slot_2, QMetaData::Public },
	{ "DoneFlat()", &slot_3, QMetaData::Public },
	{ "DoneDeleteCell()", &slot_4, QMetaData::Public },
	{ "reject()", &slot_5, QMetaData::Protected },
	{ "accept()", &slot_6, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"cellrefproperties", parentObject,
	slot_tbl, 7,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_cellrefproperties.setMetaObject( metaObj );
    return metaObj;
}

void* cellrefproperties::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "cellrefproperties" ) )
	return this;
    if ( !qstrcmp( clname, "Ui::cellrefpropertiesdialog" ) )
	return (Ui::cellrefpropertiesdialog*)this;
    return QDialog::qt_cast( clname );
}

bool cellrefproperties::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setElement((cellref*)static_QUType_ptr.get(_o+1)); break;
    case 1: checkInput((const QString&)static_QUType_QString.get(_o+1)); break;
    case 2: updateElement(); break;
    case 3: DoneFlat(); break;
    case 4: DoneDeleteCell(); break;
    case 5: reject(); break;
    case 6: accept(); break;
    default:
	return QDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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