moc_xlabel.cpp 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'xlabel.h'
  3. **
  4. ** Created: Mon Apr 22 11:49:55 2019
  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 "../../../../sncprojects/lib/customui/xlabel.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'xlabel.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_XLabel[] = {
  19. // content:
  20. 6, // revision
  21. 0, // classname
  22. 0, 0, // classinfo
  23. 1, 14, // methods
  24. 0, 0, // properties
  25. 0, 0, // enums/sets
  26. 0, 0, // constructors
  27. 0, // flags
  28. 1, // signalCount
  29. // signals: signature, parameters, type, tag, flags
  30. 8, 7, 7, 7, 0x05,
  31. 0 // eod
  32. };
  33. static const char qt_meta_stringdata_XLabel[] = {
  34. "XLabel\0\0signalLabelPress(XLabel*)\0"
  35. };
  36. void XLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  37. {
  38. if (_c == QMetaObject::InvokeMetaMethod) {
  39. Q_ASSERT(staticMetaObject.cast(_o));
  40. XLabel *_t = static_cast<XLabel *>(_o);
  41. switch (_id) {
  42. case 0: _t->signalLabelPress((*reinterpret_cast< XLabel*(*)>(_a[1]))); break;
  43. default: ;
  44. }
  45. }
  46. }
  47. const QMetaObjectExtraData XLabel::staticMetaObjectExtraData = {
  48. 0, qt_static_metacall
  49. };
  50. const QMetaObject XLabel::staticMetaObject = {
  51. { &QWidget::staticMetaObject, qt_meta_stringdata_XLabel,
  52. qt_meta_data_XLabel, &staticMetaObjectExtraData }
  53. };
  54. #ifdef Q_NO_DATA_RELOCATION
  55. const QMetaObject &XLabel::getStaticMetaObject() { return staticMetaObject; }
  56. #endif //Q_NO_DATA_RELOCATION
  57. const QMetaObject *XLabel::metaObject() const
  58. {
  59. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  60. }
  61. void *XLabel::qt_metacast(const char *_clname)
  62. {
  63. if (!_clname) return 0;
  64. if (!strcmp(_clname, qt_meta_stringdata_XLabel))
  65. return static_cast<void*>(const_cast< XLabel*>(this));
  66. return QWidget::qt_metacast(_clname);
  67. }
  68. int XLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  69. {
  70. _id = QWidget::qt_metacall(_c, _id, _a);
  71. if (_id < 0)
  72. return _id;
  73. if (_c == QMetaObject::InvokeMetaMethod) {
  74. if (_id < 1)
  75. qt_static_metacall(this, _c, _id, _a);
  76. _id -= 1;
  77. }
  78. return _id;
  79. }
  80. // SIGNAL 0
  81. void XLabel::signalLabelPress(XLabel * _t1)
  82. {
  83. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  84. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  85. }
  86. QT_END_MOC_NAMESPACE