00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "constants.h"
00011 #include "..\automataWorkSimulator.h"
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'automataWorkSimulator.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_AutomataWorkSimulator[] = {
00022
00023
00024 4,
00025 0,
00026 0, 0,
00027 16, 14,
00028 0, 0,
00029 0, 0,
00030 0, 0,
00031 0,
00032 2,
00033
00034
00035 23, 22, 22, 22, 0x05,
00036 36, 34, 22, 22, 0x05,
00037
00038
00039 72, 22, 22, 22, 0x0a,
00040 88, 83, 78, 22, 0x0a,
00041 106, 22, 22, 22, 0x0a,
00042 120, 22, 22, 22, 0x0a,
00043 135, 22, 22, 22, 0x0a,
00044 142, 22, 22, 22, 0x0a,
00045 150, 22, 22, 22, 0x0a,
00046 158, 22, 22, 22, 0x0a,
00047 178, 22, 22, 22, 0x09,
00048 188, 22, 22, 22, 0x09,
00049 203, 22, 22, 22, 0x09,
00050 217, 22, 22, 22, 0x09,
00051 242, 22, 22, 22, 0x09,
00052 267, 22, 22, 22, 0x09,
00053
00054 0
00055 };
00056
00057 static const char qt_meta_stringdata_AutomataWorkSimulator[] = {
00058 "AutomataWorkSimulator\0\0finished()\0,\0"
00059 "setStatesMarked(QList<State*>,bool)\0"
00060 "run()\0bool\0text\0setInput(QString)\0"
00061 "stepForward()\0stepBackward()\0play()\0"
00062 "pause()\0reset()\0generateSlideshow()\0"
00063 "animate()\0dialogClosed()\0processStep()\0"
00064 "stepSpeedChanged(double)\0"
00065 "animSpeedChanged(double)\0useAnimChanged(int)\0"
00066 };
00067
00068 const QMetaObject AutomataWorkSimulator::staticMetaObject = {
00069 { &QObject::staticMetaObject, qt_meta_stringdata_AutomataWorkSimulator,
00070 qt_meta_data_AutomataWorkSimulator, 0 }
00071 };
00072
00073 #ifdef Q_NO_DATA_RELOCATION
00074 const QMetaObject &AutomataWorkSimulator::getStaticMetaObject() { return staticMetaObject; }
00075 #endif //Q_NO_DATA_RELOCATION
00076
00077 const QMetaObject *AutomataWorkSimulator::metaObject() const
00078 {
00079 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00080 }
00081
00082 void *AutomataWorkSimulator::qt_metacast(const char *_clname)
00083 {
00084 if (!_clname) return 0;
00085 if (!strcmp(_clname, qt_meta_stringdata_AutomataWorkSimulator))
00086 return static_cast<void*>(const_cast< AutomataWorkSimulator*>(this));
00087 return QObject::qt_metacast(_clname);
00088 }
00089
00090 int AutomataWorkSimulator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00091 {
00092 _id = QObject::qt_metacall(_c, _id, _a);
00093 if (_id < 0)
00094 return _id;
00095 if (_c == QMetaObject::InvokeMetaMethod) {
00096 switch (_id) {
00097 case 0: finished(); break;
00098 case 1: setStatesMarked((*reinterpret_cast< QList<State*>(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
00099 case 2: run(); break;
00100 case 3: { bool _r = setInput((*reinterpret_cast< const QString(*)>(_a[1])));
00101 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
00102 case 4: stepForward(); break;
00103 case 5: stepBackward(); break;
00104 case 6: play(); break;
00105 case 7: pause(); break;
00106 case 8: reset(); break;
00107 case 9: generateSlideshow(); break;
00108 case 10: animate(); break;
00109 case 11: dialogClosed(); break;
00110 case 12: processStep(); break;
00111 case 13: stepSpeedChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
00112 case 14: animSpeedChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
00113 case 15: useAnimChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
00114 default: ;
00115 }
00116 _id -= 16;
00117 }
00118 return _id;
00119 }
00120
00121
00122 void AutomataWorkSimulator::finished()
00123 {
00124 QMetaObject::activate(this, &staticMetaObject, 0, 0);
00125 }
00126
00127
00128 void AutomataWorkSimulator::setStatesMarked(QList<State*> _t1, bool _t2)
00129 {
00130 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
00131 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00132 }
00133 static const uint qt_meta_data_SimulationDialog[] = {
00134
00135
00136 4,
00137 0,
00138 0, 0,
00139 11, 14,
00140 0, 0,
00141 0, 0,
00142 0, 0,
00143 0,
00144 4,
00145
00146
00147 18, 17, 17, 17, 0x05,
00148 27, 17, 17, 17, 0x05,
00149 47, 17, 17, 17, 0x05,
00150 72, 17, 17, 17, 0x05,
00151
00152
00153 97, 17, 17, 17, 0x0a,
00154 118, 111, 17, 17, 0x09,
00155 146, 140, 17, 17, 0x09,
00156 170, 17, 17, 17, 0x09,
00157 184, 17, 17, 17, 0x09,
00158 191, 17, 17, 17, 0x09,
00159 202, 17, 197, 17, 0x09,
00160
00161 0
00162 };
00163
00164 static const char qt_meta_stringdata_SimulationDialog[] = {
00165 "SimulationDialog\0\0closed()\0"
00166 "useAnimChanged(int)\0stepSpeedChanged(double)\0"
00167 "animSpeedChanged(double)\0updateState()\0"
00168 "sybmol\0appendSymbol(QString)\0state\0"
00169 "prettyPrintChanged(int)\0stepForward()\0"
00170 "play()\0set()\0bool\0setInput()\0"
00171 };
00172
00173 const QMetaObject SimulationDialog::staticMetaObject = {
00174 { &QDialog::staticMetaObject, qt_meta_stringdata_SimulationDialog,
00175 qt_meta_data_SimulationDialog, 0 }
00176 };
00177
00178 #ifdef Q_NO_DATA_RELOCATION
00179 const QMetaObject &SimulationDialog::getStaticMetaObject() { return staticMetaObject; }
00180 #endif //Q_NO_DATA_RELOCATION
00181
00182 const QMetaObject *SimulationDialog::metaObject() const
00183 {
00184 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00185 }
00186
00187 void *SimulationDialog::qt_metacast(const char *_clname)
00188 {
00189 if (!_clname) return 0;
00190 if (!strcmp(_clname, qt_meta_stringdata_SimulationDialog))
00191 return static_cast<void*>(const_cast< SimulationDialog*>(this));
00192 return QDialog::qt_metacast(_clname);
00193 }
00194
00195 int SimulationDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00196 {
00197 _id = QDialog::qt_metacall(_c, _id, _a);
00198 if (_id < 0)
00199 return _id;
00200 if (_c == QMetaObject::InvokeMetaMethod) {
00201 switch (_id) {
00202 case 0: closed(); break;
00203 case 1: useAnimChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
00204 case 2: stepSpeedChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
00205 case 3: animSpeedChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
00206 case 4: updateState(); break;
00207 case 5: appendSymbol((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00208 case 6: prettyPrintChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
00209 case 7: stepForward(); break;
00210 case 8: play(); break;
00211 case 9: set(); break;
00212 case 10: { bool _r = setInput();
00213 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
00214 default: ;
00215 }
00216 _id -= 11;
00217 }
00218 return _id;
00219 }
00220
00221
00222 void SimulationDialog::closed()
00223 {
00224 QMetaObject::activate(this, &staticMetaObject, 0, 0);
00225 }
00226
00227
00228 void SimulationDialog::useAnimChanged(int _t1)
00229 {
00230 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00231 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00232 }
00233
00234
00235 void SimulationDialog::stepSpeedChanged(double _t1)
00236 {
00237 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00238 QMetaObject::activate(this, &staticMetaObject, 2, _a);
00239 }
00240
00241
00242 void SimulationDialog::animSpeedChanged(double _t1)
00243 {
00244 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00245 QMetaObject::activate(this, &staticMetaObject, 3, _a);
00246 }
00247 QT_END_MOC_NAMESPACE