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

QMetaObject *textproperties::metaObj = 0;
static QMetaObjectCleanUp cleanUp_textproperties( "textproperties", &textproperties::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* textproperties::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QDialog::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ "b", &static_QUType_ptr, "txt", QUParameter::In }
    };
    static const QUMethod slot_0 = {"setElement", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ "val", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"setLayerName", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"checkInput", 1, param_slot_2 };
    static const QUMethod slot_3 = {"updateElement", 0, 0 };
    static const QUMethod slot_4 = {"DoneToPolygon", 0, 0 };
    static const QUMethod slot_5 = {"DoneDeleteText", 0, 0 };
    static const QUMethod slot_6 = {"reject", 0, 0 };
    static const QUMethod slot_7 = {"accept", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "setElement(txt*)", &slot_0, QMetaData::Public },
	{ "setLayerName(int)", &slot_1, QMetaData::Public },
	{ "checkInput(const QString&)", &slot_2, QMetaData::Public },
	{ "updateElement()", &slot_3, QMetaData::Public },
	{ "DoneToPolygon()", &slot_4, QMetaData::Public },
	{ "DoneDeleteText()", &slot_5, QMetaData::Public },
	{ "reject()", &slot_6, QMetaData::Protected },
	{ "accept()", &slot_7, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"textproperties", parentObject,
	slot_tbl, 8,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_textproperties.setMetaObject( metaObj );
    return metaObj;
}

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

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

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

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

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