Typica is a free program for professional coffee roasters. https://typica.us
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

moc_qextserialenumerator.cpp 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'qextserialenumerator.h'
  3. **
  4. ** Created: Thu Jul 3 12:13:29 2014
  5. ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4)
  6. **
  7. ** WARNING! All changes made in this file will be lost!
  8. *****************************************************************************/
  9. #include "3rdparty/qextserialport/src/qextserialenumerator.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'qextserialenumerator.h' doesn't include <QObject>."
  12. #elif Q_MOC_OUTPUT_REVISION != 63
  13. #error "This file was generated using the moc from 4.8.4. It"
  14. #error "cannot be used with the include files from this version of Qt."
  15. #error "(The moc has changed too much.)"
  16. #endif
  17. QT_BEGIN_MOC_NAMESPACE
  18. static const uint qt_meta_data_QextSerialEnumerator[] = {
  19. // content:
  20. 6, // revision
  21. 0, // classname
  22. 0, 0, // classinfo
  23. 2, 14, // methods
  24. 0, 0, // properties
  25. 0, 0, // enums/sets
  26. 0, 0, // constructors
  27. 0, // flags
  28. 2, // signalCount
  29. // signals: signature, parameters, type, tag, flags
  30. 27, 22, 21, 21, 0x05,
  31. 58, 22, 21, 21, 0x05,
  32. 0 // eod
  33. };
  34. static const char qt_meta_stringdata_QextSerialEnumerator[] = {
  35. "QextSerialEnumerator\0\0info\0"
  36. "deviceDiscovered(QextPortInfo)\0"
  37. "deviceRemoved(QextPortInfo)\0"
  38. };
  39. void QextSerialEnumerator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  40. {
  41. if (_c == QMetaObject::InvokeMetaMethod) {
  42. Q_ASSERT(staticMetaObject.cast(_o));
  43. QextSerialEnumerator *_t = static_cast<QextSerialEnumerator *>(_o);
  44. switch (_id) {
  45. case 0: _t->deviceDiscovered((*reinterpret_cast< const QextPortInfo(*)>(_a[1]))); break;
  46. case 1: _t->deviceRemoved((*reinterpret_cast< const QextPortInfo(*)>(_a[1]))); break;
  47. default: ;
  48. }
  49. }
  50. }
  51. const QMetaObjectExtraData QextSerialEnumerator::staticMetaObjectExtraData = {
  52. 0, qt_static_metacall
  53. };
  54. const QMetaObject QextSerialEnumerator::staticMetaObject = {
  55. { &QObject::staticMetaObject, qt_meta_stringdata_QextSerialEnumerator,
  56. qt_meta_data_QextSerialEnumerator, &staticMetaObjectExtraData }
  57. };
  58. #ifdef Q_NO_DATA_RELOCATION
  59. const QMetaObject &QextSerialEnumerator::getStaticMetaObject() { return staticMetaObject; }
  60. #endif //Q_NO_DATA_RELOCATION
  61. const QMetaObject *QextSerialEnumerator::metaObject() const
  62. {
  63. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  64. }
  65. void *QextSerialEnumerator::qt_metacast(const char *_clname)
  66. {
  67. if (!_clname) return 0;
  68. if (!strcmp(_clname, qt_meta_stringdata_QextSerialEnumerator))
  69. return static_cast<void*>(const_cast< QextSerialEnumerator*>(this));
  70. return QObject::qt_metacast(_clname);
  71. }
  72. int QextSerialEnumerator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  73. {
  74. _id = QObject::qt_metacall(_c, _id, _a);
  75. if (_id < 0)
  76. return _id;
  77. if (_c == QMetaObject::InvokeMetaMethod) {
  78. if (_id < 2)
  79. qt_static_metacall(this, _c, _id, _a);
  80. _id -= 2;
  81. }
  82. return _id;
  83. }
  84. // SIGNAL 0
  85. void QextSerialEnumerator::deviceDiscovered(const QextPortInfo & _t1)
  86. {
  87. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  88. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  89. }
  90. // SIGNAL 1
  91. void QextSerialEnumerator::deviceRemoved(const QextPortInfo & _t1)
  92. {
  93. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  94. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  95. }
  96. QT_END_MOC_NAMESPACE