/**************************************************************************** ** Meta object code from reading C++ file 'client.h' ** ** Created: Tue Mar 2 14:26:45 2010 ** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../client.h" #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'client.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 61 #error "This file was generated using the moc from 4.5.2. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE static const uint qt_meta_data_Client[] = { // content: 2, // revision 0, // classname 0, 0, // classinfo 6, 12, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors // signals: signature, parameters, type, tag, flags 42, 8, 7, 7, 0x05, 88, 83, 7, 7, 0x05, 117, 108, 7, 7, 0x05, 139, 7, 7, 7, 0x05, // slots: signature, parameters, type, tag, flags 152, 7, 7, 7, 0x0a, 163, 7, 7, 7, 0x0a, 0 // eod }; static const char qt_meta_stringdata_Client[] = { "Client\0\0newData,headData,newDataSize,chan\0" "sendDataDouble(float*,uint32_t*,int,int)\0" "chan\0disableChannel(int)\0msg,type\0" "writeMsg(QString,int)\0closeError()\0" "readData()\0connServer()\0" }; const QMetaObject Client::staticMetaObject = { { &QMainWindow::staticMetaObject, qt_meta_stringdata_Client, qt_meta_data_Client, 0 } }; const QMetaObject *Client::metaObject() const { return &staticMetaObject; } void *Client::qt_metacast(const char *_clname) { if (!_clname) return 0; if (!strcmp(_clname, qt_meta_stringdata_Client)) return static_cast(const_cast< Client*>(this)); return QMainWindow::qt_metacast(_clname); } int Client::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QMainWindow::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: sendDataDouble((*reinterpret_cast< float*(*)>(_a[1])),(*reinterpret_cast< uint32_t*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; case 1: disableChannel((*reinterpret_cast< int(*)>(_a[1]))); break; case 2: writeMsg((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; case 3: closeError(); break; case 4: readData(); break; case 5: connServer(); break; default: ; } _id -= 6; } return _id; } // SIGNAL 0 void Client::sendDataDouble(float * _t1, uint32_t * _t2, int _t3, int _t4) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)), const_cast(reinterpret_cast(&_t4)) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void Client::disableChannel(int _t1) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void Client::writeMsg(QString _t1, int _t2) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; QMetaObject::activate(this, &staticMetaObject, 2, _a); } // SIGNAL 3 void Client::closeError() { QMetaObject::activate(this, &staticMetaObject, 3, 0); } QT_END_MOC_NAMESPACE