1 | /**************************************************************************** |
---|
2 | ** Meta object code from reading C++ file 'recentlyusedmenu.h' |
---|
3 | ** |
---|
4 | ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6) |
---|
5 | ** |
---|
6 | ** WARNING! All changes made in this file will be lost! |
---|
7 | *****************************************************************************/ |
---|
8 | |
---|
9 | #include "../sources/recentlyusedmenu.h" |
---|
10 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
11 | #error "The header file 'recentlyusedmenu.h' doesn't include <QObject>." |
---|
12 | #elif Q_MOC_OUTPUT_REVISION != 63 |
---|
13 | #error "This file was generated using the moc from 4.8.6. 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_qpdfview__RecentlyUsedMenu[] = { |
---|
20 | |
---|
21 | // content: |
---|
22 | 6, // revision |
---|
23 | 0, // classname |
---|
24 | 0, 0, // classinfo |
---|
25 | 3, 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 | 37, 28, 27, 27, 0x05, |
---|
34 | |
---|
35 | // slots: signature, parameters, type, tag, flags |
---|
36 | 67, 60, 27, 27, 0x09, |
---|
37 | 95, 27, 27, 27, 0x09, |
---|
38 | |
---|
39 | 0 // eod |
---|
40 | }; |
---|
41 | |
---|
42 | static const char qt_meta_stringdata_qpdfview__RecentlyUsedMenu[] = { |
---|
43 | "qpdfview::RecentlyUsedMenu\0\0filePath\0" |
---|
44 | "openTriggered(QString)\0action\0" |
---|
45 | "on_open_triggered(QAction*)\0" |
---|
46 | "on_clearList_triggered()\0" |
---|
47 | }; |
---|
48 | |
---|
49 | void qpdfview::RecentlyUsedMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
50 | { |
---|
51 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
52 | Q_ASSERT(staticMetaObject.cast(_o)); |
---|
53 | RecentlyUsedMenu *_t = static_cast<RecentlyUsedMenu *>(_o); |
---|
54 | switch (_id) { |
---|
55 | case 0: _t->openTriggered((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
56 | case 1: _t->on_open_triggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break; |
---|
57 | case 2: _t->on_clearList_triggered(); break; |
---|
58 | default: ; |
---|
59 | } |
---|
60 | } |
---|
61 | } |
---|
62 | |
---|
63 | const QMetaObjectExtraData qpdfview::RecentlyUsedMenu::staticMetaObjectExtraData = { |
---|
64 | 0, qt_static_metacall |
---|
65 | }; |
---|
66 | |
---|
67 | const QMetaObject qpdfview::RecentlyUsedMenu::staticMetaObject = { |
---|
68 | { &QMenu::staticMetaObject, qt_meta_stringdata_qpdfview__RecentlyUsedMenu, |
---|
69 | qt_meta_data_qpdfview__RecentlyUsedMenu, &staticMetaObjectExtraData } |
---|
70 | }; |
---|
71 | |
---|
72 | #ifdef Q_NO_DATA_RELOCATION |
---|
73 | const QMetaObject &qpdfview::RecentlyUsedMenu::getStaticMetaObject() { return staticMetaObject; } |
---|
74 | #endif //Q_NO_DATA_RELOCATION |
---|
75 | |
---|
76 | const QMetaObject *qpdfview::RecentlyUsedMenu::metaObject() const |
---|
77 | { |
---|
78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
---|
79 | } |
---|
80 | |
---|
81 | void *qpdfview::RecentlyUsedMenu::qt_metacast(const char *_clname) |
---|
82 | { |
---|
83 | if (!_clname) return 0; |
---|
84 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__RecentlyUsedMenu)) |
---|
85 | return static_cast<void*>(const_cast< RecentlyUsedMenu*>(this)); |
---|
86 | return QMenu::qt_metacast(_clname); |
---|
87 | } |
---|
88 | |
---|
89 | int qpdfview::RecentlyUsedMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
90 | { |
---|
91 | _id = QMenu::qt_metacall(_c, _id, _a); |
---|
92 | if (_id < 0) |
---|
93 | return _id; |
---|
94 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
95 | if (_id < 3) |
---|
96 | qt_static_metacall(this, _c, _id, _a); |
---|
97 | _id -= 3; |
---|
98 | } |
---|
99 | return _id; |
---|
100 | } |
---|
101 | |
---|
102 | // SIGNAL 0 |
---|
103 | void qpdfview::RecentlyUsedMenu::openTriggered(const QString & _t1) |
---|
104 | { |
---|
105 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
106 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
107 | } |
---|
108 | QT_END_MOC_NAMESPACE |
---|