/**************************************************************************** ** CBall meta object code from reading C++ file 'lines.h' ** ** Created: Sat Jan 5 21:51:38 2008 ** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.0.3 edited Mar 18 10:45 $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #undef QT_NO_COMPAT #include "lines.h" #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 19) #error "This file was generated using the moc from 3.0.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 *CBall::className() const { return "CBall"; } QMetaObject *CBall::metaObj = 0; static QMetaObjectCleanUp cleanUp_CBall; #ifndef QT_NO_TRANSLATION QString CBall::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "CBall", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString CBall::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "CBall", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* CBall::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QFrame::staticMetaObject(); static const QUMethod slot_0 = {"timeOut", 0, 0 }; static const QMetaData slot_tbl[] = { { "timeOut()", &slot_0, QMetaData::Private } }; static const QUParameter param_signal_0[] = { { "num", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod signal_0 = {"SendRequest", 1, param_signal_0 }; static const QMetaData signal_tbl[] = { { "SendRequest(int)", &signal_0, QMetaData::Private } }; metaObj = QMetaObject::new_metaobject( "CBall", parentObject, slot_tbl, 1, signal_tbl, 1, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_CBall.setMetaObject( metaObj ); return metaObj; } void* CBall::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "CBall" ) ) return (CBall*)this; return QFrame::qt_cast( clname ); } // SIGNAL SendRequest void CBall::SendRequest( int t0 ) { activate_signal( staticMetaObject()->signalOffset() + 0, t0 ); } bool CBall::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: timeOut(); break; default: return QFrame::qt_invoke( _id, _o ); } return TRUE; } bool CBall::qt_emit( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->signalOffset() ) { case 0: SendRequest(static_QUType_int.get(_o+1)); break; default: return QFrame::qt_emit(_id,_o); } return TRUE; } #ifndef QT_NO_PROPERTIES bool CBall::qt_property( int _id, int _f, QVariant* _v) { return QFrame::qt_property( _id, _f, _v); } #endif // QT_NO_PROPERTIES const char *CGameField::className() const { return "CGameField"; } QMetaObject *CGameField::metaObj = 0; static QMetaObjectCleanUp cleanUp_CGameField; #ifndef QT_NO_TRANSLATION QString CGameField::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "CGameField", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString CGameField::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "CGameField", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* CGameField::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QFrame::staticMetaObject(); static const QUParameter param_slot_0[] = { { "num", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_0 = {"BallRequest", 1, param_slot_0 }; static const QUMethod slot_1 = {"startOver", 0, 0 }; static const QMetaData slot_tbl[] = { { "BallRequest(int)", &slot_0, QMetaData::Private }, { "startOver()", &slot_1, QMetaData::Private } }; static const QUParameter param_signal_0[] = { { "num", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod signal_0 = {"removeBalls", 1, param_signal_0 }; static const QMetaData signal_tbl[] = { { "removeBalls(int)", &signal_0, QMetaData::Protected } }; metaObj = QMetaObject::new_metaobject( "CGameField", parentObject, slot_tbl, 2, signal_tbl, 1, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_CGameField.setMetaObject( metaObj ); return metaObj; } void* CGameField::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "CGameField" ) ) return (CGameField*)this; return QFrame::qt_cast( clname ); } // SIGNAL removeBalls void CGameField::removeBalls( int t0 ) { activate_signal( staticMetaObject()->signalOffset() + 0, t0 ); } bool CGameField::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: BallRequest(static_QUType_int.get(_o+1)); break; case 1: startOver(); break; default: return QFrame::qt_invoke( _id, _o ); } return TRUE; } bool CGameField::qt_emit( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->signalOffset() ) { case 0: removeBalls(static_QUType_int.get(_o+1)); break; default: return QFrame::qt_emit(_id,_o); } return TRUE; } #ifndef QT_NO_PROPERTIES bool CGameField::qt_property( int _id, int _f, QVariant* _v) { return QFrame::qt_property( _id, _f, _v); } #endif // QT_NO_PROPERTIES const char *CMainWnd::className() const { return "CMainWnd"; } QMetaObject *CMainWnd::metaObj = 0; static QMetaObjectCleanUp cleanUp_CMainWnd; #ifndef QT_NO_TRANSLATION QString CMainWnd::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "CMainWnd", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString CMainWnd::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "CMainWnd", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* CMainWnd::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QWidget::staticMetaObject(); static const QUMethod slot_0 = {"clear", 0, 0 }; static const QUParameter param_slot_1[] = { { "num", &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_1 = {"addScore", 1, param_slot_1 }; static const QMetaData slot_tbl[] = { { "clear()", &slot_0, QMetaData::Public }, { "addScore(int)", &slot_1, QMetaData::Public } }; metaObj = QMetaObject::new_metaobject( "CMainWnd", parentObject, slot_tbl, 2, 0, 0, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_CMainWnd.setMetaObject( metaObj ); return metaObj; } void* CMainWnd::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "CMainWnd" ) ) return (CMainWnd*)this; return QWidget::qt_cast( clname ); } bool CMainWnd::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: clear(); break; case 1: addScore(static_QUType_int.get(_o+1)); break; default: return QWidget::qt_invoke( _id, _o ); } return TRUE; } bool CMainWnd::qt_emit( int _id, QUObject* _o ) { return QWidget::qt_emit(_id,_o); } #ifndef QT_NO_PROPERTIES bool CMainWnd::qt_property( int _id, int _f, QVariant* _v) { return QWidget::qt_property( _id, _f, _v); } #endif // QT_NO_PROPERTIES