/**************************************************************************** ** QVectorMap meta object code from reading C++ file 'QVectorMap.hpp' ** ** Created: Mon May 15 10:35:02 2006 ** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.5 edited Sep 2 14:41 $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #undef QT_NO_COMPAT #include "QVectorMap.hpp" #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) #error "This file was generated using the moc from 3.3.5. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif const char *QVectorMap::className() const { return "QVectorMap"; } QMetaObject *QVectorMap::metaObj = 0; static QMetaObjectCleanUp cleanUp_QVectorMap( "QVectorMap", &QVectorMap::staticMetaObject ); #ifndef QT_NO_TRANSLATION QString QVectorMap::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "QVectorMap", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString QVectorMap::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "QVectorMap", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* QVectorMap::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QWidget::staticMetaObject(); static const QUParameter param_slot_0[] = { { 0, &static_QUType_ptr, "Vector2D", QUParameter::In } }; static const QUMethod slot_0 = {"add", 1, param_slot_0 }; static const QUMethod slot_1 = {"reset", 0, 0 }; static const QUParameter param_slot_2[] = { { 0, &static_QUType_ptr, "DrawMode", QUParameter::In } }; static const QUMethod slot_2 = {"setMode", 1, param_slot_2 }; static const QUParameter param_slot_3[] = { { "scale", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_3 = {"setScale", 1, param_slot_3 }; static const QMetaData slot_tbl[] = { { "add(const Vector2D&)", &slot_0, QMetaData::Public }, { "reset()", &slot_1, QMetaData::Public }, { "setMode(DrawMode)", &slot_2, QMetaData::Public }, { "setScale(int)", &slot_3, QMetaData::Public } }; metaObj = QMetaObject::new_metaobject( "QVectorMap", parentObject, slot_tbl, 4, 0, 0, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_QVectorMap.setMetaObject( metaObj ); return metaObj; } void* QVectorMap::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "QVectorMap" ) ) return this; return QWidget::qt_cast( clname ); } bool QVectorMap::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: add((const Vector2D&)*((const Vector2D*)static_QUType_ptr.get(_o+1))); break; case 1: reset(); break; case 2: setMode((DrawMode)(*((DrawMode*)static_QUType_ptr.get(_o+1)))); break; case 3: setScale((int)static_QUType_int.get(_o+1)); break; default: return QWidget::qt_invoke( _id, _o ); } return TRUE; } bool QVectorMap::qt_emit( int _id, QUObject* _o ) { return QWidget::qt_emit(_id,_o); } #ifndef QT_NO_PROPERTIES bool QVectorMap::qt_property( int id, int f, QVariant* v) { return QWidget::qt_property( id, f, v); } bool QVectorMap::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } #endif // QT_NO_PROPERTIES