| 1 |  |  | /**************************************************************************** | 
    
    | 2 |  |  | ** Meta object code from reading C++ file 'bodytreewidget.hh' | 
    
    | 3 |  |  | ** | 
    
    | 4 |  |  | ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.7) | 
    
    | 5 |  |  | ** | 
    
    | 6 |  |  | ** WARNING! All changes made in this file will be lost! | 
    
    | 7 |  |  | *****************************************************************************/ | 
    
    | 8 |  |  |  | 
    
    | 9 |  |  | #include "../../../../../include/gepetto/gui/bodytreewidget.hh" | 
    
    | 10 |  |  | #if !defined(Q_MOC_OUTPUT_REVISION) | 
    
    | 11 |  |  | #error "The header file 'bodytreewidget.hh' doesn't include <QObject>." | 
    
    | 12 |  |  | #elif Q_MOC_OUTPUT_REVISION != 63 | 
    
    | 13 |  |  | #error "This file was generated using the moc from 4.8.7. 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 |  |  |  | 
    
    | 18 |  |  | QT_BEGIN_MOC_NAMESPACE | 
    
    | 19 |  |  | static const uint qt_meta_data_gepetto__gui__BodyTreeWidget[] = { | 
    
    | 20 |  |  |  | 
    
    | 21 |  |  |  // content: | 
    
    | 22 |  |  |        6,       // revision | 
    
    | 23 |  |  |        0,       // classname | 
    
    | 24 |  |  |        0,    0, // classinfo | 
    
    | 25 |  |  |        6,   14, // methods | 
    
    | 26 |  |  |        0,    0, // properties | 
    
    | 27 |  |  |        0,    0, // enums/sets | 
    
    | 28 |  |  |        0,    0, // constructors | 
    
    | 29 |  |  |        0,       // flags | 
    
    | 30 |  |  |        1,       // signalCount | 
    
    | 31 |  |  |  | 
    
    | 32 |  |  |  // signals: signature, parameters, type, tag, flags | 
    
    | 33 |  |  |       36,   30,   29,   29, 0x05, | 
    
    | 34 |  |  |  | 
    
    | 35 |  |  |  // slots: signature, parameters, type, tag, flags | 
    
    | 36 |  |  |       75,   66,   29,   29, 0x0a, | 
    
    | 37 |  |  |      101,   66,   29,   29, 0x0a, | 
    
    | 38 |  |  |      152,   29,  131,   29, 0x0a, | 
    
    | 39 |  |  |      173,  169,   29,   29, 0x09, | 
    
    | 40 |  |  |      216,  199,   29,   29, 0x09, | 
    
    | 41 |  |  |  | 
    
    | 42 |  |  |        0        // eod | 
    
    | 43 |  |  | }; | 
    
    | 44 |  |  |  | 
    
    | 45 |  |  | static const char qt_meta_stringdata_gepetto__gui__BodyTreeWidget[] = { | 
    
    | 46 |  |  |     "gepetto::gui::BodyTreeWidget\0\0event\0" | 
    
    | 47 |  |  |     "bodySelected(SelectionEvent*)\0bodyName\0" | 
    
    | 48 |  |  |     "selectBodyByName(QString)\0" | 
    
    | 49 |  |  |     "selectBodyByName(std::string)\0" | 
    
    | 50 |  |  |     "QList<BodyTreeItem*>\0selectedBodies()\0" | 
    
    | 51 |  |  |     "pos\0customContextMenu(QPoint)\0" | 
    
    | 52 |  |  |     "current,previous\0" | 
    
    | 53 |  |  |     "currentChanged(QModelIndex,QModelIndex)\0" | 
    
    | 54 |  |  | }; | 
    
    | 55 |  |  |  | 
    
    | 56 |  |  | void gepetto::gui::BodyTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | 
    
    | 57 |  |  | { | 
    
    | 58 |  |  |     if (_c == QMetaObject::InvokeMetaMethod) { | 
    
    | 59 |  |  |         Q_ASSERT(staticMetaObject.cast(_o)); | 
    
    | 60 |  |  |         BodyTreeWidget *_t = static_cast<BodyTreeWidget *>(_o); | 
    
    | 61 |  |  |         switch (_id) { | 
    
    | 62 |  |  |         case 0: _t->bodySelected((*reinterpret_cast< SelectionEvent*(*)>(_a[1]))); break; | 
    
    | 63 |  |  |         case 1: _t->selectBodyByName((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
    
    | 64 |  |  |         case 2: _t->selectBodyByName((*reinterpret_cast< const std::string(*)>(_a[1]))); break; | 
    
    | 65 |  |  |         case 3: { QList<BodyTreeItem*> _r = _t->selectedBodies(); | 
    
    | 66 |  |  |             if (_a[0]) *reinterpret_cast< QList<BodyTreeItem*>*>(_a[0]) = _r; }  break; | 
    
    | 67 |  |  |         case 4: _t->customContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; | 
    
    | 68 |  |  |         case 5: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break; | 
    
    | 69 |  |  |         default: ; | 
    
    | 70 |  |  |         } | 
    
    | 71 |  |  |     } | 
    
    | 72 |  |  | } | 
    
    | 73 |  |  |  | 
    
    | 74 |  |  | const QMetaObjectExtraData gepetto::gui::BodyTreeWidget::staticMetaObjectExtraData = { | 
    
    | 75 |  |  |     0,  qt_static_metacall | 
    
    | 76 |  |  | }; | 
    
    | 77 |  |  |  | 
    
    | 78 |  |  | const QMetaObject gepetto::gui::BodyTreeWidget::staticMetaObject = { | 
    
    | 79 |  |  |     { &QWidget::staticMetaObject, qt_meta_stringdata_gepetto__gui__BodyTreeWidget, | 
    
    | 80 |  |  |       qt_meta_data_gepetto__gui__BodyTreeWidget, &staticMetaObjectExtraData } | 
    
    | 81 |  |  | }; | 
    
    | 82 |  |  |  | 
    
    | 83 |  |  | #ifdef Q_NO_DATA_RELOCATION | 
    
    | 84 |  |  | const QMetaObject &gepetto::gui::BodyTreeWidget::getStaticMetaObject() { return staticMetaObject; } | 
    
    | 85 |  |  | #endif //Q_NO_DATA_RELOCATION | 
    
    | 86 |  |  |  | 
    
    | 87 |  |  | const QMetaObject *gepetto::gui::BodyTreeWidget::metaObject() const | 
    
    | 88 |  |  | { | 
    
    | 89 |  |  |     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; | 
    
    | 90 |  |  | } | 
    
    | 91 |  |  |  | 
    
    | 92 |  |  | void *gepetto::gui::BodyTreeWidget::qt_metacast(const char *_clname) | 
    
    | 93 |  |  | { | 
    
    | 94 |  |  |     if (!_clname) return 0; | 
    
    | 95 |  |  |     if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__BodyTreeWidget)) | 
    
    | 96 |  |  |         return static_cast<void*>(const_cast< BodyTreeWidget*>(this)); | 
    
    | 97 |  |  |     return QWidget::qt_metacast(_clname); | 
    
    | 98 |  |  | } | 
    
    | 99 |  |  |  | 
    
    | 100 |  |  | int gepetto::gui::BodyTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | 
    
    | 101 |  |  | { | 
    
    | 102 |  |  |     _id = QWidget::qt_metacall(_c, _id, _a); | 
    
    | 103 |  |  |     if (_id < 0) | 
    
    | 104 |  |  |         return _id; | 
    
    | 105 |  |  |     if (_c == QMetaObject::InvokeMetaMethod) { | 
    
    | 106 |  |  |         if (_id < 6) | 
    
    | 107 |  |  |             qt_static_metacall(this, _c, _id, _a); | 
    
    | 108 |  |  |         _id -= 6; | 
    
    | 109 |  |  |     } | 
    
    | 110 |  |  |     return _id; | 
    
    | 111 |  |  | } | 
    
    | 112 |  |  |  | 
    
    | 113 |  |  | // SIGNAL 0 | 
    
    | 114 |  |  | void gepetto::gui::BodyTreeWidget::bodySelected(SelectionEvent * _t1) | 
    
    | 115 |  |  | { | 
    
    | 116 |  |  |     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | 
    
    | 117 |  |  |     QMetaObject::activate(this, &staticMetaObject, 0, _a); | 
    
    | 118 |  |  | } | 
    
    | 119 |  |  | QT_END_MOC_NAMESPACE |