[1f4adec] | 1 | /**************************************************************************** |
---|
| 2 | ** Meta object code from reading C++ file 'recentlyclosedmenu.h' |
---|
| 3 | ** |
---|
[3d95845] | 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2) |
---|
[1f4adec] | 5 | ** |
---|
| 6 | ** WARNING! All changes made in this file will be lost! |
---|
| 7 | *****************************************************************************/ |
---|
| 8 | |
---|
| 9 | #include "../sources/recentlyclosedmenu.h" |
---|
[3d95845] | 10 | #include <QtCore/qbytearray.h> |
---|
| 11 | #include <QtCore/qmetatype.h> |
---|
[1f4adec] | 12 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
| 13 | #error "The header file 'recentlyclosedmenu.h' doesn't include <QObject>." |
---|
[3d95845] | 14 | #elif Q_MOC_OUTPUT_REVISION != 67 |
---|
| 15 | #error "This file was generated using the moc from 5.3.2. It" |
---|
[1f4adec] | 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 |
---|
[3d95845] | 21 | struct qt_meta_stringdata_qpdfview__RecentlyClosedMenu_t { |
---|
| 22 | QByteArrayData data[9]; |
---|
| 23 | char stringdata[157]; |
---|
| 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_qpdfview__RecentlyClosedMenu_t, stringdata) + ofs \ |
---|
| 28 | - idx * sizeof(QByteArrayData)) \ |
---|
| 29 | ) |
---|
| 30 | static const qt_meta_stringdata_qpdfview__RecentlyClosedMenu_t qt_meta_stringdata_qpdfview__RecentlyClosedMenu = { |
---|
| 31 | { |
---|
| 32 | QT_MOC_LITERAL(0, 0, 28), |
---|
| 33 | QT_MOC_LITERAL(1, 29, 18), |
---|
| 34 | QT_MOC_LITERAL(2, 48, 0), |
---|
| 35 | QT_MOC_LITERAL(3, 49, 8), |
---|
| 36 | QT_MOC_LITERAL(4, 58, 9), |
---|
| 37 | QT_MOC_LITERAL(5, 68, 21), |
---|
| 38 | QT_MOC_LITERAL(6, 90, 20), |
---|
| 39 | QT_MOC_LITERAL(7, 111, 22), |
---|
| 40 | QT_MOC_LITERAL(8, 134, 22) |
---|
| 41 | }, |
---|
| 42 | "qpdfview::RecentlyClosedMenu\0" |
---|
| 43 | "tabActionTriggered\0\0QAction*\0tabAction\0" |
---|
| 44 | "triggerFirstTabAction\0triggerLastTabAction\0" |
---|
| 45 | "on_tabAction_triggered\0on_clearList_triggered" |
---|
| 46 | }; |
---|
| 47 | #undef QT_MOC_LITERAL |
---|
| 48 | |
---|
[1f4adec] | 49 | static const uint qt_meta_data_qpdfview__RecentlyClosedMenu[] = { |
---|
| 50 | |
---|
| 51 | // content: |
---|
[3d95845] | 52 | 7, // revision |
---|
[1f4adec] | 53 | 0, // classname |
---|
| 54 | 0, 0, // classinfo |
---|
| 55 | 5, 14, // methods |
---|
| 56 | 0, 0, // properties |
---|
| 57 | 0, 0, // enums/sets |
---|
| 58 | 0, 0, // constructors |
---|
| 59 | 0, // flags |
---|
| 60 | 1, // signalCount |
---|
| 61 | |
---|
[3d95845] | 62 | // signals: name, argc, parameters, tag, flags |
---|
| 63 | 1, 1, 39, 2, 0x06 /* Public */, |
---|
[1f4adec] | 64 | |
---|
[3d95845] | 65 | // slots: name, argc, parameters, tag, flags |
---|
| 66 | 5, 0, 42, 2, 0x0a /* Public */, |
---|
| 67 | 6, 0, 43, 2, 0x0a /* Public */, |
---|
| 68 | 7, 1, 44, 2, 0x09 /* Protected */, |
---|
| 69 | 8, 0, 47, 2, 0x09 /* Protected */, |
---|
[1f4adec] | 70 | |
---|
[3d95845] | 71 | // signals: parameters |
---|
| 72 | QMetaType::Void, 0x80000000 | 3, 4, |
---|
| 73 | |
---|
| 74 | // slots: parameters |
---|
| 75 | QMetaType::Void, |
---|
| 76 | QMetaType::Void, |
---|
| 77 | QMetaType::Void, 0x80000000 | 3, 4, |
---|
| 78 | QMetaType::Void, |
---|
[1f4adec] | 79 | |
---|
[3d95845] | 80 | 0 // eod |
---|
[1f4adec] | 81 | }; |
---|
| 82 | |
---|
| 83 | void qpdfview::RecentlyClosedMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
| 84 | { |
---|
| 85 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 86 | RecentlyClosedMenu *_t = static_cast<RecentlyClosedMenu *>(_o); |
---|
| 87 | switch (_id) { |
---|
| 88 | case 0: _t->tabActionTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break; |
---|
| 89 | case 1: _t->triggerFirstTabAction(); break; |
---|
| 90 | case 2: _t->triggerLastTabAction(); break; |
---|
| 91 | case 3: _t->on_tabAction_triggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break; |
---|
| 92 | case 4: _t->on_clearList_triggered(); break; |
---|
| 93 | default: ; |
---|
| 94 | } |
---|
[3d95845] | 95 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
| 96 | switch (_id) { |
---|
| 97 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
---|
| 98 | case 0: |
---|
| 99 | switch (*reinterpret_cast<int*>(_a[1])) { |
---|
| 100 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
---|
| 101 | case 0: |
---|
| 102 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break; |
---|
| 103 | } |
---|
| 104 | break; |
---|
| 105 | case 3: |
---|
| 106 | switch (*reinterpret_cast<int*>(_a[1])) { |
---|
| 107 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
---|
| 108 | case 0: |
---|
| 109 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break; |
---|
| 110 | } |
---|
| 111 | break; |
---|
| 112 | } |
---|
| 113 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
| 114 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
| 115 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
| 116 | { |
---|
| 117 | typedef void (RecentlyClosedMenu::*_t)(QAction * ); |
---|
| 118 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RecentlyClosedMenu::tabActionTriggered)) { |
---|
| 119 | *result = 0; |
---|
| 120 | } |
---|
| 121 | } |
---|
[1f4adec] | 122 | } |
---|
| 123 | } |
---|
| 124 | |
---|
| 125 | const QMetaObject qpdfview::RecentlyClosedMenu::staticMetaObject = { |
---|
[3d95845] | 126 | { &QMenu::staticMetaObject, qt_meta_stringdata_qpdfview__RecentlyClosedMenu.data, |
---|
| 127 | qt_meta_data_qpdfview__RecentlyClosedMenu, qt_static_metacall, 0, 0} |
---|
[1f4adec] | 128 | }; |
---|
| 129 | |
---|
| 130 | |
---|
| 131 | const QMetaObject *qpdfview::RecentlyClosedMenu::metaObject() const |
---|
| 132 | { |
---|
[3d95845] | 133 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
[1f4adec] | 134 | } |
---|
| 135 | |
---|
| 136 | void *qpdfview::RecentlyClosedMenu::qt_metacast(const char *_clname) |
---|
| 137 | { |
---|
| 138 | if (!_clname) return 0; |
---|
[3d95845] | 139 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__RecentlyClosedMenu.stringdata)) |
---|
[1f4adec] | 140 | return static_cast<void*>(const_cast< RecentlyClosedMenu*>(this)); |
---|
| 141 | return QMenu::qt_metacast(_clname); |
---|
| 142 | } |
---|
| 143 | |
---|
| 144 | int qpdfview::RecentlyClosedMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 145 | { |
---|
| 146 | _id = QMenu::qt_metacall(_c, _id, _a); |
---|
| 147 | if (_id < 0) |
---|
| 148 | return _id; |
---|
| 149 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 150 | if (_id < 5) |
---|
| 151 | qt_static_metacall(this, _c, _id, _a); |
---|
| 152 | _id -= 5; |
---|
[3d95845] | 153 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
| 154 | if (_id < 5) |
---|
| 155 | qt_static_metacall(this, _c, _id, _a); |
---|
| 156 | _id -= 5; |
---|
[1f4adec] | 157 | } |
---|
| 158 | return _id; |
---|
| 159 | } |
---|
| 160 | |
---|
| 161 | // SIGNAL 0 |
---|
| 162 | void qpdfview::RecentlyClosedMenu::tabActionTriggered(QAction * _t1) |
---|
| 163 | { |
---|
| 164 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
| 165 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
| 166 | } |
---|
| 167 | QT_END_MOC_NAMESPACE |
---|