RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_qwt_abstract_legend.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'qwt_abstract_legend.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "../qwt_abstract_legend.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #include <QtCore/QList>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'qwt_abstract_legend.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.3.2. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
19 #endif
20 
21 QT_BEGIN_MOC_NAMESPACE
23  QByteArrayData data[6];
24  char stringdata[67];
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_QwtAbstractLegend_t, stringdata) + ofs \
29  - idx * sizeof(QByteArrayData)) \
30  )
31 static const qt_meta_stringdata_QwtAbstractLegend_t qt_meta_stringdata_QwtAbstractLegend = {
32  {
33 QT_MOC_LITERAL(0, 0, 17),
34 QT_MOC_LITERAL(1, 18, 12),
35 QT_MOC_LITERAL(2, 31, 0),
36 QT_MOC_LITERAL(3, 32, 8),
37 QT_MOC_LITERAL(4, 41, 20),
38 QT_MOC_LITERAL(5, 62, 4)
39  },
40  "QwtAbstractLegend\0updateLegend\0\0"
41  "itemInfo\0QList<QwtLegendData>\0data"
42 };
43 #undef QT_MOC_LITERAL
44 
45 static const uint qt_meta_data_QwtAbstractLegend[] = {
46 
47  // content:
48  7, // revision
49  0, // classname
50  0, 0, // classinfo
51  1, 14, // methods
52  0, 0, // properties
53  0, 0, // enums/sets
54  0, 0, // constructors
55  0, // flags
56  0, // signalCount
57 
58  // slots: name, argc, parameters, tag, flags
59  1, 2, 19, 2, 0x0a /* Public */,
60 
61  // slots: parameters
62  QMetaType::Void, QMetaType::QVariant, 0x80000000 | 4, 3, 5,
63 
64  0 // eod
65 };
66 
67 void QwtAbstractLegend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  QwtAbstractLegend *_t = static_cast<QwtAbstractLegend *>(_o);
71  switch (_id) {
72  case 0: _t->updateLegend((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
73  default: ;
74  }
75  }
76 }
77 
78 const QMetaObject QwtAbstractLegend::staticMetaObject = {
79  { &QFrame::staticMetaObject, qt_meta_stringdata_QwtAbstractLegend.data,
80  qt_meta_data_QwtAbstractLegend, qt_static_metacall, 0, 0}
81 };
82 
83 
84 const QMetaObject *QwtAbstractLegend::metaObject() const
85 {
86  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
87 }
88 
89 void *QwtAbstractLegend::qt_metacast(const char *_clname)
90 {
91  if (!_clname) return 0;
92  if (!strcmp(_clname, qt_meta_stringdata_QwtAbstractLegend.stringdata))
93  return static_cast<void*>(const_cast< QwtAbstractLegend*>(this));
94  return QFrame::qt_metacast(_clname);
95 }
96 
97 int QwtAbstractLegend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
98 {
99  _id = QFrame::qt_metacall(_c, _id, _a);
100  if (_id < 0)
101  return _id;
102  if (_c == QMetaObject::InvokeMetaMethod) {
103  if (_id < 1)
104  qt_static_metacall(this, _c, _id, _a);
105  _id -= 1;
106  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
107  if (_id < 1)
108  *reinterpret_cast<int*>(_a[0]) = -1;
109  _id -= 1;
110  }
111  return _id;
112 }
113 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)