|
1 /**************************************************************************** |
|
2 ** |
|
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
4 ** All rights reserved. |
|
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
6 ** |
|
7 ** This file is part of the test suite of the Qt Toolkit. |
|
8 ** |
|
9 ** $QT_BEGIN_LICENSE:LGPL$ |
|
10 ** No Commercial Usage |
|
11 ** This file contains pre-release code and may not be distributed. |
|
12 ** You may use this file in accordance with the terms and conditions |
|
13 ** contained in the Technology Preview License Agreement accompanying |
|
14 ** this package. |
|
15 ** |
|
16 ** GNU Lesser General Public License Usage |
|
17 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
18 ** General Public License version 2.1 as published by the Free Software |
|
19 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
20 ** packaging of this file. Please review the following information to |
|
21 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
23 ** |
|
24 ** In addition, as a special exception, Nokia gives you certain additional |
|
25 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
27 ** |
|
28 ** If you have questions regarding the use of this file, please contact |
|
29 ** Nokia at qt-info@nokia.com. |
|
30 ** |
|
31 ** |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** $QT_END_LICENSE$ |
|
39 ** |
|
40 ****************************************************************************/ |
|
41 |
|
42 /**************************************************************************** |
|
43 ** Meta object code from reading C++ file 'oldnormalizeobject.h' |
|
44 ** |
|
45 ** Created: Wed Nov 18 11:43:05 2009 |
|
46 ** by: The Qt Meta Object Compiler version 62 (Qt 4.6.0) |
|
47 ** |
|
48 *****************************************************************************/ |
|
49 |
|
50 // Yhis file was generated from moc version 4.6 to test binary compatibility |
|
51 // It should *not* be generated by the current moc |
|
52 |
|
53 #include "oldnormalizeobject.h" |
|
54 |
|
55 QT_BEGIN_MOC_NAMESPACE |
|
56 static const uint qt_meta_data_OldNormalizeObject[] = { |
|
57 |
|
58 // content: |
|
59 4, // revision |
|
60 0, // classname |
|
61 0, 0, // classinfo |
|
62 6, 14, // methods |
|
63 0, 0, // properties |
|
64 0, 0, // enums/sets |
|
65 0, 0, // constructors |
|
66 0, // flags |
|
67 3, // signalCount |
|
68 |
|
69 // signals: signature, parameters, type, tag, flags |
|
70 24, 20, 19, 19, 0x05, |
|
71 57, 20, 19, 19, 0x05, |
|
72 100, 20, 19, 19, 0x05, |
|
73 |
|
74 // slots: signature, parameters, type, tag, flags |
|
75 149, 20, 19, 19, 0x0a, |
|
76 180, 20, 19, 19, 0x0a, |
|
77 221, 20, 19, 19, 0x0a, |
|
78 |
|
79 0 // eod |
|
80 }; |
|
81 |
|
82 static const char qt_meta_stringdata_OldNormalizeObject[] = { |
|
83 "OldNormalizeObject\0\0ref\0" |
|
84 "typeRefSignal(Template<Class&>&)\0" |
|
85 "constTypeRefSignal(Template<const Class&>)\0" |
|
86 "typeConstRefSignal(Template<const Class&>const&)\0" |
|
87 "typeRefSlot(Template<Class&>&)\0" |
|
88 "constTypeRefSlot(Template<const Class&>)\0" |
|
89 "typeConstRefSlot(Template<const Class&>const&)\0" |
|
90 }; |
|
91 |
|
92 const QMetaObject OldNormalizeObject::staticMetaObject = { |
|
93 { &QObject::staticMetaObject, qt_meta_stringdata_OldNormalizeObject, |
|
94 qt_meta_data_OldNormalizeObject, 0 } |
|
95 }; |
|
96 |
|
97 #ifdef Q_NO_DATA_RELOCATION |
|
98 const QMetaObject &OldNormalizeObject::getStaticMetaObject() { return staticMetaObject; } |
|
99 #endif //Q_NO_DATA_RELOCATION |
|
100 |
|
101 const QMetaObject *OldNormalizeObject::metaObject() const |
|
102 { |
|
103 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
|
104 } |
|
105 |
|
106 void *OldNormalizeObject::qt_metacast(const char *_clname) |
|
107 { |
|
108 if (!_clname) return 0; |
|
109 if (!strcmp(_clname, qt_meta_stringdata_OldNormalizeObject)) |
|
110 return static_cast<void*>(const_cast< OldNormalizeObject*>(this)); |
|
111 return QObject::qt_metacast(_clname); |
|
112 } |
|
113 |
|
114 int OldNormalizeObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
|
115 { |
|
116 _id = QObject::qt_metacall(_c, _id, _a); |
|
117 if (_id < 0) |
|
118 return _id; |
|
119 if (_c == QMetaObject::InvokeMetaMethod) { |
|
120 switch (_id) { |
|
121 case 0: typeRefSignal((*reinterpret_cast< Template<Class&>(*)>(_a[1]))); break; |
|
122 case 1: constTypeRefSignal((*reinterpret_cast< const Template<const Class&>(*)>(_a[1]))); break; |
|
123 case 2: typeConstRefSignal((*reinterpret_cast< Template<const Class&>const(*)>(_a[1]))); break; |
|
124 case 3: typeRefSlot((*reinterpret_cast< Template<Class&>(*)>(_a[1]))); break; |
|
125 case 4: constTypeRefSlot((*reinterpret_cast< const Template<const Class&>(*)>(_a[1]))); break; |
|
126 case 5: typeConstRefSlot((*reinterpret_cast< Template<const Class&>const(*)>(_a[1]))); break; |
|
127 default: ; |
|
128 } |
|
129 _id -= 6; |
|
130 } |
|
131 return _id; |
|
132 } |
|
133 |
|
134 // SIGNAL 0 |
|
135 void OldNormalizeObject::typeRefSignal(Template<Class&> & _t1) |
|
136 { |
|
137 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
|
138 QMetaObject::activate(this, &staticMetaObject, 0, _a); |
|
139 } |
|
140 |
|
141 // SIGNAL 1 |
|
142 void OldNormalizeObject::constTypeRefSignal(const Template<const Class&> & _t1) |
|
143 { |
|
144 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
|
145 QMetaObject::activate(this, &staticMetaObject, 1, _a); |
|
146 } |
|
147 |
|
148 // SIGNAL 2 |
|
149 void OldNormalizeObject::typeConstRefSignal(Template<Class const&> const & _t1) |
|
150 { |
|
151 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
|
152 QMetaObject::activate(this, &staticMetaObject, 2, _a); |
|
153 } |
|
154 QT_END_MOC_NAMESPACE |