/**************************************************************************** ** QCamComboBox meta object code from reading C++ file 'QCamComboBox.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 "QCamComboBox.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 *QCamComboBox::className() const { return "QCamComboBox"; } QMetaObject *QCamComboBox::metaObj = 0; static QMetaObjectCleanUp cleanUp_QCamComboBox( "QCamComboBox", &QCamComboBox::staticMetaObject ); #ifndef QT_NO_TRANSLATION QString QCamComboBox::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "QCamComboBox", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString QCamComboBox::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "QCamComboBox", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* QCamComboBox::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QComboBox::staticMetaObject(); static const QUParameter param_slot_0[] = { { "value", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_0 = {"update", 1, param_slot_0 }; static const QUParameter param_slot_1[] = { { "id", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_1 = {"buttonClicked", 1, param_slot_1 }; static const QMetaData slot_tbl[] = { { "update(int)", &slot_0, QMetaData::Public }, { "buttonClicked(int)", &slot_1, QMetaData::Protected } }; static const QUParameter param_signal_0[] = { { "value", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod signal_0 = {"change", 1, param_signal_0 }; static const QMetaData signal_tbl[] = { { "change(int)", &signal_0, QMetaData::Public } }; metaObj = QMetaObject::new_metaobject( "QCamComboBox", parentObject, slot_tbl, 2, signal_tbl, 1, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_QCamComboBox.setMetaObject( metaObj ); return metaObj; } void* QCamComboBox::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "QCamComboBox" ) ) return this; return QComboBox::qt_cast( clname ); } // SIGNAL change void QCamComboBox::change( int t0 ) { activate_signal( staticMetaObject()->signalOffset() + 0, t0 ); } bool QCamComboBox::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: update((int)static_QUType_int.get(_o+1)); break; case 1: buttonClicked((int)static_QUType_int.get(_o+1)); break; default: return QComboBox::qt_invoke( _id, _o ); } return TRUE; } bool QCamComboBox::qt_emit( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->signalOffset() ) { case 0: change((int)static_QUType_int.get(_o+1)); break; default: return QComboBox::qt_emit(_id,_o); } return TRUE; } #ifndef QT_NO_PROPERTIES bool QCamComboBox::qt_property( int id, int f, QVariant* v) { return QComboBox::qt_property( id, f, v); } bool QCamComboBox::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } #endif // QT_NO_PROPERTIES