Inserito il widget QLed
[qmemory] / moc_mainwindow.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'mainwindow.h'
3 **
4 ** Created: Fri Feb 26 16:31:33 2010
5 **      by: The Qt Meta Object Compiler version 62 (Qt 4.6.1)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
9
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.)"
17 #endif
18
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_MainWindow[] = {
21
22  // content:
23        4,       // revision
24        0,       // classname
25        0,    0, // classinfo
26       14,   14, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        1,       // signalCount
32
33  // signals: signature, parameters, type, tag, flags
34       19,   12,   11,   11, 0x05,
35
36  // slots: signature, parameters, type, tag, flags
37       45,   42,   11,   11, 0x0a,
38       64,   11,   11,   11, 0x0a,
39       73,   11,   11,   11, 0x0a,
40       82,   11,   11,   11, 0x0a,
41       91,   11,   11,   11, 0x0a,
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,
50
51        0        // eod
52 };
53
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"
60 };
61
62 const QMetaObject MainWindow::staticMetaObject = {
63     { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
64       qt_meta_data_MainWindow, 0 }
65 };
66
67 #ifdef Q_NO_DATA_RELOCATION
68 const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; }
69 #endif //Q_NO_DATA_RELOCATION
70
71 const QMetaObject *MainWindow::metaObject() const
72 {
73     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
74 }
75
76 void *MainWindow::qt_metacast(const char *_clname)
77 {
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);
82 }
83
84 int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
85 {
86     _id = QMainWindow::qt_metacall(_c, _id, _a);
87     if (_id < 0)
88         return _id;
89     if (_c == QMetaObject::InvokeMetaMethod) {
90         switch (_id) {
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;
105         default: ;
106         }
107         _id -= 14;
108     }
109     return _id;
110 }
111
112 // SIGNAL 0
113 void MainWindow::cliccatoIlBottone(int _t1)
114 {
115     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
116     QMetaObject::activate(this, &staticMetaObject, 0, _a);
117 }
118 QT_END_MOC_NAMESPACE