Fri, 15 Mar 2013 20:39:29 +0200
don't crash if g_CurrentFile is null
0 | 1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'gui.h' | |
3 | ** | |
4 | ** Created: Fri Mar 15 19:46:05 2013 | |
5 | ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.3) | |
6 | ** | |
7 | ** WARNING! All changes made in this file will be lost! | |
8 | *****************************************************************************/ | |
9 | ||
10 | #include "gui.h" | |
11 | #if !defined(Q_MOC_OUTPUT_REVISION) | |
12 | #error "The header file 'gui.h' doesn't include <QObject>." | |
13 | #elif Q_MOC_OUTPUT_REVISION != 63 | |
14 | #error "This file was generated using the moc from 4.8.3. It" | |
15 | #error "cannot be used with the include files from this version of Qt." | |
16 | #error "(The moc has changed too much.)" | |
17 | #endif | |
18 | ||
19 | QT_BEGIN_MOC_NAMESPACE | |
20 | static const uint qt_meta_data_LDForgeWindow[] = { | |
21 | ||
22 | // content: | |
23 | 6, // revision | |
24 | 0, // classname | |
25 | 0, 0, // classinfo | |
26 | 18, 14, // methods | |
27 | 0, 0, // properties | |
28 | 0, 0, // enums/sets | |
29 | 0, 0, // constructors | |
30 | 0, // flags | |
31 | 0, // signalCount | |
32 | ||
33 | // slots: signature, parameters, type, tag, flags | |
34 | 15, 14, 14, 14, 0x08, | |
35 | 26, 14, 14, 14, 0x08, | |
36 | 38, 14, 14, 14, 0x08, | |
37 | 50, 14, 14, 14, 0x08, | |
38 | 64, 14, 14, 14, 0x08, | |
39 | 76, 14, 14, 14, 0x08, | |
40 | 94, 14, 14, 14, 0x08, | |
41 | 109, 14, 14, 14, 0x08, | |
42 | 128, 14, 14, 14, 0x08, | |
43 | 143, 14, 14, 14, 0x08, | |
44 | 162, 14, 14, 14, 0x08, | |
45 | 180, 14, 14, 14, 0x08, | |
46 | 197, 14, 14, 14, 0x08, | |
47 | 214, 14, 14, 14, 0x08, | |
48 | 225, 14, 14, 14, 0x08, | |
49 | 237, 14, 14, 14, 0x08, | |
50 | 250, 14, 14, 14, 0x08, | |
51 | 263, 14, 14, 14, 0x08, | |
52 | ||
53 | 0 // eod | |
54 | }; | |
55 | ||
56 | static const char qt_meta_stringdata_LDForgeWindow[] = { | |
57 | "LDForgeWindow\0\0slot_new()\0slot_open()\0" | |
58 | "slot_save()\0slot_saveAs()\0slot_exit()\0" | |
59 | "slot_newSubfile()\0slot_newLine()\0" | |
60 | "slot_newTriangle()\0slot_newQuad()\0" | |
61 | "slot_newCondLine()\0slot_newComment()\0" | |
62 | "slot_newVector()\0slot_newVertex()\0" | |
63 | "slot_cut()\0slot_copy()\0slot_paste()\0" | |
64 | "slot_about()\0slot_aboutQt()\0" | |
65 | }; | |
66 | ||
67 | void LDForgeWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | |
68 | { | |
69 | if (_c == QMetaObject::InvokeMetaMethod) { | |
70 | Q_ASSERT(staticMetaObject.cast(_o)); | |
71 | LDForgeWindow *_t = static_cast<LDForgeWindow *>(_o); | |
72 | switch (_id) { | |
73 | case 0: _t->slot_new(); break; | |
74 | case 1: _t->slot_open(); break; | |
75 | case 2: _t->slot_save(); break; | |
76 | case 3: _t->slot_saveAs(); break; | |
77 | case 4: _t->slot_exit(); break; | |
78 | case 5: _t->slot_newSubfile(); break; | |
79 | case 6: _t->slot_newLine(); break; | |
80 | case 7: _t->slot_newTriangle(); break; | |
81 | case 8: _t->slot_newQuad(); break; | |
82 | case 9: _t->slot_newCondLine(); break; | |
83 | case 10: _t->slot_newComment(); break; | |
84 | case 11: _t->slot_newVector(); break; | |
85 | case 12: _t->slot_newVertex(); break; | |
86 | case 13: _t->slot_cut(); break; | |
87 | case 14: _t->slot_copy(); break; | |
88 | case 15: _t->slot_paste(); break; | |
89 | case 16: _t->slot_about(); break; | |
90 | case 17: _t->slot_aboutQt(); break; | |
91 | default: ; | |
92 | } | |
93 | } | |
94 | Q_UNUSED(_a); | |
95 | } | |
96 | ||
97 | const QMetaObjectExtraData LDForgeWindow::staticMetaObjectExtraData = { | |
98 | 0, qt_static_metacall | |
99 | }; | |
100 | ||
101 | const QMetaObject LDForgeWindow::staticMetaObject = { | |
102 | { &QMainWindow::staticMetaObject, qt_meta_stringdata_LDForgeWindow, | |
103 | qt_meta_data_LDForgeWindow, &staticMetaObjectExtraData } | |
104 | }; | |
105 | ||
106 | #ifdef Q_NO_DATA_RELOCATION | |
107 | const QMetaObject &LDForgeWindow::getStaticMetaObject() { return staticMetaObject; } | |
108 | #endif //Q_NO_DATA_RELOCATION | |
109 | ||
110 | const QMetaObject *LDForgeWindow::metaObject() const | |
111 | { | |
112 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; | |
113 | } | |
114 | ||
115 | void *LDForgeWindow::qt_metacast(const char *_clname) | |
116 | { | |
117 | if (!_clname) return 0; | |
118 | if (!strcmp(_clname, qt_meta_stringdata_LDForgeWindow)) | |
119 | return static_cast<void*>(const_cast< LDForgeWindow*>(this)); | |
120 | return QMainWindow::qt_metacast(_clname); | |
121 | } | |
122 | ||
123 | int LDForgeWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | |
124 | { | |
125 | _id = QMainWindow::qt_metacall(_c, _id, _a); | |
126 | if (_id < 0) | |
127 | return _id; | |
128 | if (_c == QMetaObject::InvokeMetaMethod) { | |
129 | if (_id < 18) | |
130 | qt_static_metacall(this, _c, _id, _a); | |
131 | _id -= 18; | |
132 | } | |
133 | return _id; | |
134 | } | |
135 | QT_END_MOC_NAMESPACE |