| Start/ | End/ | |||
| True | False | - | Line | Source |
| 1 | /**************************************************************************** | |||
| 2 | ** Meta object code from reading C++ file 'unittest_mpdetailsview.h' | |||
| 3 | ** | |||
| 4 | ** Created: Thu 22. Apr 09:28:17 2010 | |||
| 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2) | |||
| 6 | ** | |||
| 7 | ** WARNING! All changes made in this file will be lost! | |||
| 8 | *****************************************************************************/ | |||
| 9 | ||||
| 10 | #include "inc/unittest_mpdetailsview.h" | |||
| 11 | #if !defined(Q_MOC_OUTPUT_REVISION) | |||
| 12 | #error "The header file 'unittest_mpdetailsview.h' doesn't include <QObject>." | |||
| 13 | #elif Q_MOC_OUTPUT_REVISION != 62 | |||
| 14 | #error "This file was generated using the moc from 4.6.2. 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_TestMpDetailsView[] = { | |||
| 21 | ||||
| 22 | // content: | |||
| 23 | 4, // revision | |||
| 24 | 0, // classname | |||
| 25 | 0, 0, // classinfo | |||
| 26 | 22, 14, // methods | |||
| 27 | 0, 0, // properties | |||
| 28 | 0, 0, // enums/sets | |||
| 29 | 0, 0, // constructors | |||
| 30 | 0, // flags | |||
| 31 | 15, // signalCount | |||
| 32 | ||||
| 33 | // signals: signature, parameters, type, tag, flags | |||
| 34 | 19, 18, 18, 18, 0x05, | |||
| 35 | 26, 18, 18, 18, 0x05, | |||
| 36 | 44, 18, 18, 18, 0x05, | |||
| 37 | 55, 52, 18, 18, 0x05, | |||
| 38 | 75, 18, 18, 18, 0x05, | |||
| 39 | 97, 18, 18, 18, 0x05, | |||
| 40 | 127, 121, 18, 18, 0x05, | |||
| 41 | 155, 121, 18, 18, 0x05, | |||
| 42 | 191, 185, 18, 18, 0x05, | |||
| 43 | 241, 235, 18, 18, 0x05, | |||
| 44 | 302, 235, 18, 18, 0x05, | |||
| 45 | 349, 185, 18, 18, 0x05, | |||
| 46 | 382, 18, 18, 18, 0x05, | |||
| 47 | 395, 18, 18, 18, 0x05, | |||
| 48 | 424, 403, 18, 18, 0x05, | |||
| 49 | ||||
| 50 | // slots: signature, parameters, type, tag, flags | |||
| 51 | 462, 18, 18, 18, 0x0a, | |||
| 52 | 477, 18, 18, 18, 0x0a, | |||
| 53 | 495, 18, 18, 18, 0x0a, | |||
| 54 | 502, 18, 18, 18, 0x0a, | |||
| 55 | 512, 18, 18, 18, 0x08, | |||
| 56 | 531, 18, 18, 18, 0x08, | |||
| 57 | 552, 18, 18, 18, 0x08, | |||
| 58 | ||||
| 59 | 0 // eod | |||
| 60 | }; | |||
| 61 | ||||
| 62 | static const char qt_meta_stringdata_TestMpDetailsView[] = { | |||
| 63 | "TestMpDetailsView\0\0back()\0albumArtChanged()\0" | |||
| 64 | "share()\0ok\0webViewLoaded(bool)\0" | |||
| 65 | "playbackInfoChanged()\0songDetailInfoChanged()\0" | |||
| 66 | "state\0toggleDetailsGroupBox(bool)\0" | |||
| 67 | "toggleInspireMeGroupBox(bool)\0reply\0" | |||
| 68 | "retrieveInformationFinished(QNetworkReply*)\0" | |||
| 69 | "error\0" | |||
| 70 | "retrieveInformationNetworkError(QNetworkReply::NetworkError)\0" | |||
| 71 | "retrieveInformationSslErrors(QList<QSslError>)\0" | |||
| 72 | "DownloadFinished(QNetworkReply*)\0" | |||
| 73 | "addContext()\0close()\0pixmap,data,id,error\0" | |||
| 74 | "thumbnailReady(QPixmap,void*,int,int)\0" | |||
| 75 | "initTestCase()\0cleanupTestCase()\0" | |||
| 76 | "init()\0cleanup()\0testactivateView()\0" | |||
| 77 | "testdeactivateView()\0testbackSlot()\0" | |||
| 78 | }; | |||
| 79 | ||||
| 80 | const QMetaObject TestMpDetailsView::staticMetaObject = { | |||
| 81 | { &HbView::staticMetaObject, qt_meta_stringdata_TestMpDetailsView, | |||
| 82 | qt_meta_data_TestMpDetailsView, 0 } | |||
| 83 | }; | |||
| 84 | ||||
| 85 | #ifdef Q_NO_DATA_RELOCATION | |||
| Top | ||||
| 0 | 0 | - | 86 | const QMetaObject &TestMpDetailsView::getStaticMetaObject() { return staticMetaObject; } |
| 0 | - | 86 | return staticMetaObject | |
| 87 | #endif //Q_NO_DATA_RELOCATION | |||
| 88 | ||||
| Top | ||||
| 56 | 0 | 89 | const QMetaObject *TestMpDetailsView::metaObject() const | |
| 90 | { | |||
| 91 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; | |||
| 0 | 56 | - | 91 | ternary-?: QObject::d_ptr -> metaObject |
| 56 | 91 | return QObject::d_ptr -> metaObject ? QObject:.. | ||
| 92 | } | |||
| 93 | ||||
| Top | ||||
| 0 | 0 | - | 94 | void *TestMpDetailsView::qt_metacast(const char *_clname) |
| 95 | { | |||
| 0 | 0 | - | 96 | if (!_clname) return 0; |
| 0 | - | 96 | return 0 | |
| 0 | 0 | - | 97 | if (!strcmp(_clname, qt_meta_stringdata_TestMpDetailsView)) |
| 0 | - | 98 | return static_cast<void*>(const_cast< TestMpDetailsView*>(this)); | |
| 0 | - | 99 | return HbView::qt_metacast(_clname); | |
| 100 | } | |||
| 101 | ||||
| Top | ||||
| 14 | 0 | 102 | int TestMpDetailsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | |
| 103 | { | |||
| 104 | _id = HbView::qt_metacall(_c, _id, _a); | |||
| 1 | 13 | 105 | if (_id < 0) | |
| 1 | 106 | return _id; | ||
| 13 | 0 | - | 107 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 108 | switch (_id) { | |||
| 0 | - | 109 | case 0: back(); break; | |
| 0 | - | 109 | break | |
| 0 | - | 110 | case 1: albumArtChanged(); break; | |
| 0 | - | 110 | break | |
| 0 | - | 111 | case 2: share(); break; | |
| 0 | - | 111 | break | |
| 0 | - | 112 | case 3: webViewLoaded((*reinterpret_cast< bool(*)>(_a[1]))); break; | |
| 0 | - | 112 | break | |
| 0 | - | 113 | case 4: playbackInfoChanged(); break; | |
| 0 | - | 113 | break | |
| 0 | - | 114 | case 5: songDetailInfoChanged(); break; | |
| 0 | - | 114 | break | |
| 0 | - | 115 | case 6: toggleDetailsGroupBox((*reinterpret_cast< bool(*)>(_a[1]))); break; | |
| 0 | - | 115 | break | |
| 0 | - | 116 | case 7: toggleInspireMeGroupBox((*reinterpret_cast< bool(*)>(_a[1]))); break; | |
| 0 | - | 116 | break | |
| 0 | - | 117 | case 8: retrieveInformationFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; | |
| 0 | - | 117 | break | |
| 0 | - | 118 | case 9: retrieveInformationNetworkError((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break; | |
| 0 | - | 118 | break | |
| 0 | - | 119 | case 10: retrieveInformationSslErrors((*reinterpret_cast< const QList<QSslError>(*)>(_a[1]))); break; | |
| 0 | - | 119 | break | |
| 0 | - | 120 | case 11: DownloadFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; | |
| 0 | - | 120 | break | |
| 0 | - | 121 | case 12: addContext(); break; | |
| 0 | - | 121 | break | |
| 0 | - | 122 | case 13: close(); break; | |
| 0 | - | 122 | break | |
| 0 | - | 123 | case 14: thumbnailReady((*reinterpret_cast< const QPixmap(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; | |
| 0 | - | 123 | break | |
| 1 | 124 | case 15: initTestCase(); break; | ||
| 1 | 124 | break | ||
| 1 | 125 | case 16: cleanupTestCase(); break; | ||
| 1 | 125 | break | ||
| 4 | 126 | case 17: init(); break; | ||
| 4 | 126 | break | ||
| 4 | 127 | case 18: cleanup(); break; | ||
| 4 | 127 | break | ||
| 1 | 128 | case 19: testactivateView(); break; | ||
| 1 | 128 | break | ||
| 1 | 129 | case 20: testdeactivateView(); break; | ||
| 1 | 129 | break | ||
| 1 | 130 | case 21: testbackSlot(); break; | ||
| 1 | 130 | break | ||
| 0 | - | 131 | default: ; | |
| 132 | } | |||
| 133 | _id -= 22; | |||
| 134 | } | |||
| 13 | 135 | return _id; | ||
| 136 | } | |||
| 137 | ||||
| 138 | // SIGNAL 0 | |||
| Top | ||||
| 1 | 1 | 139 | void TestMpDetailsView::back() | |
| 140 | { | |||
| 141 | QMetaObject::activate(this, &staticMetaObject, 0, 0); | |||
| 142 | } | |||
| 143 | ||||
| 144 | // SIGNAL 1 | |||
| Top | ||||
| 0 | 0 | - | 145 | void TestMpDetailsView::albumArtChanged() |
| 146 | { | |||
| 147 | QMetaObject::activate(this, &staticMetaObject, 1, 0); | |||
| 148 | } | |||
| 149 | ||||
| 150 | // SIGNAL 2 | |||
| Top | ||||
| 0 | 0 | - | 151 | void TestMpDetailsView::share() |
| 152 | { | |||
| 153 | QMetaObject::activate(this, &staticMetaObject, 2, 0); | |||
| 154 | } | |||
| 155 | ||||
| 156 | // SIGNAL 3 | |||
| Top | ||||
| 0 | 0 | - | 157 | void TestMpDetailsView::webViewLoaded(bool _t1) |
| 158 | { | |||
| 159 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | |||
| 160 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | |||
| 161 | } | |||
| 162 | ||||
| 163 | // SIGNAL 4 | |||
| Top | ||||
| 0 | 0 | - | 164 | void TestMpDetailsView::playbackInfoChanged() |
| 165 | { | |||
| 166 | QMetaObject::activate(this, &staticMetaObject, 4, 0); | |||
| 167 | } | |||
| 168 | ||||
| 169 | // SIGNAL 5 | |||
| Top | ||||
| 0 | 0 | - | 170 | void TestMpDetailsView::songDetailInfoChanged() |
| 171 | { | |||
| 172 | QMetaObject::activate(this, &staticMetaObject, 5, 0); | |||
| 173 | } | |||
| 174 | ||||
| 175 | // SIGNAL 6 | |||
| Top | ||||
| 0 | 0 | - | 176 | void TestMpDetailsView::toggleDetailsGroupBox(bool _t1) |
| 177 | { | |||
| 178 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | |||
| 179 | QMetaObject::activate(this, &staticMetaObject, 6, _a); | |||
| 180 | } | |||
| 181 | ||||
| 182 | // SIGNAL 7 | |||
| Top | ||||
| 0 | 0 | - | 183 | void TestMpDetailsView::toggleInspireMeGroupBox(bool _t1) |
| 184 | { | |||
| 185 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | |||
| 186 | QMetaObject::activate(this, &staticMetaObject, 7, _a); | |||
| 187 | } | |||
| 188 | ||||
| 189 | // SIGNAL 8 | |||
| Top | ||||
| 0 | 0 | - | 190 | void TestMpDetailsView::retrieveInformationFinished(QNetworkReply * _t1) |
| 191 | { | |||
| 192 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | |||
| 193 | QMetaObject::activate(this, &staticMetaObject, 8, _a); | |||
| 194 | } | |||
| 195 | ||||
| 196 | // SIGNAL 9 | |||
| Top | ||||
| 0 | 0 | - | 197 | void TestMpDetailsView::retrieveInformationNetworkError(QNetworkReply::NetworkError _t1) |
| 198 | { | |||
| 199 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | |||
| 200 | QMetaObject::activate(this, &staticMetaObject, 9, _a); | |||
| 201 | } | |||
| 202 | ||||
| 203 | // SIGNAL 10 | |||
| Top | ||||
| 0 | 0 | - | 204 | void TestMpDetailsView::retrieveInformationSslErrors(const QList<QSslError> & _t1) |
| 205 | { | |||
| 206 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | |||
| 207 | QMetaObject::activate(this, &staticMetaObject, 10, _a); | |||
| 208 | } | |||
| 209 | ||||
| 210 | // SIGNAL 11 | |||
| Top | ||||
| 0 | 0 | - | 211 | void TestMpDetailsView::DownloadFinished(QNetworkReply * _t1) |
| 212 | { | |||
| 213 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | |||
| 214 | QMetaObject::activate(this, &staticMetaObject, 11, _a); | |||
| 215 | } | |||
| 216 | ||||
| 217 | // SIGNAL 12 | |||
| Top | ||||
| 0 | 0 | - | 218 | void TestMpDetailsView::addContext() |
| 219 | { | |||
| 220 | QMetaObject::activate(this, &staticMetaObject, 12, 0); | |||
| 221 | } | |||
| 222 | ||||
| 223 | // SIGNAL 13 | |||
| Top | ||||
| 0 | 0 | - | 224 | void TestMpDetailsView::close() |
| 225 | { | |||
| 226 | QMetaObject::activate(this, &staticMetaObject, 13, 0); | |||
| 227 | } | |||
| 228 | ||||
| 229 | // SIGNAL 14 | |||
| Top | ||||
| 0 | 0 | - | 230 | void TestMpDetailsView::thumbnailReady(const QPixmap & _t1, void * _t2, int _t3, int _t4) |
| 231 | { | |||
| 232 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) }; | |||
| 233 | QMetaObject::activate(this, &staticMetaObject, 14, _a); | |||
| 234 | } | |||
| 235 | QT_END_MOC_NAMESPACE | |||
| ***TER 30% (24/81) of SOURCE FILE moc_unittest_mpdetailsview.cpp | ||||