Start/ | End/ | |||
True | False | - | Line | Source |
1 | /**************************************************************************** | |||
2 | ** Meta object code from reading C++ file 'mpsongdata.h' | |||
3 | ** | |||
4 | ** Created: Mon 3. May 13:07:33 2010 | |||
5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.6.3) | |||
6 | ** | |||
7 | ** WARNING! All changes made in this file will be lost! | |||
8 | *****************************************************************************/ | |||
9 | ||||
10 | #include "stub/inc/mpsongdata.h" | |||
11 | #if !defined(Q_MOC_OUTPUT_REVISION) | |||
12 | #error "The header file 'mpsongdata.h' doesn't include <QObject>." | |||
13 | #elif Q_MOC_OUTPUT_REVISION != 62 | |||
14 | #error "This file was generated using the moc from 4.6.3. 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_MpSongData[] = { | |||
21 | ||||
22 | // content: | |||
23 | 4, // revision | |||
24 | 0, // classname | |||
25 | 0, 0, // classinfo | |||
26 | 26, 14, // methods | |||
27 | 0, 0, // properties | |||
28 | 0, 0, // enums/sets | |||
29 | 0, 0, // constructors | |||
30 | 0, // flags | |||
31 | 3, // signalCount | |||
32 | ||||
33 | // signals: signature, parameters, type, tag, flags | |||
34 | 12, 11, 11, 11, 0x05, | |||
35 | 28, 11, 11, 11, 0x05, | |||
36 | 50, 11, 11, 11, 0x05, | |||
37 | ||||
38 | // slots: signature, parameters, type, tag, flags | |||
39 | 95, 74, 11, 11, 0x0a, | |||
40 | 137, 11, 133, 11, 0x0a, | |||
41 | 162, 11, 154, 11, 0x0a, | |||
42 | 170, 11, 154, 11, 0x0a, | |||
43 | 178, 11, 154, 11, 0x0a, | |||
44 | 187, 11, 154, 11, 0x0a, | |||
45 | 202, 197, 11, 11, 0x0a, | |||
46 | 220, 11, 154, 11, 0x0a, | |||
47 | 227, 11, 154, 11, 0x0a, | |||
48 | 235, 11, 154, 11, 0x0a, | |||
49 | 246, 11, 154, 11, 0x0a, | |||
50 | 259, 11, 154, 11, 0x0a, | |||
51 | 266, 11, 154, 11, 0x0a, | |||
52 | 277, 11, 154, 11, 0x0a, | |||
53 | 288, 11, 154, 11, 0x0a, | |||
54 | 299, 11, 154, 11, 0x0a, | |||
55 | 309, 11, 154, 11, 0x0a, | |||
56 | 322, 11, 154, 11, 0x0a, | |||
57 | 329, 11, 154, 11, 0x0a, | |||
58 | 340, 11, 154, 11, 0x0a, | |||
59 | 352, 11, 154, 11, 0x0a, | |||
60 | 368, 11, 363, 11, 0x0a, | |||
61 | 385, 11, 154, 11, 0x0a, | |||
62 | ||||
63 | 0 // eod | |||
64 | }; | |||
65 | ||||
66 | static const char qt_meta_stringdata_MpSongData[] = { | |||
67 | "MpSongData\0\0albumArtReady()\0" | |||
68 | "playbackInfoChanged()\0songDetailInfoChanged()\0" | |||
69 | "pixmap,data,id,error\0" | |||
70 | "thumbnailReady(QPixmap,void*,int,int)\0" | |||
71 | "int\0reservedLength()\0QString\0title()\0" | |||
72 | "album()\0artist()\0comment()\0icon\0" | |||
73 | "albumArt(HbIcon&)\0year()\0genre()\0" | |||
74 | "composer()\0albumTrack()\0link()\0" | |||
75 | "fileName()\0mimeType()\0duration()\0" | |||
76 | "bitRate()\0sampleRate()\0size()\0modified()\0" | |||
77 | "copyright()\0musicURL()\0bool\0" | |||
78 | "isDrmProtected()\0albumArtBase64()\0" | |||
79 | }; | |||
80 | ||||
81 | const QMetaObject MpSongData::staticMetaObject = { | |||
82 | { &QObject::staticMetaObject, qt_meta_stringdata_MpSongData, | |||
83 | qt_meta_data_MpSongData, 0 } | |||
84 | }; | |||
85 | ||||
86 | #ifdef Q_NO_DATA_RELOCATION | |||
Top | ||||
0 | 0 | - | 87 | const QMetaObject &MpSongData::getStaticMetaObject() { return staticMetaObject; } |
0 | - | 87 | return staticMetaObject | |
88 | #endif //Q_NO_DATA_RELOCATION | |||
89 | ||||
Top | ||||
1 | 0 | 90 | const QMetaObject *MpSongData::metaObject() const | |
91 | { | |||
92 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; | |||
0 | 1 | - | 92 | ternary-?: QObject::d_ptr -> metaObject |
1 | 92 | return QObject::d_ptr -> metaObject ? QObject:.. | ||
93 | } | |||
94 | ||||
Top | ||||
0 | 0 | - | 95 | void *MpSongData::qt_metacast(const char *_clname) |
96 | { | |||
0 | 0 | - | 97 | if (!_clname) return 0; |
0 | - | 97 | return 0 | |
0 | 0 | - | 98 | if (!strcmp(_clname, qt_meta_stringdata_MpSongData)) |
0 | - | 99 | return static_cast<void*>(const_cast< MpSongData*>(this)); | |
0 | - | 100 | return QObject::qt_metacast(_clname); | |
101 | } | |||
102 | ||||
Top | ||||
0 | 0 | - | 103 | int MpSongData::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
104 | { | |||
105 | _id = QObject::qt_metacall(_c, _id, _a); | |||
0 | 0 | - | 106 | if (_id < 0) |
0 | - | 107 | return _id; | |
0 | 0 | - | 108 | if (_c == QMetaObject::InvokeMetaMethod) { |
109 | switch (_id) { | |||
0 | - | 110 | case 0: albumArtReady(); break; | |
0 | - | 110 | break | |
0 | - | 111 | case 1: playbackInfoChanged(); break; | |
0 | - | 111 | break | |
0 | - | 112 | case 2: songDetailInfoChanged(); break; | |
0 | - | 112 | break | |
0 | - | 113 | case 3: thumbnailReady((*reinterpret_cast< const QPixmap(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; | |
0 | - | 113 | break | |
0 | - | 114 | case 4: { int _r = reservedLength(); | |
0 | 0 | - | 115 | if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break; |
0 | - | 115 | break | |
0 | - | 116 | case 5: { QString _r = title(); | |
0 | 0 | - | 117 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 117 | break | |
0 | - | 118 | case 6: { QString _r = album(); | |
0 | 0 | - | 119 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 119 | break | |
0 | - | 120 | case 7: { QString _r = artist(); | |
0 | 0 | - | 121 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 121 | break | |
0 | - | 122 | case 8: { QString _r = comment(); | |
0 | 0 | - | 123 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 123 | break | |
0 | - | 124 | case 9: albumArt((*reinterpret_cast< HbIcon(*)>(_a[1]))); break; | |
0 | - | 124 | break | |
0 | - | 125 | case 10: { QString _r = year(); | |
0 | 0 | - | 126 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 126 | break | |
0 | - | 127 | case 11: { QString _r = genre(); | |
0 | 0 | - | 128 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 128 | break | |
0 | - | 129 | case 12: { QString _r = composer(); | |
0 | 0 | - | 130 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 130 | break | |
0 | - | 131 | case 13: { QString _r = albumTrack(); | |
0 | 0 | - | 132 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 132 | break | |
0 | - | 133 | case 14: { QString _r = link(); | |
0 | 0 | - | 134 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 134 | break | |
0 | - | 135 | case 15: { QString _r = fileName(); | |
0 | 0 | - | 136 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 136 | break | |
0 | - | 137 | case 16: { QString _r = mimeType(); | |
0 | 0 | - | 138 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 138 | break | |
0 | - | 139 | case 17: { QString _r = duration(); | |
0 | 0 | - | 140 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 140 | break | |
0 | - | 141 | case 18: { QString _r = bitRate(); | |
0 | 0 | - | 142 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 142 | break | |
0 | - | 143 | case 19: { QString _r = sampleRate(); | |
0 | 0 | - | 144 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 144 | break | |
0 | - | 145 | case 20: { QString _r = size(); | |
0 | 0 | - | 146 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 146 | break | |
0 | - | 147 | case 21: { QString _r = modified(); | |
0 | 0 | - | 148 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 148 | break | |
0 | - | 149 | case 22: { QString _r = copyright(); | |
0 | 0 | - | 150 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 150 | break | |
0 | - | 151 | case 23: { QString _r = musicURL(); | |
0 | 0 | - | 152 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 152 | break | |
0 | - | 153 | case 24: { bool _r = isDrmProtected(); | |
0 | 0 | - | 154 | if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; |
0 | - | 154 | break | |
0 | - | 155 | case 25: { QString _r = albumArtBase64(); | |
0 | 0 | - | 156 | if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break; |
0 | - | 156 | break | |
0 | - | 157 | default: ; | |
158 | } | |||
159 | _id -= 26; | |||
160 | } | |||
0 | - | 161 | return _id; | |
162 | } | |||
163 | ||||
164 | // SIGNAL 0 | |||
Top | ||||
37 | 37 | 165 | void MpSongData::albumArtReady() | |
166 | { | |||
167 | QMetaObject::activate(this, &staticMetaObject, 0, 0); | |||
168 | } | |||
169 | ||||
170 | // SIGNAL 1 | |||
Top | ||||
35 | 35 | 171 | void MpSongData::playbackInfoChanged() | |
172 | { | |||
173 | QMetaObject::activate(this, &staticMetaObject, 1, 0); | |||
174 | } | |||
175 | ||||
176 | // SIGNAL 2 | |||
Top | ||||
37 | 37 | 177 | void MpSongData::songDetailInfoChanged() | |
178 | { | |||
179 | QMetaObject::activate(this, &staticMetaObject, 2, 0); | |||
180 | } | |||
181 | QT_END_MOC_NAMESPACE | |||
***TER 5% (6/119) of SOURCE FILE moc_mpsongdata.cpp |