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

QMetaObject *pathproperties::metaObj = 0;
static QMetaObjectCleanUp cleanUp_pathproperties( "pathproperties", &pathproperties::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* pathproperties::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QDialog::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ "b", &static_QUType_ptr, "path", 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 QUMethod slot_2 = {"setCoordinates", 0, 0 };
    static const QUParameter param_slot_3[] = {
	{ 0, &static_QUType_ptr, "QTableWidgetItem", QUParameter::In }
    };
    static const QUMethod slot_3 = {"setEdit", 1, param_slot_3 };
    static const QUMethod slot_4 = {"DoneToPolygon", 0, 0 };
    static const QUMethod slot_5 = {"DoneCloseToPolygon", 0, 0 };
    static const QUMethod slot_6 = {"DoneDeletePath", 0, 0 };
    static const QUParameter param_slot_7[] = {
	{ "b", &static_QUType_ptr, "QTableWidgetItem", QUParameter::In },
	{ "c", &static_QUType_ptr, "QTableWidgetItem", QUParameter::In }
    };
    static const QUMethod slot_7 = {"updateItem", 2, param_slot_7 };
    static const QUMethod slot_8 = {"reject", 0, 0 };
    static const QUMethod slot_9 = {"accept", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "setElement(path*)", &slot_0, QMetaData::Public },
	{ "setLayerName(int)", &slot_1, QMetaData::Public },
	{ "setCoordinates()", &slot_2, QMetaData::Public },
	{ "setEdit(QTableWidgetItem*)", &slot_3, QMetaData::Public },
	{ "DoneToPolygon()", &slot_4, QMetaData::Public },
	{ "DoneCloseToPolygon()", &slot_5, QMetaData::Public },
	{ "DoneDeletePath()", &slot_6, QMetaData::Public },
	{ "updateItem(QTableWidgetItem*,QTableWidgetItem*)", &slot_7, QMetaData::Public },
	{ "reject()", &slot_8, QMetaData::Protected },
	{ "accept()", &slot_9, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"pathproperties", parentObject,
	slot_tbl, 10,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_pathproperties.setMetaObject( metaObj );
    return metaObj;
}

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

bool pathproperties::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setElement((path*)static_QUType_ptr.get(_o+1)); break;
    case 1: setLayerName((int)static_QUType_int.get(_o+1)); break;
    case 2: setCoordinates(); break;
    case 3: setEdit((QTableWidgetItem*)static_QUType_ptr.get(_o+1)); break;
    case 4: DoneToPolygon(); break;
    case 5: DoneCloseToPolygon(); break;
    case 6: DoneDeletePath(); break;
    case 7: updateItem((QTableWidgetItem*)static_QUType_ptr.get(_o+1),(QTableWidgetItem*)static_QUType_ptr.get(_o+2)); break;
    case 8: reject(); break;
    case 9: accept(); break;
    default:
	return QDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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