Inserimento Led, Modifiche Layout
[qmemory] / moc_testThread.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'testThread.h'
3 **
4 ** Created: Fri Feb 26 16:31:34 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 "testThread.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'testThread.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_TestThread[] = {
21
22  // content:
23        4,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        7,   14, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        5,       // signalCount
32
33  // signals: signature, parameters, type, tag, flags
34       14,   12,   11,   11, 0x05,
35       28,   11,   11,   11, 0x05,
36       35,   11,   11,   11, 0x05,
37       46,   11,   11,   11, 0x05,
38       65,   11,   11,   11, 0x05,
39
40  // slots: signature, parameters, type, tag, flags
41       93,   83,   11,   11, 0x0a,
42      112,   11,   11,   11, 0x0a,
43
44        0        // eod
45 };
46
47 static const char qt_meta_stringdata_TestThread[] = {
48     "TestThread\0\0a\0generate(int)\0exit()\0"
49     "score(int)\0disableInterface()\0"
50     "enableInterface()\0inputUser\0"
51     "updateCaption(int)\0genera()\0"
52 };
53
54 const QMetaObject TestThread::staticMetaObject = {
55     { &QThread::staticMetaObject, qt_meta_stringdata_TestThread,
56       qt_meta_data_TestThread, 0 }
57 };
58
59 #ifdef Q_NO_DATA_RELOCATION
60 const QMetaObject &TestThread::getStaticMetaObject() { return staticMetaObject; }
61 #endif //Q_NO_DATA_RELOCATION
62
63 const QMetaObject *TestThread::metaObject() const
64 {
65     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
66 }
67
68 void *TestThread::qt_metacast(const char *_clname)
69 {
70     if (!_clname) return 0;
71     if (!strcmp(_clname, qt_meta_stringdata_TestThread))
72         return static_cast<void*>(const_cast< TestThread*>(this));
73     return QThread::qt_metacast(_clname);
74 }
75
76 int TestThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
77 {
78     _id = QThread::qt_metacall(_c, _id, _a);
79     if (_id < 0)
80         return _id;
81     if (_c == QMetaObject::InvokeMetaMethod) {
82         switch (_id) {
83         case 0: generate((*reinterpret_cast< int(*)>(_a[1]))); break;
84         case 1: exit(); break;
85         case 2: score((*reinterpret_cast< int(*)>(_a[1]))); break;
86         case 3: disableInterface(); break;
87         case 4: enableInterface(); break;
88         case 5: updateCaption((*reinterpret_cast< int(*)>(_a[1]))); break;
89         case 6: genera(); break;
90         default: ;
91         }
92         _id -= 7;
93     }
94     return _id;
95 }
96
97 // SIGNAL 0
98 void TestThread::generate(int _t1)
99 {
100     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
101     QMetaObject::activate(this, &staticMetaObject, 0, _a);
102 }
103
104 // SIGNAL 1
105 void TestThread::exit()
106 {
107     QMetaObject::activate(this, &staticMetaObject, 1, 0);
108 }
109
110 // SIGNAL 2
111 void TestThread::score(int _t1)
112 {
113     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
114     QMetaObject::activate(this, &staticMetaObject, 2, _a);
115 }
116
117 // SIGNAL 3
118 void TestThread::disableInterface()
119 {
120     QMetaObject::activate(this, &staticMetaObject, 3, 0);
121 }
122
123 // SIGNAL 4
124 void TestThread::enableInterface()
125 {
126     QMetaObject::activate(this, &staticMetaObject, 4, 0);
127 }
128 QT_END_MOC_NAMESPACE