moc_xtoolbuttonex.cpp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'xtoolbuttonex.h'
  3. **
  4. ** Created: Mon Apr 22 11:49:49 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/xtoolbuttonex.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'xtoolbuttonex.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_XToolButtonEx[] = {
  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. 15, 14, 14, 14, 0x05,
  31. 0 // eod
  32. };
  33. static const char qt_meta_stringdata_XToolButtonEx[] = {
  34. "XToolButtonEx\0\0signalLabelPress(XToolButtonEx*)\0"
  35. };
  36. void XToolButtonEx::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. XToolButtonEx *_t = static_cast<XToolButtonEx *>(_o);
  41. switch (_id) {
  42. case 0: _t->signalLabelPress((*reinterpret_cast< XToolButtonEx*(*)>(_a[1]))); break;
  43. default: ;
  44. }
  45. }
  46. }
  47. const QMetaObjectExtraData XToolButtonEx::staticMetaObjectExtraData = {
  48. 0, qt_static_metacall
  49. };
  50. const QMetaObject XToolButtonEx::staticMetaObject = {
  51. { &QToolButton::staticMetaObject, qt_meta_stringdata_XToolButtonEx,
  52. qt_meta_data_XToolButtonEx, &staticMetaObjectExtraData }
  53. };
  54. #ifdef Q_NO_DATA_RELOCATION
  55. const QMetaObject &XToolButtonEx::getStaticMetaObject() { return staticMetaObject; }
  56. #endif //Q_NO_DATA_RELOCATION
  57. const QMetaObject *XToolButtonEx::metaObject() const
  58. {
  59. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  60. }
  61. void *XToolButtonEx::qt_metacast(const char *_clname)
  62. {
  63. if (!_clname) return 0;
  64. if (!strcmp(_clname, qt_meta_stringdata_XToolButtonEx))
  65. return static_cast<void*>(const_cast< XToolButtonEx*>(this));
  66. return QToolButton::qt_metacast(_clname);
  67. }
  68. int XToolButtonEx::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  69. {
  70. _id = QToolButton::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 XToolButtonEx::signalLabelPress(XToolButtonEx * _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