PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_logging.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'logging.hpp'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "../../../pv/logging.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'logging.hpp' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.5.1. 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 
20 QT_BEGIN_MOC_NAMESPACE
22  QByteArrayData data[4];
23  char stringdata0[27];
24 };
25 #define QT_MOC_LITERAL(idx, ofs, len) \
26  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27  qptrdiff(offsetof(qt_meta_stringdata_pv__Logging_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 11), // "pv::Logging"
33 QT_MOC_LITERAL(1, 12, 11), // "logged_text"
34 QT_MOC_LITERAL(2, 24, 0), // ""
35 QT_MOC_LITERAL(3, 25, 1) // "s"
36 
37  },
38  "pv::Logging\0logged_text\0\0s"
39 };
40 #undef QT_MOC_LITERAL
41 
42 static const uint qt_meta_data_pv__Logging[] = {
43 
44  // content:
45  7, // revision
46  0, // classname
47  0, 0, // classinfo
48  1, 14, // methods
49  0, 0, // properties
50  0, 0, // enums/sets
51  0, 0, // constructors
52  0, // flags
53  1, // signalCount
54 
55  // signals: name, argc, parameters, tag, flags
56  1, 1, 19, 2, 0x06 /* Public */,
57 
58  // signals: parameters
59  QMetaType::Void, QMetaType::QString, 3,
60 
61  0 // eod
62 };
63 
64 void pv::Logging::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
65 {
66  if (_c == QMetaObject::InvokeMetaMethod) {
67  Logging *_t = static_cast<Logging *>(_o);
68  Q_UNUSED(_t)
69  switch (_id) {
70  case 0: _t->logged_text((*reinterpret_cast< QString(*)>(_a[1]))); break;
71  default: ;
72  }
73  } else if (_c == QMetaObject::IndexOfMethod) {
74  int *result = reinterpret_cast<int *>(_a[0]);
75  void **func = reinterpret_cast<void **>(_a[1]);
76  {
77  typedef void (Logging::*_t)(QString );
78  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Logging::logged_text)) {
79  *result = 0;
80  }
81  }
82  }
83 }
84 
85 const QMetaObject pv::Logging::staticMetaObject = {
86  { &QObject::staticMetaObject, qt_meta_stringdata_pv__Logging.data,
87  qt_meta_data_pv__Logging, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
88 };
89 
90 
91 const QMetaObject *pv::Logging::metaObject() const
92 {
93  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
94 }
95 
96 void *pv::Logging::qt_metacast(const char *_clname)
97 {
98  if (!_clname) return Q_NULLPTR;
99  if (!strcmp(_clname, qt_meta_stringdata_pv__Logging.stringdata0))
100  return static_cast<void*>(const_cast< Logging*>(this));
101  if (!strcmp(_clname, "GlobalSettingsInterface"))
102  return static_cast< GlobalSettingsInterface*>(const_cast< Logging*>(this));
103  return QObject::qt_metacast(_clname);
104 }
105 
106 int pv::Logging::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 < 1)
113  qt_static_metacall(this, _c, _id, _a);
114  _id -= 1;
115  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116  if (_id < 1)
117  *reinterpret_cast<int*>(_a[0]) = -1;
118  _id -= 1;
119  }
120  return _id;
121 }
122 
123 // SIGNAL 0
124 void pv::Logging::logged_text(QString _t1)
125 {
126  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
127  QMetaObject::activate(this, &staticMetaObject, 0, _a);
128 }
129 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_pv__Logging[]
Definition: moc_logging.cpp:42
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_logging.cpp:25
void logged_text(QString s)
static const qt_meta_stringdata_pv__Logging_t qt_meta_stringdata_pv__Logging
Definition: moc_logging.cpp:30