/**************************************************************************** ** List meta object code from reading C++ file 'list.h' ** ** Created: Sat May 1 18:57:24 2004 ** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.2.3 edited Nov 10 11:18 $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #undef QT_NO_COMPAT #include "list.h" #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) #error "This file was generated using the moc from 3.2.3. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif const char *List::className() const { return "List"; } QMetaObject *List::metaObj = 0; static QMetaObjectCleanUp cleanUp_List( "List", &List::staticMetaObject ); #ifndef QT_NO_TRANSLATION QString List::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "List", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString List::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "List", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* List::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QListBox::staticMetaObject(); static const QUParameter param_slot_0[] = { { "qitem", &static_QUType_ptr, "QListBoxItem", QUParameter::In } }; static const QUMethod slot_0 = {"action", 1, param_slot_0 }; static const QUParameter param_slot_1[] = { { "qitem", &static_QUType_ptr, "QListBoxItem", QUParameter::In } }; static const QUMethod slot_1 = {"handleSelection", 1, param_slot_1 }; static const QUMethod slot_2 = {"getInfo", 0, 0 }; static const QUParameter param_slot_3[] = { { "val", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_3 = {"moveSelection", 1, param_slot_3 }; static const QUMethod slot_4 = {"select", 0, 0 }; static const QUMethod slot_5 = {"back", 0, 0 }; static const QMetaData slot_tbl[] = { { "action(QListBoxItem*)", &slot_0, QMetaData::Private }, { "handleSelection(QListBoxItem*)", &slot_1, QMetaData::Private }, { "getInfo()", &slot_2, QMetaData::Private }, { "moveSelection(int)", &slot_3, QMetaData::Public }, { "select()", &slot_4, QMetaData::Public }, { "back()", &slot_5, QMetaData::Public } }; static const QUParameter param_signal_0[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod signal_0 = {"runningExtern", 1, param_signal_0 }; static const QUParameter param_signal_1[] = { { 0, &static_QUType_QString, 0, QUParameter::In } }; static const QUMethod signal_1 = {"setInfo", 1, param_signal_1 }; static const QUParameter param_signal_2[] = { { 0, &static_QUType_QString, 0, QUParameter::In } }; static const QUMethod signal_2 = {"setLCD", 1, param_signal_2 }; static const QMetaData signal_tbl[] = { { "runningExtern(bool)", &signal_0, QMetaData::Public }, { "setInfo(QString)", &signal_1, QMetaData::Public }, { "setLCD(QString)", &signal_2, QMetaData::Public } }; metaObj = QMetaObject::new_metaobject( "List", parentObject, slot_tbl, 6, signal_tbl, 3, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_List.setMetaObject( metaObj ); return metaObj; } void* List::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "List" ) ) return this; return QListBox::qt_cast( clname ); } // SIGNAL runningExtern void List::runningExtern( bool t0 ) { activate_signal_bool( staticMetaObject()->signalOffset() + 0, t0 ); } // SIGNAL setInfo void List::setInfo( QString t0 ) { activate_signal( staticMetaObject()->signalOffset() + 1, t0 ); } // SIGNAL setLCD void List::setLCD( QString t0 ) { activate_signal( staticMetaObject()->signalOffset() + 2, t0 ); } bool List::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: action((QListBoxItem*)static_QUType_ptr.get(_o+1)); break; case 1: handleSelection((QListBoxItem*)static_QUType_ptr.get(_o+1)); break; case 2: getInfo(); break; case 3: moveSelection((int)static_QUType_int.get(_o+1)); break; case 4: select(); break; case 5: back(); break; default: return QListBox::qt_invoke( _id, _o ); } return TRUE; } bool List::qt_emit( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->signalOffset() ) { case 0: runningExtern((bool)static_QUType_bool.get(_o+1)); break; case 1: setInfo((QString)static_QUType_QString.get(_o+1)); break; case 2: setLCD((QString)static_QUType_QString.get(_o+1)); break; default: return QListBox::qt_emit(_id,_o); } return TRUE; } #ifndef QT_NO_PROPERTIES bool List::qt_property( int id, int f, QVariant* v) { return QListBox::qt_property( id, f, v); } bool List::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } #endif // QT_NO_PROPERTIES