00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "constants.h"
00011 #include "..\mainwindow.h"
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'mainwindow.h' doesn't include <QObject>."
00014 #elif Q_MOC_OUTPUT_REVISION != 62
00015 #error "This file was generated using the moc from 4.6.3. It"
00016 #error "cannot be used with the include files from this version of Qt."
00017 #error "(The moc has changed too much.)"
00018 #endif
00019
00020 QT_BEGIN_MOC_NAMESPACE
00021 static const uint qt_meta_data_MainWindow[] = {
00022
00023
00024 4,
00025 0,
00026 0, 0,
00027 24, 14,
00028 0, 0,
00029 0, 0,
00030 0, 0,
00031 0,
00032 0,
00033
00034
00035 12, 11, 11, 11, 0x08,
00036 22, 11, 11, 11, 0x08,
00037 38, 11, 33, 11, 0x08,
00038 45, 11, 33, 11, 0x08,
00039 54, 11, 11, 11, 0x08,
00040 65, 11, 11, 11, 0x08,
00041 82, 11, 11, 11, 0x08,
00042 99, 11, 11, 11, 0x08,
00043 116, 11, 11, 11, 0x08,
00044 123, 11, 11, 11, 0x08,
00045 131, 11, 11, 11, 0x08,
00046 137, 11, 11, 11, 0x08,
00047 146, 11, 11, 11, 0x08,
00048 161, 11, 11, 11, 0x08,
00049 172, 11, 11, 11, 0x08,
00050 188, 11, 11, 11, 0x08,
00051 201, 11, 11, 11, 0x08,
00052 215, 11, 11, 11, 0x08,
00053 223, 11, 11, 11, 0x08,
00054 235, 233, 11, 11, 0x08,
00055 264, 11, 11, 11, 0x08,
00056 293, 283, 11, 11, 0x08,
00057 317, 283, 11, 11, 0x08,
00058 341, 283, 11, 11, 0x08,
00059
00060 0
00061 };
00062
00063 static const char qt_meta_stringdata_MainWindow[] = {
00064 "MainWindow\0\0newFile()\0openFile()\0bool\0"
00065 "save()\0saveAs()\0exportTo()\0undoViewClosed()\0"
00066 "updateEditMenu()\0enableEditMenu()\0"
00067 "copy()\0paste()\0cut()\0remove()\0"
00068 "setSelection()\0setState()\0setTransition()\0"
00069 "snapToGrid()\0alignToGrid()\0about()\0"
00070 "aboutQt()\0,\0actualizeChecking(bool,bool)\0"
00071 "actionChanged(int)\0available\0"
00072 "setItemsAvailable(bool)\0setToolsAvailable(bool)\0"
00073 "setUtilsAvailable(bool)\0"
00074 };
00075
00076 const QMetaObject MainWindow::staticMetaObject = {
00077 { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
00078 qt_meta_data_MainWindow, 0 }
00079 };
00080
00081 #ifdef Q_NO_DATA_RELOCATION
00082 const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; }
00083 #endif //Q_NO_DATA_RELOCATION
00084
00085 const QMetaObject *MainWindow::metaObject() const
00086 {
00087 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00088 }
00089
00090 void *MainWindow::qt_metacast(const char *_clname)
00091 {
00092 if (!_clname) return 0;
00093 if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
00094 return static_cast<void*>(const_cast< MainWindow*>(this));
00095 return QMainWindow::qt_metacast(_clname);
00096 }
00097
00098 int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00099 {
00100 _id = QMainWindow::qt_metacall(_c, _id, _a);
00101 if (_id < 0)
00102 return _id;
00103 if (_c == QMetaObject::InvokeMetaMethod) {
00104 switch (_id) {
00105 case 0: newFile(); break;
00106 case 1: openFile(); break;
00107 case 2: { bool _r = save();
00108 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
00109 case 3: { bool _r = saveAs();
00110 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
00111 case 4: exportTo(); break;
00112 case 5: undoViewClosed(); break;
00113 case 6: updateEditMenu(); break;
00114 case 7: enableEditMenu(); break;
00115 case 8: copy(); break;
00116 case 9: paste(); break;
00117 case 10: cut(); break;
00118 case 11: remove(); break;
00119 case 12: setSelection(); break;
00120 case 13: setState(); break;
00121 case 14: setTransition(); break;
00122 case 15: snapToGrid(); break;
00123 case 16: alignToGrid(); break;
00124 case 17: about(); break;
00125 case 18: aboutQt(); break;
00126 case 19: actualizeChecking((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
00127 case 20: actionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
00128 case 21: setItemsAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
00129 case 22: setToolsAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
00130 case 23: setUtilsAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
00131 default: ;
00132 }
00133 _id -= 24;
00134 }
00135 return _id;
00136 }
00137 QT_END_MOC_NAMESPACE