[1f4adec] | 1 | /**************************************************************************** |
---|
| 2 | ** Meta object code from reading C++ file 'recentlyusedmenu.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/recentlyusedmenu.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 'recentlyusedmenu.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__RecentlyUsedMenu_t { |
---|
| 22 | QByteArrayData data[8]; |
---|
| 23 | char stringdata[108]; |
---|
| 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__RecentlyUsedMenu_t, stringdata) + ofs \ |
---|
| 28 | - idx * sizeof(QByteArrayData)) \ |
---|
| 29 | ) |
---|
| 30 | static const qt_meta_stringdata_qpdfview__RecentlyUsedMenu_t qt_meta_stringdata_qpdfview__RecentlyUsedMenu = { |
---|
| 31 | { |
---|
| 32 | QT_MOC_LITERAL(0, 0, 26), |
---|
| 33 | QT_MOC_LITERAL(1, 27, 13), |
---|
| 34 | QT_MOC_LITERAL(2, 41, 0), |
---|
| 35 | QT_MOC_LITERAL(3, 42, 8), |
---|
| 36 | QT_MOC_LITERAL(4, 51, 17), |
---|
| 37 | QT_MOC_LITERAL(5, 69, 8), |
---|
| 38 | QT_MOC_LITERAL(6, 78, 6), |
---|
| 39 | QT_MOC_LITERAL(7, 85, 22) |
---|
| 40 | }, |
---|
| 41 | "qpdfview::RecentlyUsedMenu\0openTriggered\0" |
---|
| 42 | "\0filePath\0on_open_triggered\0QAction*\0" |
---|
| 43 | "action\0on_clearList_triggered" |
---|
| 44 | }; |
---|
| 45 | #undef QT_MOC_LITERAL |
---|
| 46 | |
---|
[1f4adec] | 47 | static const uint qt_meta_data_qpdfview__RecentlyUsedMenu[] = { |
---|
| 48 | |
---|
| 49 | // content: |
---|
[3d95845] | 50 | 7, // revision |
---|
[1f4adec] | 51 | 0, // classname |
---|
| 52 | 0, 0, // classinfo |
---|
| 53 | 3, 14, // methods |
---|
| 54 | 0, 0, // properties |
---|
| 55 | 0, 0, // enums/sets |
---|
| 56 | 0, 0, // constructors |
---|
| 57 | 0, // flags |
---|
| 58 | 1, // signalCount |
---|
| 59 | |
---|
[3d95845] | 60 | // signals: name, argc, parameters, tag, flags |
---|
| 61 | 1, 1, 29, 2, 0x06 /* Public */, |
---|
[1f4adec] | 62 | |
---|
[3d95845] | 63 | // slots: name, argc, parameters, tag, flags |
---|
| 64 | 4, 1, 32, 2, 0x09 /* Protected */, |
---|
| 65 | 7, 0, 35, 2, 0x09 /* Protected */, |
---|
[1f4adec] | 66 | |
---|
[3d95845] | 67 | // signals: parameters |
---|
| 68 | QMetaType::Void, QMetaType::QString, 3, |
---|
| 69 | |
---|
| 70 | // slots: parameters |
---|
| 71 | QMetaType::Void, 0x80000000 | 5, 6, |
---|
| 72 | QMetaType::Void, |
---|
[1f4adec] | 73 | |
---|
[3d95845] | 74 | 0 // eod |
---|
[1f4adec] | 75 | }; |
---|
| 76 | |
---|
| 77 | void qpdfview::RecentlyUsedMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
| 78 | { |
---|
| 79 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 80 | RecentlyUsedMenu *_t = static_cast<RecentlyUsedMenu *>(_o); |
---|
| 81 | switch (_id) { |
---|
| 82 | case 0: _t->openTriggered((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
| 83 | case 1: _t->on_open_triggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break; |
---|
| 84 | case 2: _t->on_clearList_triggered(); break; |
---|
| 85 | default: ; |
---|
| 86 | } |
---|
[3d95845] | 87 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
| 88 | switch (_id) { |
---|
| 89 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
---|
| 90 | case 1: |
---|
| 91 | switch (*reinterpret_cast<int*>(_a[1])) { |
---|
| 92 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
---|
| 93 | case 0: |
---|
| 94 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break; |
---|
| 95 | } |
---|
| 96 | break; |
---|
| 97 | } |
---|
| 98 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
| 99 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
| 100 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
| 101 | { |
---|
| 102 | typedef void (RecentlyUsedMenu::*_t)(const QString & ); |
---|
| 103 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RecentlyUsedMenu::openTriggered)) { |
---|
| 104 | *result = 0; |
---|
| 105 | } |
---|
| 106 | } |
---|
[1f4adec] | 107 | } |
---|
| 108 | } |
---|
| 109 | |
---|
| 110 | const QMetaObject qpdfview::RecentlyUsedMenu::staticMetaObject = { |
---|
[3d95845] | 111 | { &QMenu::staticMetaObject, qt_meta_stringdata_qpdfview__RecentlyUsedMenu.data, |
---|
| 112 | qt_meta_data_qpdfview__RecentlyUsedMenu, qt_static_metacall, 0, 0} |
---|
[1f4adec] | 113 | }; |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | const QMetaObject *qpdfview::RecentlyUsedMenu::metaObject() const |
---|
| 117 | { |
---|
[3d95845] | 118 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
[1f4adec] | 119 | } |
---|
| 120 | |
---|
| 121 | void *qpdfview::RecentlyUsedMenu::qt_metacast(const char *_clname) |
---|
| 122 | { |
---|
| 123 | if (!_clname) return 0; |
---|
[3d95845] | 124 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__RecentlyUsedMenu.stringdata)) |
---|
[1f4adec] | 125 | return static_cast<void*>(const_cast< RecentlyUsedMenu*>(this)); |
---|
| 126 | return QMenu::qt_metacast(_clname); |
---|
| 127 | } |
---|
| 128 | |
---|
| 129 | int qpdfview::RecentlyUsedMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 130 | { |
---|
| 131 | _id = QMenu::qt_metacall(_c, _id, _a); |
---|
| 132 | if (_id < 0) |
---|
| 133 | return _id; |
---|
| 134 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 135 | if (_id < 3) |
---|
| 136 | qt_static_metacall(this, _c, _id, _a); |
---|
| 137 | _id -= 3; |
---|
[3d95845] | 138 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
| 139 | if (_id < 3) |
---|
| 140 | qt_static_metacall(this, _c, _id, _a); |
---|
| 141 | _id -= 3; |
---|
[1f4adec] | 142 | } |
---|
| 143 | return _id; |
---|
| 144 | } |
---|
| 145 | |
---|
| 146 | // SIGNAL 0 |
---|
| 147 | void qpdfview::RecentlyUsedMenu::openTriggered(const QString & _t1) |
---|
| 148 | { |
---|
| 149 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
| 150 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
| 151 | } |
---|
| 152 | QT_END_MOC_NAMESPACE |
---|