moc_test.cpp
资源名称:GUI.rar [点击查看]
上传用户:jiangfa
上传日期:2022-05-14
资源大小:1651k
文件大小:2k
源码类别:
GDI/图象编程
开发平台:
Unix_Linux
- /****************************************************************************
- ** test meta object code from reading C++ file 'test.h'
- **
- ** Created: Sun Jun 25 21:06:10 2006
- ** by: The Qt MOC ($Id: qt/src/moc/moc.y 2.3.7 edited 2002-11-27 $)
- **
- ** WARNING! All changes made in this file will be lost!
- *****************************************************************************/
- #if !defined(Q_MOC_OUTPUT_REVISION)
- #define Q_MOC_OUTPUT_REVISION 9
- #elif Q_MOC_OUTPUT_REVISION != 9
- #error "Moc format conflict - please regenerate all moc files"
- #endif
- #include "test.h"
- #include <qmetaobject.h>
- #include <qapplication.h>
- #ifdef QWS
- #include <qobjectdict.h>
- #endif
- const char *test::className() const
- {
- return "test";
- }
- QMetaObject *test::metaObj = 0;
- #ifdef QWS
- static class test_metaObj_Unloader {
- public:
- ~test_metaObj_Unloader()
- {
- if ( objectDict )
- objectDict->remove( "test" );
- }
- } test_metaObj_unloader;
- #endif
- void test::initMetaObject()
- {
- if ( metaObj )
- return;
- if ( qstrcmp(QDialog::className(), "QDialog") != 0 )
- badSuperclassWarning("test","QDialog");
- (void) staticMetaObject();
- }
- #ifndef QT_NO_TRANSLATION
- QString test::tr(const char* s)
- {
- return qApp->translate( "test", s, 0 );
- }
- QString test::tr(const char* s, const char * c)
- {
- return qApp->translate( "test", s, c );
- }
- #endif // QT_NO_TRANSLATION
- QMetaObject* test::staticMetaObject()
- {
- if ( metaObj )
- return metaObj;
- (void) QDialog::staticMetaObject();
- #ifndef QT_NO_PROPERTIES
- #endif // QT_NO_PROPERTIES
- typedef void (test::*m1_t0)();
- typedef void (QObject::*om1_t0)();
- m1_t0 v1_0 = &test::languageChange;
- om1_t0 ov1_0 = (om1_t0)v1_0;
- QMetaData *slot_tbl = QMetaObject::new_metadata(1);
- QMetaData::Access *slot_tbl_access = QMetaObject::new_metaaccess(1);
- slot_tbl[0].name = "languageChange()";
- slot_tbl[0].ptr = (QMember)ov1_0;
- slot_tbl_access[0] = QMetaData::Protected;
- metaObj = QMetaObject::new_metaobject(
- "test", "QDialog",
- slot_tbl, 1,
- 0, 0,
- #ifndef QT_NO_PROPERTIES
- 0, 0,
- 0, 0,
- #endif // QT_NO_PROPERTIES
- 0, 0 );
- metaObj->set_slot_access( slot_tbl_access );
- #ifndef QT_NO_PROPERTIES
- #endif // QT_NO_PROPERTIES
- return metaObj;
- }