📄 moc_serial.cpp
字号:
/****************************************************************************** Serial meta object code from reading C++ file 'serial.h'**** WARNING! All changes made in this file will be lost!*****************************************************************************/#undef QT_NO_COMPAT#include "serial.h"#include <qmetaobject.h>#include <qapplication.h>#include <private/qucomextra_p.h>#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)#error "This file was generated using the moc from 3.1.1. It"#error "cannot be used with the include files from this version of Qt."#error "(The moc has changed too much.)"#endifconst char *Serial::className() const{ return "Serial";}QMetaObject *Serial::metaObj = 0;static QMetaObjectCleanUp cleanUp_Serial( "Serial", &Serial::staticMetaObject );#ifndef QT_NO_TRANSLATIONQString Serial::tr( const char *s, const char *c ){ if ( qApp ) return qApp->translate( "Serial", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s );}#ifndef QT_NO_TRANSLATION_UTF8QString Serial::trUtf8( const char *s, const char *c ){ if ( qApp ) return qApp->translate( "Serial", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s );}#endif // QT_NO_TRANSLATION_UTF8#endif // QT_NO_TRANSLATIONQMetaObject* Serial::staticMetaObject(){ if ( metaObj ) return metaObj; QMetaObject* parentObject = Serial_Form::staticMetaObject(); static const QUMethod slot_0 = {"OpenFile", 0, 0 }; static const QUMethod slot_1 = {"SendFile", 0, 0 }; static const QUMethod slot_2 = {"SaveDiplayData", 0, 0 }; static const QUMethod slot_3 = {"OpenPort", 0, 0 }; static const QUMethod slot_4 = {"ManulSend", 0, 0 }; static const QUMethod slot_5 = {"ClearDisplay", 0, 0 }; static const QUMethod slot_6 = {"AboutShow", 0, 0 }; static const QUParameter param_slot_7[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_7 = {"DatabitsChange", 1, param_slot_7 }; static const QUParameter param_slot_8[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_8 = {"EvenoddChange", 1, param_slot_8 }; static const QUParameter param_slot_9[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_9 = {"SerialportChange", 1, param_slot_9 }; static const QUParameter param_slot_10[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_10 = {"StopbitsChange", 1, param_slot_10 }; static const QUParameter param_slot_11[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_11 = {"BaudrateChange", 1, param_slot_11 }; static const QUMethod slot_12 = {"ReadComPort", 0, 0 }; static const QUMethod slot_13 = {"ModifyPath", 0, 0 }; static const QMetaData slot_tbl[] = { { "OpenFile()", &slot_0, QMetaData::Protected }, { "SendFile()", &slot_1, QMetaData::Protected }, { "SaveDiplayData()", &slot_2, QMetaData::Protected }, { "OpenPort()", &slot_3, QMetaData::Protected }, { "ManulSend()", &slot_4, QMetaData::Protected }, { "ClearDisplay()", &slot_5, QMetaData::Protected }, { "AboutShow()", &slot_6, QMetaData::Protected }, { "DatabitsChange(int)", &slot_7, QMetaData::Protected }, { "EvenoddChange(int)", &slot_8, QMetaData::Protected }, { "SerialportChange(int)", &slot_9, QMetaData::Protected }, { "StopbitsChange(int)", &slot_10, QMetaData::Protected }, { "BaudrateChange(int)", &slot_11, QMetaData::Protected }, { "ReadComPort()", &slot_12, QMetaData::Protected }, { "ModifyPath()", &slot_13, QMetaData::Private } }; metaObj = QMetaObject::new_metaobject( "Serial", parentObject, slot_tbl, 14, 0, 0,#ifndef QT_NO_PROPERTIES 0, 0, 0, 0,#endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_Serial.setMetaObject( metaObj ); return metaObj;}void* Serial::qt_cast( const char* clname ){ if ( !qstrcmp( clname, "Serial" ) ) return this; return Serial_Form::qt_cast( clname );}bool Serial::qt_invoke( int _id, QUObject* _o ){ switch ( _id - staticMetaObject()->slotOffset() ) { case 0: OpenFile(); break; case 1: SendFile(); break; case 2: SaveDiplayData(); break; case 3: OpenPort(); break; case 4: ManulSend(); break; case 5: ClearDisplay(); break; case 6: AboutShow(); break; case 7: DatabitsChange((int)static_QUType_int.get(_o+1)); break; case 8: EvenoddChange((int)static_QUType_int.get(_o+1)); break; case 9: SerialportChange((int)static_QUType_int.get(_o+1)); break; case 10: StopbitsChange((int)static_QUType_int.get(_o+1)); break; case 11: BaudrateChange((int)static_QUType_int.get(_o+1)); break; case 12: ReadComPort(); break; case 13: ModifyPath(); break; default: return Serial_Form::qt_invoke( _id, _o ); } return TRUE;}bool Serial::qt_emit( int _id, QUObject* _o ){ return Serial_Form::qt_emit(_id,_o);}#ifndef QT_NO_PROPERTIESbool Serial::qt_property( int id, int f, QVariant* v){ return Serial_Form::qt_property( id, f, v);}bool Serial::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }#endif // QT_NO_PROPERTIES
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -