moc_configuratorhelper.cpp 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'configuratorhelper.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include <memory>
  9. #include "../../../../Logger/log4qt/helpers/configuratorhelper.h"
  10. #include <QtCore/qbytearray.h>
  11. #include <QtCore/qmetatype.h>
  12. #if !defined(Q_MOC_OUTPUT_REVISION)
  13. #error "The header file 'configuratorhelper.h' doesn't include <QObject>."
  14. #elif Q_MOC_OUTPUT_REVISION != 67
  15. #error "This file was generated using the moc from 5.14.2. It"
  16. #error "cannot be used with the include files from this version of Qt."
  17. #error "(The moc has changed too much.)"
  18. #endif
  19. QT_BEGIN_MOC_NAMESPACE
  20. QT_WARNING_PUSH
  21. QT_WARNING_DISABLE_DEPRECATED
  22. struct qt_meta_stringdata_Log4Qt__ConfiguratorHelper_t {
  23. QByteArrayData data[6];
  24. char stringdata0[96];
  25. };
  26. #define QT_MOC_LITERAL(idx, ofs, len) \
  27. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  28. qptrdiff(offsetof(qt_meta_stringdata_Log4Qt__ConfiguratorHelper_t, stringdata0) + ofs \
  29. - idx * sizeof(QByteArrayData)) \
  30. )
  31. static const qt_meta_stringdata_Log4Qt__ConfiguratorHelper_t qt_meta_stringdata_Log4Qt__ConfiguratorHelper = {
  32. {
  33. QT_MOC_LITERAL(0, 0, 26), // "Log4Qt::ConfiguratorHelper"
  34. QT_MOC_LITERAL(1, 27, 24), // "configurationFileChanged"
  35. QT_MOC_LITERAL(2, 52, 0), // ""
  36. QT_MOC_LITERAL(3, 53, 9), // "rFileName"
  37. QT_MOC_LITERAL(4, 63, 5), // "error"
  38. QT_MOC_LITERAL(5, 69, 26) // "doConfigurationFileChanged"
  39. },
  40. "Log4Qt::ConfiguratorHelper\0"
  41. "configurationFileChanged\0\0rFileName\0"
  42. "error\0doConfigurationFileChanged"
  43. };
  44. #undef QT_MOC_LITERAL
  45. static const uint qt_meta_data_Log4Qt__ConfiguratorHelper[] = {
  46. // content:
  47. 8, // revision
  48. 0, // classname
  49. 0, 0, // classinfo
  50. 2, 14, // methods
  51. 0, 0, // properties
  52. 0, 0, // enums/sets
  53. 0, 0, // constructors
  54. 0, // flags
  55. 1, // signalCount
  56. // signals: name, argc, parameters, tag, flags
  57. 1, 2, 24, 2, 0x06 /* Public */,
  58. // slots: name, argc, parameters, tag, flags
  59. 5, 1, 29, 2, 0x08 /* Private */,
  60. // signals: parameters
  61. QMetaType::Void, QMetaType::QString, QMetaType::Bool, 3, 4,
  62. // slots: parameters
  63. QMetaType::Void, QMetaType::QString, 3,
  64. 0 // eod
  65. };
  66. void Log4Qt::ConfiguratorHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  67. {
  68. if (_c == QMetaObject::InvokeMetaMethod) {
  69. auto *_t = static_cast<ConfiguratorHelper *>(_o);
  70. Q_UNUSED(_t)
  71. switch (_id) {
  72. case 0: _t->configurationFileChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
  73. case 1: _t->doConfigurationFileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  74. default: ;
  75. }
  76. } else if (_c == QMetaObject::IndexOfMethod) {
  77. int *result = reinterpret_cast<int *>(_a[0]);
  78. {
  79. using _t = void (ConfiguratorHelper::*)(const QString & , bool );
  80. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfiguratorHelper::configurationFileChanged)) {
  81. *result = 0;
  82. return;
  83. }
  84. }
  85. }
  86. }
  87. QT_INIT_METAOBJECT const QMetaObject Log4Qt::ConfiguratorHelper::staticMetaObject = { {
  88. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  89. qt_meta_stringdata_Log4Qt__ConfiguratorHelper.data,
  90. qt_meta_data_Log4Qt__ConfiguratorHelper,
  91. qt_static_metacall,
  92. nullptr,
  93. nullptr
  94. } };
  95. const QMetaObject *Log4Qt::ConfiguratorHelper::metaObject() const
  96. {
  97. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  98. }
  99. void *Log4Qt::ConfiguratorHelper::qt_metacast(const char *_clname)
  100. {
  101. if (!_clname) return nullptr;
  102. if (!strcmp(_clname, qt_meta_stringdata_Log4Qt__ConfiguratorHelper.stringdata0))
  103. return static_cast<void*>(this);
  104. return QObject::qt_metacast(_clname);
  105. }
  106. int Log4Qt::ConfiguratorHelper::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  107. {
  108. _id = QObject::qt_metacall(_c, _id, _a);
  109. if (_id < 0)
  110. return _id;
  111. if (_c == QMetaObject::InvokeMetaMethod) {
  112. if (_id < 2)
  113. qt_static_metacall(this, _c, _id, _a);
  114. _id -= 2;
  115. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  116. if (_id < 2)
  117. *reinterpret_cast<int*>(_a[0]) = -1;
  118. _id -= 2;
  119. }
  120. return _id;
  121. }
  122. // SIGNAL 0
  123. void Log4Qt::ConfiguratorHelper::configurationFileChanged(const QString & _t1, bool _t2)
  124. {
  125. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  126. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  127. }
  128. QT_WARNING_POP
  129. QT_END_MOC_NAMESPACE