1 /****************************************************************************
2 ** Meta object code from reading C++ file 'mainwindow.h'
4 ** Created: Fri Feb 26 16:31:33 2010
5 ** by: The Qt Meta Object Compiler version 62 (Qt 4.6.1)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
10 #include "mainwindow.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'mainwindow.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 62
14 #error "This file was generated using the moc from 4.6.1. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_MainWindow[] = {
33 // signals: signature, parameters, type, tag, flags
36 // slots: signature, parameters, type, tag, flags
42 100, 11, 11, 11, 0x0a,
43 109, 11, 11, 11, 0x0a,
44 118, 11, 11, 11, 0x0a,
45 127, 11, 11, 11, 0x0a,
46 136, 11, 11, 11, 0x0a,
47 145, 11, 11, 11, 0x0a,
48 160, 11, 11, 11, 0x0a,
49 173, 11, 11, 11, 0x0a,
54 static const char qt_meta_stringdata_MainWindow[] = {
55 "MainWindow\0\0button\0cliccatoIlBottone(int)\0"
56 "id\0cliccaBottone(int)\0clickA()\0clickB()\0"
57 "clickC()\0clickD()\0clickE()\0clickF()\0"
58 "clickG()\0clickH()\0clickI()\0sbagliato(int)\0"
59 "disableAll()\0enableAll()\0"
62 const QMetaObject MainWindow::staticMetaObject = {
63 { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
64 qt_meta_data_MainWindow, 0 }
67 #ifdef Q_NO_DATA_RELOCATION
68 const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; }
69 #endif //Q_NO_DATA_RELOCATION
71 const QMetaObject *MainWindow::metaObject() const
73 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
76 void *MainWindow::qt_metacast(const char *_clname)
78 if (!_clname) return 0;
79 if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
80 return static_cast<void*>(const_cast< MainWindow*>(this));
81 return QMainWindow::qt_metacast(_clname);
84 int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
86 _id = QMainWindow::qt_metacall(_c, _id, _a);
89 if (_c == QMetaObject::InvokeMetaMethod) {
91 case 0: cliccatoIlBottone((*reinterpret_cast< int(*)>(_a[1]))); break;
92 case 1: cliccaBottone((*reinterpret_cast< int(*)>(_a[1]))); break;
93 case 2: clickA(); break;
94 case 3: clickB(); break;
95 case 4: clickC(); break;
96 case 5: clickD(); break;
97 case 6: clickE(); break;
98 case 7: clickF(); break;
99 case 8: clickG(); break;
100 case 9: clickH(); break;
101 case 10: clickI(); break;
102 case 11: sbagliato((*reinterpret_cast< int(*)>(_a[1]))); break;
103 case 12: disableAll(); break;
104 case 13: enableAll(); break;
113 void MainWindow::cliccatoIlBottone(int _t1)
115 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
116 QMetaObject::activate(this, &staticMetaObject, 0, _a);