1 |
/**************************************************************************** |
1 |
/**************************************************************************** |
2 |
** Meta object code from reading C++ file 'scope.h' |
2 |
** Meta object code from reading C++ file 'scope.h' |
3 |
** |
3 |
** |
4 |
** Created: Sun Aug 14 13:57:52 2011 |
4 |
** Created: Mon Aug 15 00:34:35 2011 |
5 |
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.2) |
5 |
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.2) |
6 |
** |
6 |
** |
7 |
** WARNING! All changes made in this file will be lost! |
7 |
** WARNING! All changes made in this file will be lost! |
8 |
*****************************************************************************/ |
8 |
*****************************************************************************/ |
9 |
|
9 |
|
10 |
#include "scope.h" |
10 |
#include "scope.h" |
11 |
#if !defined(Q_MOC_OUTPUT_REVISION) |
11 |
#if !defined(Q_MOC_OUTPUT_REVISION) |
12 |
#error "The header file 'scope.h' doesn't include <QObject>." |
12 |
#error "The header file 'scope.h' doesn't include <QObject>." |
13 |
#elif Q_MOC_OUTPUT_REVISION != 62 |
13 |
#elif Q_MOC_OUTPUT_REVISION != 62 |
14 |
#error "This file was generated using the moc from 4.7.2. It" |
14 |
#error "This file was generated using the moc from 4.7.2. It" |
15 |
#error "cannot be used with the include files from this version of Qt." |
15 |
#error "cannot be used with the include files from this version of Qt." |
16 |
#error "(The moc has changed too much.)" |
16 |
#error "(The moc has changed too much.)" |
17 |
#endif |
17 |
#endif |
18 |
|
18 |
|
19 |
QT_BEGIN_MOC_NAMESPACE |
19 |
QT_BEGIN_MOC_NAMESPACE |
20 |
static const uint qt_meta_data_Scope[] = { |
20 |
static const uint qt_meta_data_Scope[] = { |
21 |
|
21 |
|
22 |
// content: |
22 |
// content: |
23 |
5, // revision |
23 |
5, // revision |
24 |
0, // classname |
24 |
0, // classname |
25 |
0, 0, // classinfo |
25 |
0, 0, // classinfo |
26 |
3, 14, // methods |
26 |
3, 14, // methods |
27 |
0, 0, // properties |
27 |
0, 0, // properties |
28 |
0, 0, // enums/sets |
28 |
0, 0, // enums/sets |
29 |
0, 0, // constructors |
29 |
0, 0, // constructors |
30 |
0, // flags |
30 |
0, // flags |
31 |
0, // signalCount |
31 |
0, // signalCount |
32 |
|
32 |
|
33 |
// slots: signature, parameters, type, tag, flags |
33 |
// slots: signature, parameters, type, tag, flags |
34 |
7, 6, 6, 6, 0x0a, |
34 |
7, 6, 6, 6, 0x0a, |
35 |
21, 17, 6, 6, 0x0a, |
35 |
21, 17, 6, 6, 0x0a, |
36 |
35, 17, 6, 6, 0x0a, |
36 |
35, 17, 6, 6, 0x0a, |
37 |
|
37 |
|
38 |
0 // eod |
38 |
0 // eod |
39 |
}; |
39 |
}; |
40 |
|
40 |
|
41 |
static const char qt_meta_stringdata_Scope[] = { |
41 |
static const char qt_meta_stringdata_Scope[] = { |
42 |
"Scope\0\0getData()\0val\0setScale(int)\0" |
42 |
"Scope\0\0getData()\0val\0setScale(int)\0" |
43 |
"setShift(int)\0" |
43 |
"setShift(int)\0" |
44 |
}; |
44 |
}; |
45 |
|
45 |
|
46 |
const QMetaObject Scope::staticMetaObject = { |
46 |
const QMetaObject Scope::staticMetaObject = { |
47 |
{ &QWidget::staticMetaObject, qt_meta_stringdata_Scope, |
47 |
{ &QWidget::staticMetaObject, qt_meta_stringdata_Scope, |
48 |
qt_meta_data_Scope, 0 } |
48 |
qt_meta_data_Scope, 0 } |
49 |
}; |
49 |
}; |
50 |
|
50 |
|
51 |
#ifdef Q_NO_DATA_RELOCATION |
51 |
#ifdef Q_NO_DATA_RELOCATION |
52 |
const QMetaObject &Scope::getStaticMetaObject() { return staticMetaObject; } |
52 |
const QMetaObject &Scope::getStaticMetaObject() { return staticMetaObject; } |
53 |
#endif //Q_NO_DATA_RELOCATION |
53 |
#endif //Q_NO_DATA_RELOCATION |
54 |
|
54 |
|
55 |
const QMetaObject *Scope::metaObject() const |
55 |
const QMetaObject *Scope::metaObject() const |
56 |
{ |
56 |
{ |
57 |
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
57 |
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
58 |
} |
58 |
} |
59 |
|
59 |
|
60 |
void *Scope::qt_metacast(const char *_clname) |
60 |
void *Scope::qt_metacast(const char *_clname) |
61 |
{ |
61 |
{ |
62 |
if (!_clname) return 0; |
62 |
if (!_clname) return 0; |
63 |
if (!strcmp(_clname, qt_meta_stringdata_Scope)) |
63 |
if (!strcmp(_clname, qt_meta_stringdata_Scope)) |
64 |
return static_cast<void*>(const_cast< Scope*>(this)); |
64 |
return static_cast<void*>(const_cast< Scope*>(this)); |
65 |
return QWidget::qt_metacast(_clname); |
65 |
return QWidget::qt_metacast(_clname); |
66 |
} |
66 |
} |
67 |
|
67 |
|
68 |
int Scope::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
68 |
int Scope::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
69 |
{ |
69 |
{ |
70 |
_id = QWidget::qt_metacall(_c, _id, _a); |
70 |
_id = QWidget::qt_metacall(_c, _id, _a); |
71 |
if (_id < 0) |
71 |
if (_id < 0) |
72 |
return _id; |
72 |
return _id; |
73 |
if (_c == QMetaObject::InvokeMetaMethod) { |
73 |
if (_c == QMetaObject::InvokeMetaMethod) { |
74 |
switch (_id) { |
74 |
switch (_id) { |
75 |
case 0: getData(); break; |
75 |
case 0: getData(); break; |
76 |
case 1: setScale((*reinterpret_cast< int(*)>(_a[1]))); break; |
76 |
case 1: setScale((*reinterpret_cast< int(*)>(_a[1]))); break; |
77 |
case 2: setShift((*reinterpret_cast< int(*)>(_a[1]))); break; |
77 |
case 2: setShift((*reinterpret_cast< int(*)>(_a[1]))); break; |
78 |
default: ; |
78 |
default: ; |
79 |
} |
79 |
} |
80 |
_id -= 3; |
80 |
_id -= 3; |
81 |
} |
81 |
} |
82 |
return _id; |
82 |
return _id; |
83 |
} |
83 |
} |
84 |
QT_END_MOC_NAMESPACE |
84 |
QT_END_MOC_NAMESPACE |