General Purpose Geodetic Library
SgGuiQTreeWidgetExt.moc.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'SgGuiQTreeWidgetExt.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include <memory>
10 #include "SgGuiQTreeWidgetExt.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'SgGuiQTreeWidgetExt.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.3. 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
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
25  QByteArrayData data[7];
26  char stringdata0[103];
27 };
28 #define QT_MOC_LITERAL(idx, ofs, len) \
29  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30  qptrdiff(offsetof(qt_meta_stringdata_SgGuiQTreeWidgetExt_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
34  {
35 QT_MOC_LITERAL(0, 0, 19), // "SgGuiQTreeWidgetExt"
36 QT_MOC_LITERAL(1, 20, 12), // "moveUponItem"
37 QT_MOC_LITERAL(2, 33, 0), // ""
38 QT_MOC_LITERAL(3, 34, 16), // "QTreeWidgetItem*"
39 QT_MOC_LITERAL(4, 51, 15), // "Qt::MouseButton"
40 QT_MOC_LITERAL(5, 67, 21), // "Qt::KeyboardModifiers"
41 QT_MOC_LITERAL(6, 89, 13) // "movingStarted"
42 
43  },
44  "SgGuiQTreeWidgetExt\0moveUponItem\0\0"
45  "QTreeWidgetItem*\0Qt::MouseButton\0"
46  "Qt::KeyboardModifiers\0movingStarted"
47 };
48 #undef QT_MOC_LITERAL
49 
50 static const uint qt_meta_data_SgGuiQTreeWidgetExt[] = {
51 
52  // content:
53  8, // revision
54  0, // classname
55  0, 0, // classinfo
56  2, 14, // methods
57  0, 0, // properties
58  0, 0, // enums/sets
59  0, 0, // constructors
60  0, // flags
61  1, // signalCount
62 
63  // signals: name, argc, parameters, tag, flags
64  1, 4, 24, 2, 0x06 /* Public */,
65 
66  // slots: name, argc, parameters, tag, flags
67  6, 2, 33, 2, 0x08 /* Private */,
68 
69  // signals: parameters
70  QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 0x80000000 | 4, 0x80000000 | 5, 2, 2, 2, 2,
71 
72  // slots: parameters
73  QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 2, 2,
74 
75  0 // eod
76 };
77 
78 void SgGuiQTreeWidgetExt::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79 {
80  if (_c == QMetaObject::InvokeMetaMethod) {
81  auto *_t = static_cast<SgGuiQTreeWidgetExt *>(_o);
82  (void)_t;
83  switch (_id) {
84  case 0: _t->moveUponItem((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Qt::MouseButton(*)>(_a[3])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[4]))); break;
85  case 1: _t->movingStarted((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
86  default: ;
87  }
88  } else if (_c == QMetaObject::IndexOfMethod) {
89  int *result = reinterpret_cast<int *>(_a[0]);
90  {
91  using _t = void (SgGuiQTreeWidgetExt::*)(QTreeWidgetItem * , int , Qt::MouseButton , Qt::KeyboardModifiers );
92  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SgGuiQTreeWidgetExt::moveUponItem)) {
93  *result = 0;
94  return;
95  }
96  }
97  }
98 }
99 
100 QT_INIT_METAOBJECT const QMetaObject SgGuiQTreeWidgetExt::staticMetaObject = { {
101  QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
104  qt_static_metacall,
105  nullptr,
106  nullptr
107 } };
108 
109 
110 const QMetaObject *SgGuiQTreeWidgetExt::metaObject() const
111 {
112  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
113 }
114 
115 void *SgGuiQTreeWidgetExt::qt_metacast(const char *_clname)
116 {
117  if (!_clname) return nullptr;
119  return static_cast<void*>(this);
120  return QTreeWidget::qt_metacast(_clname);
121 }
122 
123 int SgGuiQTreeWidgetExt::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
124 {
125  _id = QTreeWidget::qt_metacall(_c, _id, _a);
126  if (_id < 0)
127  return _id;
128  if (_c == QMetaObject::InvokeMetaMethod) {
129  if (_id < 2)
130  qt_static_metacall(this, _c, _id, _a);
131  _id -= 2;
132  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133  if (_id < 2)
134  *reinterpret_cast<int*>(_a[0]) = -1;
135  _id -= 2;
136  }
137  return _id;
138 }
139 
140 // SIGNAL 0
141 void SgGuiQTreeWidgetExt::moveUponItem(QTreeWidgetItem * _t1, int _t2, Qt::MouseButton _t3, Qt::KeyboardModifiers _t4)
142 {
143  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
144  QMetaObject::activate(this, &staticMetaObject, 0, _a);
145 }
146 QT_WARNING_POP
147 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_SgGuiQTreeWidgetExt_t qt_meta_stringdata_SgGuiQTreeWidgetExt
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_SgGuiQTreeWidgetExt[]
void moveUponItem(QTreeWidgetItem *, int, Qt::MouseButton, Qt::KeyboardModifiers)